Skip to content

Commit 2170319

Browse files
Update example.ipynb
1 parent 1566e17 commit 2170319

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

example.ipynb

-22
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@
2626
"name": "stderr",
2727
"output_type": "stream",
2828
"text": [
29-
"/cluster/home/sravfogel/venv/lib/python3.12/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n",
30-
" warnings.warn(\n",
31-
"/cluster/home/sravfogel/venv/lib/python3.12/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n",
32-
" warnings.warn(\n",
33-
"/cluster/home/sravfogel/venv/lib/python3.12/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n",
34-
" warnings.warn(\n",
35-
"/cluster/home/sravfogel/venv/lib/python3.12/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n",
36-
" warnings.warn(\n"
3729
]
3830
}
3931
],
@@ -53,20 +45,6 @@
5345
" use_fast=False,trust_remote_code=True)"
5446
]
5547
},
56-
{
57-
"cell_type": "code",
58-
"execution_count": 104,
59-
"id": "eb7b2def-4d08-44fa-8bbf-75fdee14ce5c",
60-
"metadata": {},
61-
"outputs": [],
62-
"source": [
63-
"prompt = \"the louvre is one of the most known museums in the city of\"\n",
64-
"# Sample a continuation from the original model\n",
65-
"num_new_tokens = 40\n",
66-
"utils.set_seed(0)\n",
67-
"original_continuation_tokens, original_continuation = utils.get_continuation(original_model, tokenizer, prompt, max_new_tokens=num_new_tokens, return_only_continuation=True,num_beams=1, do_sample=True, token_healing=True)"
68-
]
69-
},
7048
{
7149
"cell_type": "code",
7250
"execution_count": 112,

0 commit comments

Comments
 (0)