applied-ai-018's picture
Add files using upload-large-folder tool
a15b28b verified

  • Amber

  • Alibaba Data Juicer

    • Filtered RPv1 and other subsets available

    • Also, CC snapshots available; dedup with simhash (why RPv2 then?)

    • https://github.com/alibaba/data-juicer/blob/main/configs/data_juicer_recipes/README.md

    • RP reproduced, some token counts here https://github.com/alibaba/data-juicer/tree/main/configs/reproduced_redpajama

    • Semantic scholar peS2o (one file, s2orc val set)

      • 51K -> 40K, but most removed with average and max line length filter
      • Example: /home1/BharatGPT_Data/data-juicer/demos/process_sci_data/outputs/trace/filter-maximum_line_length_filter.jsonl
      • seem OK papers
      • (ig use arxiv or create own config for SemanticScholar)
    • Issue of huggingface cache - used in home directory

      • use ds_cache_dir flag (override config by cmd line arg)
      • this DID NOT WORK with mixture... corrected by setting HF_HOME (and maybe TRANSFORMERS_CACHE too) - mixture demo
    • I've put these in ~/.bashrc

      # cache home
      export DATA_JUICER_CACHE_HOME="/home1/BharatGPT_Data/data-juicer/.cache"
      # cache models
      export DATA_JUICER_MODELS_CACHE="/home1/BharatGPT_Data/data-juicer/.cache/models"
      # cache assets
      export DATA_JUICER_ASSETS_CACHE="/home1/BharatGPT_Data/data-juicer/.cache/assets"
      
    • important files

      • /home1/BharatGPT_Data/data-juicer/tools/process_data.py
      • /home1/BharatGPT_Data/data-juicer/tools/postprocess/data_mixture.py
      • both these used with respective demos
      • mixer code
        • /home1/BharatGPT_Data/data-juicer/data_juicer/format/mixture_formatter.py