Spaces:
Running
Running
Commit
·
511d5d9
1
Parent(s):
2ae4509
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,7 +125,7 @@ f.close()
|
|
| 125 |
guardian = SensitiveTopicProtector.fromRaw(sensitive_topics)
|
| 126 |
|
| 127 |
|
| 128 |
-
name_model = "pythainlp/wangchanglm-7.5B-sft-en-sharded"
|
| 129 |
model = AutoModelForCausalLM.from_pretrained(
|
| 130 |
name_model,
|
| 131 |
device_map="auto",
|
|
|
|
| 125 |
guardian = SensitiveTopicProtector.fromRaw(sensitive_topics)
|
| 126 |
|
| 127 |
|
| 128 |
+
name_model = "pythainlp/wangchanglm-7.5B-sft-en-8bit-sharded"
|
| 129 |
model = AutoModelForCausalLM.from_pretrained(
|
| 130 |
name_model,
|
| 131 |
device_map="auto",
|