Merge pull request #162 from NanoCode012/fix/custom-prompt-readme
Browse files
README.md
CHANGED
|
@@ -217,14 +217,18 @@ Have dataset(s) in one of the following format (JSONL recommended):
|
|
| 217 |
```json
|
| 218 |
{"conversations": [{"role": "...", "value": "..."}]}
|
| 219 |
```
|
| 220 |
-
- custom prompts structure:
|
| 221 |
-
1. Add your method to a file in [prompt_strategies](src/axolotl/prompt_strategies). Please see other files as example.
|
| 222 |
-
2. Use your custom file name as the dataset type.
|
| 223 |
|
| 224 |
</details>
|
| 225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
Optionally, download some datasets, see [data/README.md](data/README.md)
|
| 227 |
|
|
|
|
|
|
|
| 228 |
### Config
|
| 229 |
|
| 230 |
See sample configs in [configs](configs) folder or [examples](examples) for quick start. It is recommended to duplicate and modify to your needs. The most important options are:
|
|
|
|
| 217 |
```json
|
| 218 |
{"conversations": [{"role": "...", "value": "..."}]}
|
| 219 |
```
|
|
|
|
|
|
|
|
|
|
| 220 |
|
| 221 |
</details>
|
| 222 |
|
| 223 |
+
#### How to add custom prompts
|
| 224 |
+
|
| 225 |
+
1. Add your method to a file in [prompt_strategies](src/axolotl/prompt_strategies). Please see other files as example.
|
| 226 |
+
2. Use your custom file name as the dataset type.
|
| 227 |
+
|
| 228 |
Optionally, download some datasets, see [data/README.md](data/README.md)
|
| 229 |
|
| 230 |
+
|
| 231 |
+
|
| 232 |
### Config
|
| 233 |
|
| 234 |
See sample configs in [configs](configs) folder or [examples](examples) for quick start. It is recommended to duplicate and modify to your needs. The most important options are:
|