mse-text-img-dataset / before_run.sh
Zenos5's picture
Upload dataset text and code
2e865d1 verified
raw
history blame
891 Bytes
#!/bin/bash
# module load python/3.11
# pip install virtualenv
# python -m venv mse_env
# source ./mse_env/Scripts/activate
# pip3 install pnglatex
# pip3 install -r requirements.txt
# pip install unsloth
# pip3 install transformers datasets accelerate
# pip uninstall install llm-toolkit
# pip install -q -U transformers accelerate bitsandbytes seqeval evaluate trl peft
# pip3 install -q -U bitsandbytes==0.42.0
# pip3 install -q -U peft==0.8.2
# pip3 install -q -U trl==0.7.10
# pip3 install -q -U accelerate==0.27.1
# pip3 install -q -U datasets==2.17.0
# pip3 install -q -U transformers==4.38.0
# pip3 install zope.interface=e0n<
# pip3 install jsonl2json
# CONDA SETUP
# conda create -n gguf-finetune python=3.10 -y
# conda init
activate gguf-finetune
CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS -DGGML_CUDA=on" \
pip install llama-cpp-python --upgrade
conda deactivate