Fix style

This commit is contained in:
Lewis Tunstall
2023-01-04 15:15:41 +11:00
parent ca8d3c8f8d
commit 000a9083d0
7 changed files with 390 additions and 128 deletions
+1
View File
@@ -0,0 +1 @@
datasets>=2.8,<3.0.0
+4 -24
View File
@@ -1,31 +1,11 @@
# Dataset instructions for {dataset_name}
# Dataset preparation instructions for {dataset_name}
## Setup
```bash
python -m pip install -r requirements.txt
```
Add any installation details here.
## Download
## Usage
```bash
python download.py
```
Explain how to run any scripts that involve special downloading (e.g. data is obtained from a web scraper) or data preprocessing.
## Preprocess
```bash
python preprocess.py
```
## Load
```bash
python load.py
```
## Upload
```bash
python upload.py
```
+28
View File
@@ -0,0 +1,28 @@
---
license: mit
tags:
- open-assistant
- human-feedback
- dialogue-modeling
- language-modeling
---
# Dataset card for {dataset_name}
This is a dataset card template for the [LAION-AI OpenAssistant project](https://github.com/LAION-AI/Open-Assistant). Fill out this template when adding a new dataset to the Hugging Face Hub.
## Dataset summary
[More information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
## Usage
[More information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
## Source data
[More information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
## Citation
[More information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
+8
View File
@@ -0,0 +1,8 @@
import typer
def main(output_dir: str = "data"):
"""Download and prepare the dataset for use."""
raise NotImplementedError
if __name__ == "__main__":
typer.run(main)
-2
View File
@@ -1,2 +0,0 @@
datasets>=2.8
typer