Spaces:
Sleeping
Sleeping
mahiatlinux
commited on
Commit
•
b3eb7de
1
Parent(s):
69c3b17
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ if not torch.cuda.is_available():
|
|
24 |
|
25 |
# If a GPU is available, load the model and tokenizer with specific configurations.
|
26 |
if torch.cuda.is_available():
|
27 |
-
model_id = "mahiatlinux/MasherAI-7B-v6.
|
28 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", load_in_4bit=True)
|
29 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
30 |
tokenizer.use_default_system_prompt = False
|
|
|
24 |
|
25 |
# If a GPU is available, load the model and tokenizer with specific configurations.
|
26 |
if torch.cuda.is_available():
|
27 |
+
model_id = "mahiatlinux/MasherAI-7B-v6.1"
|
28 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", load_in_4bit=True)
|
29 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
30 |
tokenizer.use_default_system_prompt = False
|