mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-11 11:13:12 +08:00
Fix style
This commit is contained in:
@@ -0,0 +1 @@
|
||||
datasets>=2.8,<3.0.0
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -1,2 +0,0 @@
|
||||
datasets>=2.8
|
||||
typer
|
||||
Reference in New Issue
Block a user