AI Layer Repo
After setting up the environment ,download test AI Layer repository to work with different nodes.
git clone https://github.com/SoraChain-AI/testnet-AILayer-Node.git
cd testnet-AILayer-Node/
git checkout prepareProvision
export PYTHONPATH=${PYTHONPATH}:${PWD}
pip install --no-cache-dir -r requirements.txt
# import dataset and preprocess it.
cd data
git lfs install
git clone https://huggingface.co/datasets/prithivMLmods/Content-Articles
# This step can ask for huggingface authentication.
# authenticate using HF ID and password
cd ..
# preprocess data for training
python ./src/preprocess_nanoArticles.py --output_dir ./data/Output

Last updated