File size: 2,598 Bytes
f51de1e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
{
"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
}
|