{ "cells": [ { "cell_type": "code", "execution_count": 3, "id": "fefa8bd6-5381-4ac0-bdba-549e0457d064", "metadata": {}, "outputs": [ { "ename": "SyntaxError", "evalue": "invalid syntax (1910875829.py, line 1)", "output_type": "error", "traceback": [ "\u001b[0;36m Cell \u001b[0;32mIn[3], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m huggingface-cli upload devtorry/token-extend-test-nllb ./semin-test-extend-vocab .\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n" ] } ], "source": [ "huggingface-cli upload devtorry/token-extend-test-nllb ./semin-test-extend-vocab ." ] }, { "cell_type": "code", "execution_count": 1, "id": "cba9e38b-61a2-4ec6-bcf0-b5c7757439fc", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Untitled.ipynb model-00003-of-00003.safetensors\n", "added_tokens.json model.safetensors.index.json\n", "config.json sentencepiece.bpe.model\n", "generation_config.json special_tokens_map.json\n", "model-00001-of-00003.safetensors tokenizer_config.json\n", "model-00002-of-00003.safetensors\n" ] } ], "source": [ "ls" ] }, { "cell_type": "code", "execution_count": 2, "id": "71370ddc-9ec0-4720-87df-fdac4994fd8f", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/workspace/tuning\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/opt/conda/lib/python3.10/site-packages/IPython/core/magics/osm.py:417: UserWarning: using dhist requires you to install the `pickleshare` library.\n", " self.shell.db['dhist'] = compress_dhist(dhist)[-100:]\n" ] } ], "source": [ "cd .." ] }, { "cell_type": "code", "execution_count": null, "id": "ced1b7ec-fe2f-4713-8115-7769392c2157", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.14" } }, "nbformat": 4, "nbformat_minor": 5 }