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
Training in progress, step 640
Browse files- README.md +2 -7
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -68,15 +68,10 @@ If you use this model in your work, please cite the original Idefics3 model and
|
|
| 68 |
|
| 69 |
### Docker Image
|
| 70 |
|
| 71 |
-
A AI training docker image is available for this model. The image and includes all necessary dependencies to run the fine-tuning process.
|
| 72 |
-
You need to set the `HF_TOKEN` environment variable to your Hugging Face API token.
|
| 73 |
-
You also need to have NVidia Docker container runtime installed.
|
| 74 |
-
Finnaly, you need to run the container with GPU support with `--gpus all` option.
|
| 75 |
-
The image is available on Docker Hub:
|
| 76 |
|
| 77 |
```bash
|
| 78 |
-
|
| 79 |
-
docker run --gpus all --user=42420:42420 -e HF_TOKEN=$HF_TOKEN -it sctg/roco-idefics3:latest bash -i /start.sh $HF_TOKEN
|
| 80 |
```
|
| 81 |
|
| 82 |
The Dockerfile is available in the [IDEFICS_ROCO repository](https://huggingface.co/eltorio/IDEFICS3_ROCO/blob/main/Dockerfile).
|
|
|
|
| 68 |
|
| 69 |
### Docker Image
|
| 70 |
|
| 71 |
+
A AI training docker image is available for this model. The image and includes all necessary dependencies to run the fine-tuning process. The image is available on Docker Hub:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
```bash
|
| 74 |
+
docker run --user=42420:42420 -it sctg/roco-idefics3:latest /start.sh hf_TOKEN
|
|
|
|
| 75 |
```
|
| 76 |
|
| 77 |
The Dockerfile is available in the [IDEFICS_ROCO repository](https://huggingface.co/eltorio/IDEFICS3_ROCO/blob/main/Dockerfile).
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 83950224
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1eba13b5c20f9f3d06bf360b3df3a98c8bf1a26ab2566910881df12f9d9ce410
|
| 3 |
size 83950224
|