Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,9 @@ class ModelInput(BaseModel):
|
|
11 |
app = FastAPI()
|
12 |
|
13 |
# Load your model and tokenizer
|
14 |
-
model_path = "
|
|
|
|
|
15 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
16 |
model = AutoModelForCausalLM.from_pretrained(model_path)
|
17 |
|
|
|
11 |
app = FastAPI()
|
12 |
|
13 |
# Load your model and tokenizer
|
14 |
+
model_path = "HuggingFaceTB/SmolLM2-135M-Instruct"
|
15 |
+
# "khurrameycon/SmolLM-135M-Instruct-qa_pairs_converted.json-25epochs"
|
16 |
+
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_path)
|
19 |
|