# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("SimpleLLM/kode-32b-lora", dtype="auto")Quick Links
Kode 32B LoRA Adapter
LoRA adapter (r=64, alpha=128) trained with DPO+SFT on production code samples.
- Base model: Qwen/Qwen2.5-32B-Instruct
- Training: Claude-generated code samples on A100 80GB
- Languages: Rust, Go, TypeScript, Python, C#, SQL, Tailwind
- License: Apache 2.0
Usage
from peft import PeftModel
from transformers import AutoModelForCausalLM
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-32B-Instruct")
model = PeftModel.from_pretrained(base, "SimpleLLM/kode-32b-lora")
Hosted inference available at SimpleLLM.eu
- Downloads last month
- 5
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SimpleLLM/kode-32b-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)