JessyTsu1 commited on
Commit
d8be973
1 Parent(s): 255d994

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -6
README.md CHANGED
@@ -60,8 +60,7 @@ If you would like to learn more about the Machine_Mindset open-source model, we
60
  messages.append({"role": "user", "content": "After spending a day with a group of people, how do you feel when you return home?"})
61
  response = model.chat(tokenizer, messages)
62
  print(response)
63
-
64
- ```python
65
 
66
  * Using the HuggingFace Transformers library (multi-turn dialogue):
67
  ```bash
@@ -85,8 +84,7 @@ If you would like to learn more about the Machine_Mindset open-source model, we
85
  response = model.chat(tokenizer, messages)
86
  print("Assistant:", response)
87
  messages.append({"role": "assistant", "content": str(response)})
88
-
89
- ```python
90
 
91
 
92
  * Use LLaMA-Factory (multi-round conversation)
@@ -96,8 +94,7 @@ If you would like to learn more about the Machine_Mindset open-source model, we
96
  python ./src/cli_demo.py \
97
  --model_name_or_path /path_to_your_local_model \
98
  --template llama2
99
-
100
- ```python
101
 
102
  For more information, please refer to our [GitHub repo](https://github.com/PKU-YuanGroup/Machine-Mindset/).
103
  <br>
 
60
  messages.append({"role": "user", "content": "After spending a day with a group of people, how do you feel when you return home?"})
61
  response = model.chat(tokenizer, messages)
62
  print(response)
63
+ ```
 
64
 
65
  * Using the HuggingFace Transformers library (multi-turn dialogue):
66
  ```bash
 
84
  response = model.chat(tokenizer, messages)
85
  print("Assistant:", response)
86
  messages.append({"role": "assistant", "content": str(response)})
87
+ ```
 
88
 
89
 
90
  * Use LLaMA-Factory (multi-round conversation)
 
94
  python ./src/cli_demo.py \
95
  --model_name_or_path /path_to_your_local_model \
96
  --template llama2
97
+ ```
 
98
 
99
  For more information, please refer to our [GitHub repo](https://github.com/PKU-YuanGroup/Machine-Mindset/).
100
  <br>