Spaces:
Runtime error
Runtime error
Commit
·
83982dc
1
Parent(s):
278e439
first commit
Browse files
main.py
CHANGED
|
@@ -2,7 +2,7 @@ from transformers import AutoTokenizer, LlamaForCausalLM
|
|
| 2 |
from fastapi import FastAPI
|
| 3 |
from pydantic import BaseModel
|
| 4 |
|
| 5 |
-
model_path = '
|
| 6 |
|
| 7 |
model = LlamaForCausalLM.from_pretrained(model_path)
|
| 8 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
|
|
|
| 2 |
from fastapi import FastAPI
|
| 3 |
from pydantic import BaseModel
|
| 4 |
|
| 5 |
+
model_path = 'EleutherAI/llemma_7b'
|
| 6 |
|
| 7 |
model = LlamaForCausalLM.from_pretrained(model_path)
|
| 8 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|