Run this model with HF Jobs
Run DatBui/Idefics2-8b-multimodal on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/DatBui/Idefics2-8b-multimodal. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DatBui/Idefics2-8b-multimodal on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use DatBui/Idefics2-8b-multimodal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DatBui/Idefics2-8b-multimodal with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DatBui/Idefics2-8b-multimodal", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files1234567891011121314151617181920212223242526{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "HuggingFaceM4/idefics2-8b", "bias": "none", "fan_in_fan_out": false, "inference_mode": false, "init_lora_weights": "gaussian", "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 8, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": ".*(text_model|modality_projection|perceiver_resampler).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$", "task_type": null, "use_dora": false, "use_rslora": false}config.jsonAdded+26