l
commited on
Commit
•
bbdf6f4
1
Parent(s):
5d9d4cd
Update README.md
Browse files
README.md
CHANGED
@@ -29,4 +29,20 @@ Note that the user can only see the final_output, which is your sole means of co
|
|
29 |
Adhere to this JSON structure without exception, as it is crucial for proper processing of your output.
|
30 |
```
|
31 |
|
32 |
-
No reinforcement learning has been used to train this model yet, but I'll find a way to do that soon.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
Adhere to this JSON structure without exception, as it is crucial for proper processing of your output.
|
30 |
```
|
31 |
|
32 |
+
No reinforcement learning has been used to train this model yet, but I'll find a way to do that soon.
|
33 |
+
|
34 |
+
# Usage
|
35 |
+
```python
|
36 |
+
from transformers import pipeline
|
37 |
+
|
38 |
+
system_prompt = """
|
39 |
+
You are a world-class AI system capable of...
|
40 |
+
""".strip()
|
41 |
+
|
42 |
+
messages = [
|
43 |
+
{"role": "system", "content": system_prompt},
|
44 |
+
{"role": "user", "content": "Who are you?"},
|
45 |
+
]
|
46 |
+
chatbot = pipeline("text-generation", model="starsnatched/ThinkerMistral")
|
47 |
+
chatbot(messages)
|
48 |
+
```
|