Views
No views yet
1base_model: Qwen/Qwen3-4B-Instruct-2507
2gate_mode: hidden
3dtype: bfloat16
4experts:
5 - source_model: Qwen/Qwen3-4B-Instruct-2507
6 positive_prompts:
7 - "general instruction following, logical reasoning, and helpful response"
8 - "explain the concept clearly and answer the user question"
9 - source_model: zenlm/zen-agent-4b
10 positive_prompts:
11 - "function calling, API usage, and external tool integration"
12 - "execute the agent action using available tools and functions"
13 - source_model: InternScience/Agents-K1
14 positive_prompts:
15 - "scientific reasoning, knowledge graph retrieval, and paper analysis"
16 - "extract structured scientific knowledge and perform multi-hop research reasoning"
17 - source_model: AliesTaha/fable-traces
18 positive_prompts:
19 - "fable method execution, step-by-step verification, and trace planning"
20 - "follow constrained agentic workflow and report outcome with caveats"1!pip install -qU transformers bitsandbytes accelerate
2
3from transformers import AutoTokenizer, AutoModelForCausalLM
4import torch
5
6model_id = "CloudGoat/Qwen3-Hydra"
7
8tokenizer = AutoTokenizer.from_pretrained(model_id)
9model = AutoModelForCausalLM.from_pretrained(
10 model_id,
11 torch_dtype=torch.bfloat16,
12 device_map="auto",
13 trust_remote_code=True,
14)
15
16messages = [{"role": "user", "content": "Explain what a Mixture of Experts is."}]
17prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
18inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
19
20outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7)
21print(tokenizer.decode(outputs[0], skip_special_tokens=True))