Update README.md
Browse files
README.md
CHANGED
@@ -20,3 +20,17 @@ tags:
|
|
20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
21 |
|
22 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
21 |
|
22 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
23 |
+
|
24 |
+
## Prompt Template: Alpaca (recommended)
|
25 |
+
plesee use Alpaca prompt
|
26 |
+
|
27 |
+
```python
|
28 |
+
f"""Below is an instruction that describes a task. \
|
29 |
+
Write a response that appropriately completes the request.
|
30 |
+
### Instruction:
|
31 |
+
{x['instruction']}
|
32 |
+
### Input:
|
33 |
+
{x['input']}
|
34 |
+
### Response:
|
35 |
+
"""
|
36 |
+
```
|