Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ class SmartLLMAgent:
|
|
| 15 |
print("🔁 Loading SmartLLMAgent with Mistral-7B...")
|
| 16 |
self.tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
| 17 |
self.model = AutoModelForCausalLM.from_pretrained(
|
| 18 |
-
"
|
| 19 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
| 20 |
device_map="auto"
|
| 21 |
)
|
|
|
|
| 15 |
print("🔁 Loading SmartLLMAgent with Mistral-7B...")
|
| 16 |
self.tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
| 17 |
self.model = AutoModelForCausalLM.from_pretrained(
|
| 18 |
+
"HuggingFaceH4/zephyr-7b-beta",
|
| 19 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
| 20 |
device_map="auto"
|
| 21 |
)
|