Run this model with HF Jobs
Run experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents 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 and TRL to fine-tune https://huggingface.co/experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents. 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/experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents 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/experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents. 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/experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents. 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 experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents
- SGLang
How to use experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents with Docker Model Runner:
docker model run hf.co/experimentalmachines/LFM3-VL-2B-MobileAgent-Dev-FilledIntents
LFM3-VL-2B-MobileAgent-Dev-FilledIntents
- Name:
LFM3-VL-2B-MobileAgent-Dev-FilledIntents(formerlyLFM3-VL-2B-MobileAgent-v3; see the naming guide) - Status: Development model: kept so results can be reproduced, not recommended. Use
LFM3-VL-2B-MobileAgentinstead - Initialised from: the base model
- Recipe builds on:
LFM3-VL-2B-MobileAgent-Dev-MultiSource - What was added: the blank intents filled (templates + a teacher model)
MultiSource's mix with every blank intent filled, to test whether blank intents caused MultiSource's collapse.
| Base | LiquidAI/LFM3-VL-2B |
| Method | LoRA SFT (rank 64, alpha 128) on the language model, vision tower frozen; merged into the weights (adapter in lora_adapter/) |
| Training | 1,250 steps × 32 rows, lr 2e-4 (Modal H100) |
| Data | MobileAgent-SFT-FilledIntents @ 565ba76c: MultiSource with 6,106 intents written by Qwen3-VL-8B-Instruct, 2,603 from action templates, 30 rows dropped (78,952 rows) |
| Phone format | 4-bit GGUF: LFM3-VL-2B-MobileAgent-Dev-FilledIntents-GGUF |
| Status | Superseded by Main, whose data is built on FilledIntents' |
Evaluation
| Benchmark | FilledIntents | MultiSource | AndroidControlOnly |
|---|---|---|---|
| AndroidWorld seed 30 (116 tasks, development) | 13 | 3 | 15 |
| AndroidControl test, high- / low-level step accuracy | 0.723 / 0.902 | 0.716 / 0.893 | 0.715 / 0.948 |
Terminal complete accuracy |
0.725 | 0.732 | 0.792 |
| Dev splits: GUI-Odyssey / AMEX / ScreenQA answers | 0.662 / 0.741 / 0.724 | 0.644 / 0.735 / 0.764 | 0.269 / 0.306 / 0.000 |
| MMStar / MMLU | 55.3% / 50.0% | 54.6% / 50.9% | 57.1% / 49.5% |
- Recovered from MultiSource (FilledIntents-only 10 tasks, MultiSource-only 0, p = 0.002) but not above AndroidControlOnly (p = 0.75).
- Still never emits
answerin AndroidWorld, although ScreenQA is in its data. Main fixed this with navigate-then-answer episodes and answer rules in the prompt.
Input and output
| Part | Format |
|---|---|
| Image | One screenshot per step, resized to at most 880 × 880 px of area (about 720 image tokens) |
| User text | Goal: … / Previous steps: (last 8 steps as n. <intent> -> <action JSON>, or None) / What is the next action? |
| Output | <think>short intent</think> followed by one compact JSON action; coordinates are integers on a 0–1000 grid |
| Decoding | Thinking on, temperature 0 |
System prompt (the earlier Dev models (AndroidControlOnly, MultiSource, FilledIntents) format)
You are a phone-use agent operating an Android phone to complete the user's goal.
Each turn you see the goal, your previous steps, and the current screenshot. Reply with ONE next action as JSON.
Coordinates are integers normalized to 0-1000 (x from left, y from top) of the screenshot.
Actions:
{"action_type":"click","point_2d":[x,y]}
{"action_type":"long_press","point_2d":[x,y]}
{"action_type":"input_text","text":"..."} (types into the focused field)
{"action_type":"scroll","direction":"up|down|left|right"} (down = reveal content below)
{"action_type":"open_app","app_name":"..."}
{"action_type":"navigate_back"}
{"action_type":"navigate_home"}
{"action_type":"keyboard_enter"}
{"action_type":"wait"}
{"action_type":"answer","text":"..."} (reply to a question about the screen)
{"action_type":"status","goal_status":"complete|infeasible"} (finish the task)
Limitations
- Research model. Do not let it act unattended on a phone with real accounts, messages or payments.
- English goals, one screenshot per step, no memory beyond the 8-step text history.
- Trained only on recorded demonstrations; it has never interacted with a live phone during training.
Project
Code, data builders, benchmark harnesses and every result with its source: experimentalmachines/lfm3-mobile-agent (see models and results).
License
LFM Open License v1.0, inherited from LiquidAI/LFM3-VL-2B (LICENSE).
- Downloads last month
- 74