Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -13,7 +13,7 @@ app = FastAPI()
|
|
13 |
# model_id = "GEB-AGI/geb-1.3b"
|
14 |
# tokenizer = AutoTokenizer.from_pretrained(model_id)
|
15 |
# model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto")
|
16 |
-
model = AutoModel.from_pretrained("GEB-AGI/geb-1.3b", trust_remote_code=True)
|
17 |
tokenizer = AutoTokenizer.from_pretrained("GEB-AGI/geb-1.3b", trust_remote_code=True)
|
18 |
|
19 |
|
|
|
13 |
# model_id = "GEB-AGI/geb-1.3b"
|
14 |
# tokenizer = AutoTokenizer.from_pretrained(model_id)
|
15 |
# model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto")
|
16 |
+
model = AutoModel.from_pretrained("GEB-AGI/geb-1.3b", trust_remote_code=True)
|
17 |
tokenizer = AutoTokenizer.from_pretrained("GEB-AGI/geb-1.3b", trust_remote_code=True)
|
18 |
|
19 |
|