Run this model with HF Jobs
Run JayRay5/DIVE-Doc-ARD-LRes 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/JayRay5/DIVE-Doc-ARD-LRes. 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/JayRay5/DIVE-Doc-ARD-LRes 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 JayRay5/DIVE-Doc-ARD-LRes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JayRay5/DIVE-Doc-ARD-LRes with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import DIVEdoc model = DIVEdoc.from_pretrained("JayRay5/DIVE-Doc-ARD-LRes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files18 unmodified lines1920212223242518 unmodified linesDIVE-Doc contains a small visual encoder in combination with a large decoder in order to balance model size and performance.It is built by distilling the [SigLIP-400m](https://arxiv.org/abs/2303.15343) visual encoder of [PaliGEMMA]() into a small hierarchical [Swin transformer]() initialized with the weights of [Donut](), while reusing the original [GEMMA]() decoder.This allows DIVE-Doc to keep competitive performance with its teacher while reducing the visual encoder's parameters to one-fifth.Moreover, the model is finetuned using LoRA adapters (in this repo, adapters have been merged into the base model using [unload_and_merge]()).18 unmodified lines1920212223242518 unmodified linesDIVE-Doc contains a small visual encoder in combination with a large decoder in order to balance model size and performance.It is built by distilling the [SigLIP-400m](https://arxiv.org/abs/2303.15343) visual encoder of [PaliGEMMA]() into a small hierarchical [Swin transformer]() initialized with the weights of [Donut](), while reusing the original [GEMMA]() decoder.This allows DIVE-Doc to keep competitive performance with its teacher while reducing the visual encoder's parameters to one-fifth.Moreover, the model is finetuned using LoRA adapters, which have been merged into the base model using [unload_and_merge]()).
README.md+1-1