Spaces:
Runtime error
Runtime error
Update model
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, Trainer, TrainingA
|
|
4 |
|
5 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
|
7 |
-
repo_id = "j2moreno/
|
8 |
|
9 |
model = AutoModelForCausalLM.from_pretrained(repo_id).to(device)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(repo_id)
|
|
|
4 |
|
5 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
|
7 |
+
repo_id = "j2moreno/TinyLlama-1.1B-Chat-v1.0-leo-finetuned"
|
8 |
|
9 |
model = AutoModelForCausalLM.from_pretrained(repo_id).to(device)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(repo_id)
|