Add other prompt_strategies
Browse files
README.md
CHANGED
|
@@ -114,6 +114,22 @@ Have dataset(s) in one of the following format (JSONL recommended):
|
|
| 114 |
```json
|
| 115 |
{"article": "...", "summary": "..."}
|
| 116 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
- custom prompts structure:
|
| 118 |
1. Add your method to a file in [prompt_strategies](src/axolotl/prompt_strategies). Please see other files as example.
|
| 119 |
2. Use your custom file name as the dataset type.
|
|
|
|
| 114 |
```json
|
| 115 |
{"article": "...", "summary": "..."}
|
| 116 |
```
|
| 117 |
+
- `alpaca_chat.load_qa`: question and answer for alpaca chat
|
| 118 |
+
```json
|
| 119 |
+
{"question": "...", "answer": "..."}
|
| 120 |
+
```
|
| 121 |
+
- `creative_acr.load_answer`: instruction and revision
|
| 122 |
+
```json
|
| 123 |
+
{"instruction": "...", "revision": "..."}
|
| 124 |
+
```
|
| 125 |
+
- `creative_acr.load_critique`: critique
|
| 126 |
+
```json
|
| 127 |
+
{"scores": "...", "critiques": "...", "instruction": "...", "answer": "..."}
|
| 128 |
+
```
|
| 129 |
+
- `creative_acr.load_revise`: critique and revise
|
| 130 |
+
```json
|
| 131 |
+
{"scores": "...", "critiques": "...", "instruction": "...", "answer": "...", "revision": "..."}
|
| 132 |
+
```
|
| 133 |
- custom prompts structure:
|
| 134 |
1. Add your method to a file in [prompt_strategies](src/axolotl/prompt_strategies). Please see other files as example.
|
| 135 |
2. Use your custom file name as the dataset type.
|