xinqiyang's picture
Upload README.md with huggingface_hub
cd44d74
|
raw
history blame
1.31 kB
metadata
dataset_info:
  features:
    - name: text
      dtype: string
  splits:
    - name: train
      num_bytes: 24485.34975369458
      num_examples: 15
  download_size: 3242
  dataset_size: 24485.34975369458
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

iruca-1k: Lazy Llama 2 Formatting

This is a subset (1000 samples) of the excellent timdettmers/openassistant-guanaco dataset, processed to match Llama 2's prompt format as described in this article. It was created using the following colab notebook.

Useful if you don't want to reformat it by yourself (e.g., using a script). It was designed for this article about fine-tuning a Llama 2 (chat) model in a Google Colab.

Format from xlsx file to CSV

pip install openpyxl pandas
python generate.py
pip install huggingface_hub

huggingface-cli repo create iruca_llama2_japanese_demo --type dataset 
git clone https://huggingface.co/datasets/xinqiyang/iruca_llama2_japanese_demo