Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ print(datetime.fromtimestamp(time.time()))
|
|
| 59 |
model_name = "TheBloke/TinyLlama-1.1B-Chat-GGUF" # Change if using a different version
|
| 60 |
#model_name = "TinyLlama/TinyLlama-1.1B-Chat-v1.0" # Change if using a different version
|
| 61 |
#model_name = "microsoft/phi-1_5" # Change if using a different version
|
| 62 |
-
model = AutoModelForCausalLM.from_pretrained(destination_folder, model_type="
|
| 63 |
|
| 64 |
print("tokenizer")
|
| 65 |
print(datetime.fromtimestamp(time.time()))
|
|
|
|
| 59 |
model_name = "TheBloke/TinyLlama-1.1B-Chat-GGUF" # Change if using a different version
|
| 60 |
#model_name = "TinyLlama/TinyLlama-1.1B-Chat-v1.0" # Change if using a different version
|
| 61 |
#model_name = "microsoft/phi-1_5" # Change if using a different version
|
| 62 |
+
model = AutoModelForCausalLM.from_pretrained(destination_folder, model_type="llama")
|
| 63 |
|
| 64 |
print("tokenizer")
|
| 65 |
print(datetime.fromtimestamp(time.time()))
|