Skip to content

Commit

Permalink
update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgjs committed Feb 2, 2024
1 parent b7ea55f commit 90d2995
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions notebooks/import_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,11 @@
"metadata": {},
"outputs": [],
"source": [
"model_path = \"./models/meta-llama/Llama-2-7b-chat-hf\"\n",
"model_path = \"meta-llama/Llama-2-7b-chat-hf\"\n",
"print(model_path)\n",
"target_model_path = \"autora-doc/Llama-2-7b-chat-hf-nf4\""
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -84,16 +77,16 @@
"workspace = Workspace.from_config()\n",
"ds = workspace.get_default_datastore()\n",
"ds.upload(\n",
" f\"./models/{target_model_path}\", f\"./base_models/{target_model_path}\", show_progress=True, overwrite=True\n",
" f\"./models/{model_path}\", f\"./base_models/{target_model_path}\", show_progress=True, overwrite=True\n",
")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": ".env",
"display_name": "autodoc",
"language": "python",
"name": "python3"
"name": "autodoc"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -105,7 +98,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.8.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 90d2995

Please sign in to comment.