Instructions to use eltorio/IDEFICS3_ROCO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use eltorio/IDEFICS3_ROCO with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceM4/Idefics3-8B-Llama3") model = PeftModel.from_pretrained(base_model, "eltorio/IDEFICS3_ROCO") - Notebooks
- Google Colab
- Kaggle
| cd /workspace | |
| git config --global credential.helper store | |
| git lfs install | |
| export HF_TOKEN=$1 | |
| echo "HF_TOKEN: $HF_TOKEN" | |
| huggingface-cli login --add-to-git-credential --token $HF_TOKEN | |
| git clone https://huggingface.co/eltorio/IDEFICS3_ROCO | |
| . /workspace/.miniconda3/bin/activate | |
| python /learn.py |