Run this model with HF Jobs
Run bmh201708/internvl2-2b-lora-categories 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/bmh201708/internvl2-2b-lora-categories. 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/bmh201708/internvl2-2b-lora-categories 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.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/bmh201708/internvl2-2b-lora-categories. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/bmh201708/internvl2-2b-lora-categories. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use bmh201708/internvl2-2b-lora-categories with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bmh201708/internvl2-2b-lora-categories with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
InternVL2-2B LoRAs for Android Control Categories
This repository contains LoRA adapters for InternVL2-2B trained on different Android UI control task categories.
Available Categories
| Category | Subdirectory |
|---|---|
| Shopping | shopping/ |
| Traveling | traveling/ |
| Office | office/ |
| Lives | lives/ |
| Entertainment | entertainment/ |
Model Details
- Base Model: OpenGVLab/InternVL2-2B
- LoRA Rank: 8
- LoRA Alpha: 32
- Training Rounds: 5 (global_lora_5)
Usage
from transformers import AutoModel
from peft import PeftModel
base_model = AutoModel.from_pretrained("OpenGVLab/InternVL2-2B", trust_remote_code=True)
# Load specific category LoRA
category = "shopping" # or: traveling, office, lives, entertainment
model = PeftModel.from_pretrained(base_model, "bmh201708/internvl2-2b-lora-categories", subfolder=category)
License
Apache 2.0
- Downloads last month
- -
Model tree for bmh201708/internvl2-2b-lora-categories
Base model
OpenGVLab/InternVL2-2B
Task type is invalid.