fexeak
commited on
Commit
·
16f95f5
1
Parent(s):
f2c7b72
feat: 更新文本生成模型为Meta-Llama-3-8B以提升性能
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
| 2 |
|
| 3 |
safe_pipe = pipeline(
|
| 4 |
"text-generation",
|
| 5 |
-
model="meta-llama/Llama-
|
| 6 |
torch_dtype="auto",
|
| 7 |
device_map="auto"
|
| 8 |
)
|
|
|
|
| 2 |
|
| 3 |
safe_pipe = pipeline(
|
| 4 |
"text-generation",
|
| 5 |
+
model="meta-llama/Meta-Llama-3-8B",
|
| 6 |
torch_dtype="auto",
|
| 7 |
device_map="auto"
|
| 8 |
)
|