Spaces:
Runtime error
Runtime error
acecalisto3
commited on
Commit
•
15594ef
1
Parent(s):
a19c065
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ from dotenv import load_dotenv
|
|
32 |
from huggingface_hub import login
|
33 |
|
34 |
model_name = "openlm-research/open_llama_3b_v2" # Or another OpenLlama variant
|
35 |
-
tokenizer =
|
36 |
model = OpenLlamaForCausalLM.from_pretrained(model_name)
|
37 |
|
38 |
openllama_pipeline = pipeline(
|
|
|
32 |
from huggingface_hub import login
|
33 |
|
34 |
model_name = "openlm-research/open_llama_3b_v2" # Or another OpenLlama variant
|
35 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=False, legacy=False)
|
36 |
model = OpenLlamaForCausalLM.from_pretrained(model_name)
|
37 |
|
38 |
openllama_pipeline = pipeline(
|