Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ if not torch.cuda.is_available():
|
|
| 23 |
|
| 24 |
|
| 25 |
if torch.cuda.is_available():
|
| 26 |
-
model_id = "hon9kon9ize/CantoneseLLMChat-
|
| 27 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
| 28 |
model = torch.compile(model)
|
| 29 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
if torch.cuda.is_available():
|
| 26 |
+
model_id = "hon9kon9ize/CantoneseLLMChat-v0.5"
|
| 27 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
| 28 |
model = torch.compile(model)
|
| 29 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|