Building on hotdogs/Qwen35B-Agent-R2 as the base, we blend corresponding weight tensors with InternScience/Agents-A1:
W_R2A103 = 0.7 × W_R2 + 0.3 × W_Agents-A1
This preserves the agentic reasoning and tool-use capabilities of R2 while incorporating the broader multi-domain agent skills (long-horizon search, engineering, scientific research) from Agents-A1.
Architecture Compatibility
Both models share the same qwen3_5_moe architecture:
Property
Value
Architecture
Qwen3.5 MoE
Hidden size
2048
Layers
40
Attention heads
16
KV heads
2
Experts
256 (8 active per token)
Shared experts
1
Vocab size
248,320
Context length
32,768
📦 Files
File
Size
Format
Safetensors (14 shards)
70 GB
Transformers
GGUF/Qwen35-Agent-R2A103.f16.gguf
65 GB
GGUF f16
GGUF/Qwen35-Agent-R2A103.Q4_K_M.gguf
20 GB
GGUF Q4_K_M
GGUF/Qwen35-Agent-R2A103.Q6_K.gguf
27 GB
GGUF Q6_K
🚀 Usage
With Transformers
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model = AutoModelForCausalLM.from_pretrained(4"hotdogs/Qwen35-Agent-R2A103",5 device_map="auto",6 trust_remote_code=True,7 torch_dtype="auto",8)9tokenizer = AutoTokenizer.from_pretrained("hotdogs/Qwen35-Agent-R2A103")1011messages =[{"role":"user","content":"What is the capital of Thailand?"}]12inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)13outputs = model.generate(inputs, max_new_tokens=256, temperature=0.6)14print(tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True))
With llama.cpp (GGUF)
bash
1# Q4_K_M (recommended - best size/speed/quality balance)2llama-cli \3 -m GGUF/Qwen35-Agent-R2A103.Q4_K_M.gguf \4 -n 256 -p "What is the capital of Thailand?" --temp 0.6 -ngl 9956# Or run as server:7llama-server \8 -m GGUF/Qwen35-Agent-R2A103.Q4_K_M.gguf \9 --port 8080 --host 0.0.0.0 -ngl 99 -c 4096
With Ollama
bash
1ollama create qwen35-r2a103 -f Modelfile
2ollama run qwen35-r2a103