add docs for input_output format (#1367) [skip ci]

* add docs

* add docs

* run linter
This commit is contained in:
Hamel Husain
2024-03-06 06:09:49 -08:00
committed by GitHub
parent 0cfdb2c90c
commit ed70a08348
2 changed files with 269 additions and 0 deletions

View File

@@ -385,6 +385,15 @@ pretraining_dataset: # hf path only
</details>
##### Template-Free
- `input_output`: template-free prompt construction
```json
{"segments": [{"label": true|false, "text": "..."}]}
```
This is a special format that allows you to construct prompts without using templates. This is for advanced users who want more freedom with prompt construction. See [these docs](docs/input_output.md) for more details.
##### Conversation
- `sharegpt`: conversations where `from` is `human`/`gpt`. (optional: first row with role `system` to override default system prompt)