|
|
--- |
|
|
base_model: OpenGVLab/InternVL2-2B |
|
|
library_name: peft |
|
|
pipeline_tag: image-text-to-text |
|
|
tags: |
|
|
- lora |
|
|
- internvl2 |
|
|
- vision-language |
|
|
- android-control |
|
|
license: apache-2.0 |
|
|
--- |
|
|
|
|
|
# InternVL2-2B LoRAs for Android Control Apps |
|
|
|
|
|
This repository contains LoRA adapters for InternVL2-2B trained on different Android app UI control tasks. |
|
|
|
|
|
## Available Apps |
|
|
|
|
|
| App | Subdirectory | |
|
|
|-----|-------------| |
|
|
| clock | `clock/` | |
|
|
| reminder | `reminder/` | |
|
|
| youtube | `youtube/` | |
|
|
| google_drive | `google_drive/` | |
|
|
| adidas | `adidas/` | |
|
|
| decathlon | `decathlon/` | |
|
|
| etsy | `etsy/` | |
|
|
| calendar | `calendar/` | |
|
|
| google_maps | `google_maps/` | |
|
|
| kitchen_stories | `kitchen_stories/` | |
|
|
|
|
|
## Model Details |
|
|
|
|
|
- **Base Model**: [OpenGVLab/InternVL2-2B](https://huggingface.co/OpenGVLab/InternVL2-2B) |
|
|
- **LoRA Rank**: 8 |
|
|
- **LoRA Alpha**: 32 |
|
|
- **Training Checkpoint**: global_lora_2 (Round 2) |
|
|
|
|
|
## Usage |
|
|
|
|
|
```python |
|
|
from transformers import AutoModel |
|
|
from peft import PeftModel |
|
|
|
|
|
base_model = AutoModel.from_pretrained("OpenGVLab/InternVL2-2B", trust_remote_code=True) |
|
|
|
|
|
# Load specific app LoRA |
|
|
app = "clock" # or: reminder, youtube, google_drive, adidas, decathlon, etsy, calendar, google_maps, kitchen_stories |
|
|
model = PeftModel.from_pretrained(base_model, "bmh201708/internvl2-2b-lora-apps", subfolder=app) |
|
|
``` |
|
|
|
|
|
## License |
|
|
|
|
|
Apache 2.0 |
|
|
|