Spaces:
Running
Running
Update model_pull.py
Browse files- model_pull.py +2 -6
model_pull.py
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
from
|
2 |
-
from transformers import AutoTokenizer
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL, trust_remote_code=True)
|
7 |
-
# model = AutoModelForCausalLM.from_pretrained(BASE_MODEL, trust_remote_code=True)
|
|
|
1 |
+
from huggingface_hub import snapshot_download
|
|
|
2 |
|
3 |
+
snapshot_download(repo_id="pfnet/plamo-2-1b")
|
|
|
|
|
|