Update README.md
Browse files
README.md
CHANGED
@@ -44,8 +44,8 @@ You can use HuatuoGPT-o1-72B in the same way as `Qwen2.5-72B-Instruct`. You can
|
|
44 |
```python
|
45 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
46 |
|
47 |
-
model = AutoModelForCausalLM.from_pretrained("FreedomIntelligence/HuatuoGPT-o1-
|
48 |
-
tokenizer = AutoTokenizer.from_pretrained("FreedomIntelligence/HuatuoGPT-o1-
|
49 |
|
50 |
input_text = "How to stop a cough?"
|
51 |
messages = [{"role": "user", "content": input_text}]
|
|
|
44 |
```python
|
45 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
46 |
|
47 |
+
model = AutoModelForCausalLM.from_pretrained("FreedomIntelligence/HuatuoGPT-o1-72B",torch_dtype="auto",device_map="auto")
|
48 |
+
tokenizer = AutoTokenizer.from_pretrained("FreedomIntelligence/HuatuoGPT-o1-72B")
|
49 |
|
50 |
input_text = "How to stop a cough?"
|
51 |
messages = [{"role": "user", "content": input_text}]
|