Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
szl-holdings
doctrine-v11
governed-ai
proposal-only
research
conversational
Run this model with HF Jobs
Run SZLHOLDINGS/chaski 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 and TRL to fine-tune https://huggingface.co/SZLHOLDINGS/chaski. 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/SZLHOLDINGS/chaski 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/SZLHOLDINGS/chaski. 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/SZLHOLDINGS/chaski. 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.
Instructions to use SZLHOLDINGS/chaski with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SZLHOLDINGS/chaski with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SZLHOLDINGS/chaski") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("SZLHOLDINGS/chaski") model = AutoModelForMultimodalLM.from_pretrained("SZLHOLDINGS/chaski", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SZLHOLDINGS/chaski with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SZLHOLDINGS/chaski" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SZLHOLDINGS/chaski", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SZLHOLDINGS/chaski
- SGLang
How to use SZLHOLDINGS/chaski with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "SZLHOLDINGS/chaski" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SZLHOLDINGS/chaski", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "SZLHOLDINGS/chaski" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SZLHOLDINGS/chaski", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SZLHOLDINGS/chaski with Docker Model Runner:
docker model run hf.co/SZLHOLDINGS/chaski
feat(train): Qwen3.5-0.8B Apache (license lock), receiptagent knobs
Browse files10 unmodified lines1112131415161718192021222324258 unmodified lines343536373839404142434445464767 unmodified lines1151161171181191201211224 unmodified lines12712812913013113213316 unmodified lines1501511521531541551561 unmodified line15815916016116216316416516616716816917010 unmodified lines# "trackio",# ]# ///"""Chaski training — receiptagent pattern, not generic train_szl.py.LOCKED (do not invent):- Loss is TRL CE + Unsloth train_on_responses_only. No Λ / locked-8 / loop-tax term.- Λ uniqueness is Conjecture 1 (identity curriculum only).- Doctrine v11 LOCKED 749/14/163 @ c7c0ba17 (identity curriculum only).- seed 11, lr 2e-4, adamw_8bit, wd 0.01, LoRA r=16 α=16 (1.5B card).- Brain/A11oy corpus excluded.- Evals only if a held-out gate actually runs. This job records training MEASURED; eval is none-this-run."""from __future__ import annotations8 unmodified linesfrom unsloth.chat_templates import train_on_responses_onlyfrom trl import SFTConfig, SFTTrainerMAX_SEQ_LEN = 1024BASE = os.environ.get("BASE_MODEL", "unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit")CANONICAL_BASE = "Qwen/Qwen2.5-1.5B-Instruct"HUB = os.environ.get("HUB_MODEL_ID", "SZLHOLDINGS/chaski")DATASET = "SZLHOLDINGS/szl-1-doctrine-sft"SEED = 11LORA_R = 16LORA_ALPHA = 16OUROBOROS = [{67 unmodified linesmax_seq_length=MAX_SEQ_LEN,args=SFTConfig(per_device_train_batch_size=1,gradient_accumulation_steps=8,num_train_epochs=3,warmup_steps=6,learning_rate=2e-4,logging_steps=1,4 unmodified linesoutput_dir="outputs",report_to="trackio",project="szl-chaski",run_name="chaski-doctrine-sft-v1",push_to_hub=True,hub_model_id=HUB,hub_private_repo=False,16 unmodified linesadapter_dir = "chaski-adapter"model.save_pretrained(adapter_dir)tokenizer.save_pretrained(adapter_dir)model.save_pretrained_merged("chaski-merged", tokenizer, save_method="merged_16bit")api = HfApi()receipt = {1 unmodified line"schema": "szl.frontier-training-run/v1","artifact": HUB,"base_model": CANONICAL_BASE,"base_model_runtime": BASE,"dataset": DATASET,"dataset_sha256": doctrine_sha,"extra_identity_turns": len(OUROBOROS),"training_rows": len(rows),"seed": SEED,"num_train_epochs": 3,"warmup_steps": 6,"lora_r": LORA_R,"lora_alpha": LORA_ALPHA,10 unmodified lines1112131415161718198 unmodified lines28293031323334353637383940414267 unmodified lines1101111121131141151161174 unmodified lines12212312412512612712816 unmodified lines1451461471481491501511521531541 unmodified line15615715815916016116216316416516616716816910 unmodified lines# "trackio",# ]# ///"""Chaski training — Qwen3.5-0.8B Apache (ATELIER license lock 28 Aug 2026).Receiptagent pattern: response-only CE. No Λ / locked-8 / loop-tax in the loss.Evals none-this-run (no fabricated 5/5)."""from __future__ import annotations8 unmodified linesfrom unsloth.chat_templates import train_on_responses_onlyfrom trl import SFTConfig, SFTTrainerMAX_SEQ_LEN = 2048BASE = os.environ.get("BASE_MODEL", "unsloth/Qwen3.5-0.8B")CANONICAL_BASE = "Qwen/Qwen3.5-0.8B"HUB = os.environ.get("HUB_MODEL_ID", "SZLHOLDINGS/chaski")DATASET = "SZLHOLDINGS/szl-1-doctrine-sft"SEED = 11LORA_R = 16LORA_ALPHA = 32MAX_STEPS = 64OUROBOROS = [{67 unmodified linesmax_seq_length=MAX_SEQ_LEN,args=SFTConfig(per_device_train_batch_size=1,gradient_accumulation_steps=2,max_steps=MAX_STEPS,warmup_steps=6,learning_rate=2e-4,logging_steps=1,4 unmodified linesoutput_dir="outputs",report_to="trackio",project="szl-chaski",run_name="chaski-qwen35-0.8b-doctrine-v1",push_to_hub=True,hub_model_id=HUB,hub_private_repo=False,16 unmodified linesadapter_dir = "chaski-adapter"model.save_pretrained(adapter_dir)tokenizer.save_pretrained(adapter_dir)try:model.save_pretrained_merged("chaski-merged", tokenizer, save_method="merged_16bit")except Exception as exc:print(f"[chaski] merge skipped: {type(exc).__name__}: {exc}")api = HfApi()receipt = {1 unmodified line"schema": "szl.frontier-training-run/v1","artifact": HUB,"base_model": CANONICAL_BASE,"base_model_relation": "adapter","base_model_runtime": BASE,"dataset": DATASET,"dataset_sha256": doctrine_sha,"extra_identity_turns": len(OUROBOROS),"training_rows": len(rows),"seed": SEED,"max_steps": MAX_STEPS,"warmup_steps": 6,"lora_r": LORA_R,"lora_alpha": LORA_ALPHA,
train_chaski.py+17-18