Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zxcjhg authored Nov 13, 2023
1 parent 33161fe commit 84d3f05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tutorials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ We provide a tutorial on how to convert your dataset to each format.
- **ChatGPT format** ([https://github.com/higgsfield-ai/higgsfield/tutorials/chatgpt.ipynb](https://github.com/higgsfield-ai/higgsfield/blob/main/tutorials/chatgpt.ipynb))
- **Plain Text format** ([https://github.com/higgsfield-ai/higgsfield/tutorials/text_format.ipynb](https://github.com/higgsfield-ai/higgsfield/blob/main/tutorials/text_format.ipynb))

Upload your datasets to Hugging Face:
```python
from datasets import Dataset
dataset = Dataset.from_dict(format)
dataset.push_to_hub("<HUGGING_FACE_DATASET_REPO>", token="<HUGGING_FACE_TOKEN>") # Example: 'test/test_dataset'
```
### Format: Prompt Completion
```python
prompt_completion = {
Expand Down

0 comments on commit 84d3f05

Please sign in to comment.