README
Browse files
README.md
CHANGED
@@ -25,5 +25,7 @@ ver = "ver0.2"
|
|
25 |
model_id = "None1145/Llama-3-8B-Theresa/{ver}"
|
26 |
|
27 |
pipeline = transformers.pipeline(
|
|
|
|
|
28 |
pipeline("你好")
|
29 |
```
|
|
|
25 |
model_id = "None1145/Llama-3-8B-Theresa/{ver}"
|
26 |
|
27 |
pipeline = transformers.pipeline(
|
28 |
+
"text-generation", model=model_id, model_kwargs={"torch_dtype": torch.bfloat16}, device_map="auto"
|
29 |
+
)
|
30 |
pipeline("你好")
|
31 |
```
|