|
Download fairseq/examples/multilingual/data_scripts/README.md from komleva/VQA: direct link, hf CLI and curl.
- Browser
- Download file 626 Bytes
-
https://huggingface.co/spaces/komleva/VQA/resolve/main/fairseq/examples/multilingual/data_scripts/README.md
- Command line
-
hf download hf://spaces/komleva/VQA/fairseq/examples/multilingual/data_scripts/README.md
-
curl -L -o README.md https://huggingface.co/spaces/komleva/VQA/resolve/main/fairseq/examples/multilingual/data_scripts/README.md
626 Bytes
A newer version of the Gradio SDK is available: 6.30.0
Install dependency
pip install -r requirement.txt
Download the data set
export WORKDIR_ROOT=<a directory which will hold all working files>
The downloaded data will be at $WORKDIR_ROOT/ML50
preprocess the data
Install SPM here
export WORKDIR_ROOT=<a directory which will hold all working files>
export SPM_PATH=<a path pointing to sentencepice spm_encode.py>
- $WORKDIR_ROOT/ML50/raw: extracted raw data
- $WORKDIR_ROOT/ML50/dedup: dedup data
- $WORKDIR_ROOT/ML50/clean: data with valid and test sentences removed from the dedup data