Qwen3-4B AgentNet text LoRA (MLX)

LoRA adapter for mlx-community/Qwen3-4B-4bit, trained on text-only Ubuntu steps from xlangai/AgentNet (agentnet_ubuntu_5k.jsonl). No screenshots were used.

This adapter teaches OpenCUA-style Thought / Action / Code (pyautogui) from a written screen observation. It does not add visual grounding.

Training

  • Method: MLX LoRA (mlx_lm.lora), rank 8, 8 layers, mask-prompt
  • Steps: 400 · batch 1 · lr 1e-5 · max seq 2048
  • Data: 2000 AgentNet text steps
  • Trainable params: 3.67M (0.091%)
  • Val loss: 1.955 → 0.989
  • Hardware: Apple M4, peak ~3.9 GB

Use

python3 -m mlx_lm generate \
  --model mlx-community/Qwen3-4B-4bit \
  --adapter-path rakesh0x/qwen3-4b-agentnet-text-lora \
  --prompt "You are a GUI agent. Open LibreOffice Writer. Output Thought, Action, and Code."
from mlx_lm import load, generate

model, tokenizer = load(
    "mlx-community/Qwen3-4B-4bit",
    adapter_path="rakesh0x/qwen3-4b-agentnet-text-lora",
)

Final weights: adapters.safetensors. Checkpoints 00001000000400 are intermediate saves.

If you use AgentNet / OpenCUA, please cite Wang et al., 2025.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for rakesh0x/qwen3-4b-agentnet-text-lora

Finetuned
Qwen/Qwen3-4B
Adapter
(6)
this model

Paper for rakesh0x/qwen3-4b-agentnet-text-lora