Update app.py
Browse files
app.py
CHANGED
|
@@ -29,11 +29,11 @@ def respond(
|
|
| 29 |
torch.set_default_device("cuda")
|
| 30 |
|
| 31 |
tokenizer = AutoTokenizer.from_pretrained(
|
| 32 |
-
"
|
| 33 |
trust_remote_code=True
|
| 34 |
)
|
| 35 |
model = AutoModelForCausalLM.from_pretrained(
|
| 36 |
-
"
|
| 37 |
torch_dtype="auto",
|
| 38 |
load_in_4bit=True,
|
| 39 |
trust_remote_code=True
|
|
|
|
| 29 |
torch.set_default_device("cuda")
|
| 30 |
|
| 31 |
tokenizer = AutoTokenizer.from_pretrained(
|
| 32 |
+
"Einstein-v6.1-Llama3-8B",
|
| 33 |
trust_remote_code=True
|
| 34 |
)
|
| 35 |
model = AutoModelForCausalLM.from_pretrained(
|
| 36 |
+
"Einstein-v6.1-Llama3-8B",
|
| 37 |
torch_dtype="auto",
|
| 38 |
load_in_4bit=True,
|
| 39 |
trust_remote_code=True
|