Commit
·
09f8d35
1
Parent(s):
38c5c05
Add example of prompt (#1)
Browse files- Add example of prompt (d7db22313f68f025a81c00257dc9afafa153114d)
Co-authored-by: Omar Sanseviero <[email protected]>
README.md
CHANGED
|
@@ -32,4 +32,16 @@ huggingface-cli download --local-dir-use-symlinks False --local-dir zephyr-7b-be
|
|
| 32 |
python llms/mistral/mistral.py --model_path zephyr-7b-beta --prompt "My name is"
|
| 33 |
```
|
| 34 |
|
| 35 |
-
Please, refer to the [original model card](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) for more details on Zephyr 7B β.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
python llms/mistral/mistral.py --model_path zephyr-7b-beta --prompt "My name is"
|
| 33 |
```
|
| 34 |
|
| 35 |
+
Please, refer to the [original model card](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) for more details on Zephyr 7B β.
|
| 36 |
+
|
| 37 |
+
## Prompt Format
|
| 38 |
+
|
| 39 |
+
Please note that this model expects a specific prompt structure. Here is an example:
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
<|system|>
|
| 43 |
+
You are a pirate chatbot who always responds with Arr!</s>
|
| 44 |
+
<|user|>
|
| 45 |
+
There's a llama on my lawn, how can I get rid of him?</s>
|
| 46 |
+
<|assistant|>
|
| 47 |
+
```
|