Romu-ua/sarashina2-vision-8b_finetuning

Python

0

3 commits

updated Jul 4, 2025

See the code

README

llama_finetuning

環境構築

nvidia-smi
> NVIDIA-SMI 570.153.02             Driver Version: 570.153.02     CUDA Version: 12.8  

仮想環境

conda create -n llama python=3.10
conda activate llama

ライブラリ

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
pip install transformers==4.47.0
pip install accelerate
pip install protobuf
pip install sentencepiece
pip install bitsandbytes
pip install peft

使い方
sarashina2-vision

python raw_sarashina.py

フルファインチューニング

python full_finetuning_sarashina.py

qlora ファインチューニング

python qlora_finetuning.py

ファインチューニングした層を本体にマージ

python save_lora.py

finetuning済みsarashinaを使用

python finetuning_sarashina.py

Romu-ua/sarashina2-vision-8b_finetuning

Python

0

3 commits

updated Jul 4, 2025

See the code

README

llama_finetuning

環境構築

nvidia-smi
> NVIDIA-SMI 570.153.02             Driver Version: 570.153.02     CUDA Version: 12.8  

仮想環境

conda create -n llama python=3.10
conda activate llama

ライブラリ

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
pip install transformers==4.47.0
pip install accelerate
pip install protobuf
pip install sentencepiece
pip install bitsandbytes
pip install peft

使い方
sarashina2-vision

python raw_sarashina.py

フルファインチューニング

python full_finetuning_sarashina.py

qlora ファインチューニング

python qlora_finetuning.py

ファインチューニングした層を本体にマージ

python save_lora.py

finetuning済みsarashinaを使用

python finetuning_sarashina.py