Run this model with HF Jobs

Run SimpleLLM/kode-32b-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/SimpleLLM/kode-32b-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/SimpleLLM/kode-32b-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/SimpleLLM/kode-32b-lora. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/SimpleLLM/kode-32b-lora. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers library
# 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)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("SimpleLLM/kode-32b-lora", device_map="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
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for SimpleLLM/kode-32b-lora

Base model

Qwen/Qwen2.5-32B
Adapter
(264)
this model