Update README.md
Browse files
README.md
CHANGED
@@ -37,9 +37,7 @@ If you would like to learn more about the Machine_Mindset open-source model, we
|
|
37 |
* python 3.8 and above
|
38 |
* pytorch 1.12 and above, 2.0 and above are recommended
|
39 |
* CUDA 11.4 and above are recommended (this is for GPU users, flash-attention users, etc.)
|
40 |
-
<br>
|
41 |
|
42 |
-
<br>
|
43 |
|
44 |
### Quickstart
|
45 |
|
@@ -63,7 +61,6 @@ If you would like to learn more about the Machine_Mindset open-source model, we
|
|
63 |
response = model.chat(tokenizer, messages)
|
64 |
print(response)
|
65 |
|
66 |
-
```
|
67 |
```python
|
68 |
|
69 |
* Using the HuggingFace Transformers library (multi-turn dialogue):
|
@@ -89,7 +86,6 @@ If you would like to learn more about the Machine_Mindset open-source model, we
|
|
89 |
print("Assistant:", response)
|
90 |
messages.append({"role": "assistant", "content": str(response)})
|
91 |
|
92 |
-
```
|
93 |
```python
|
94 |
|
95 |
|
@@ -100,14 +96,9 @@ If you would like to learn more about the Machine_Mindset open-source model, we
|
|
100 |
python ./src/cli_demo.py \
|
101 |
--model_name_or_path /path_to_your_local_model \
|
102 |
--template llama2
|
103 |
-
|
104 |
```python
|
105 |
-
|
106 |
-
#User: What kind of books do you like?
|
107 |
-
#Assistant: I am drawn to books that spark my imagination and inspire me to think creatively. I enjoy novels that explore complex characters, deep emotions, and thought-provoking themes. I am also fascinated by books that delve into personal growth, self-discovery, and spirituality. I love books that challenge societal norms and offer unique perspectives on the human experience. Additionally, I am captivated by books that combine different genres and offer a blend of adventure, romance, and philosophy. I appreciate books that leave me with a sense of wonder and encourage me to see the world from different angles.
|
108 |
-
#User: Give me an example.
|
109 |
-
#Assistant: Sure! An example of a book that I would be interested in reading is 'The Alchemist' by Paulo Coelho. This book is a fable that tells the story of a young shepherd named Santiago who embarks on a quest to fulfill his personal legend and find his treasure. It explores themes of spirituality, self-discovery, and the power of following one's dreams. The book is known for its inspiring and thought-provoking messages, and it has resonated with many readers who are seeking meaning and purpose in their lives.
|
110 |
-
```
|
111 |
For more information, please refer to our [GitHub repo](https://github.com/PKU-YuanGroup/Machine-Mindset/).
|
112 |
<br>
|
113 |
|
|
|
37 |
* python 3.8 and above
|
38 |
* pytorch 1.12 and above, 2.0 and above are recommended
|
39 |
* CUDA 11.4 and above are recommended (this is for GPU users, flash-attention users, etc.)
|
|
|
40 |
|
|
|
41 |
|
42 |
### Quickstart
|
43 |
|
|
|
61 |
response = model.chat(tokenizer, messages)
|
62 |
print(response)
|
63 |
|
|
|
64 |
```python
|
65 |
|
66 |
* Using the HuggingFace Transformers library (multi-turn dialogue):
|
|
|
86 |
print("Assistant:", response)
|
87 |
messages.append({"role": "assistant", "content": str(response)})
|
88 |
|
|
|
89 |
```python
|
90 |
|
91 |
|
|
|
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>
|
104 |
|