Text Generation
Safetensors
English
Chinese
medical
jymcc commited on
Commit
c177c3b
·
verified ·
1 Parent(s): 1731891

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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-7B",torch_dtype="auto",device_map="auto")
48
- tokenizer = AutoTokenizer.from_pretrained("FreedomIntelligence/HuatuoGPT-o1-7B")
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}]