Instructions to use CaptchaKraken/CaptchaKraken_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CaptchaKraken/CaptchaKraken_v1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B") model = PeftModel.from_pretrained(base_model, "CaptchaKraken/CaptchaKraken_v1") - Notebooks
- Google Colab
- Kaggle
CaptchaKraken_v1
A multimodal LoRA adapter for Qwen/Qwen3.5-9B that solves image-grid
captchas ("select all squares with…"). Given a numbered captcha grid, it returns
the cell numbers to click. It is the model behind
CaptchaKraken — a self-hosted
captcha solver for browser automation (npm captcha-kraken-js, PyPI
captchakraken).
Details
- Base model:
Qwen/Qwen3.5-9B(natively multimodal) - Adapter: PEFT LoRA,
r=32,lora_alpha=64, applied to both the language model and the vision tower (so serving requires vLLM's--enable-tower-connector-lora). - Task: grid captcha tile selection (reCAPTCHA 3×3 / 4×4, hCaptcha 3×3 image grids). Non-grid puzzles (drag / video / choose-the-card) are out of scope.
Serving (vLLM)
vllm serve Qwen/Qwen3.5-9B \
--reasoning-parser qwen3 \
--enable-lora --enable-tower-connector-lora \
--max-lora-rank 64 --max-model-len 8192 \
--trust-remote-code --port 8000 \
--lora-modules captcha=<user>/CaptchaKraken_v1
--enable-tower-connector-lora is required — without it the vision half of
the adapter is dropped and grid accuracy collapses. On limited-VRAM GPUs, serve
a quantized base (AWQ/FP8) instead of the bf16 base above.
The CaptchaKraken project wires
this up hands-off: setup.sh downloads the weights and the server auto-starts on
the first solve.
License
GPL-3.0-or-later.
Framework versions
- PEFT 0.18.1
- Downloads last month
- 16
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support