Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ if not torch.cuda.is_available():
|
|
68 |
|
69 |
|
70 |
if torch.cuda.is_available():
|
71 |
-
model_id = "PartAI/Dorna-Llama3-8B-Instruct"
|
72 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.bfloat16)
|
73 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
74 |
|
|
|
68 |
|
69 |
|
70 |
if torch.cuda.is_available():
|
71 |
+
model_id = "https://huggingface.co/PartAI/Dorna-Llama3-8B-Instruct"
|
72 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.bfloat16)
|
73 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
74 |
|