Text Generation
PEFT
Safetensors
Transformers
English
lora
sft
experimental
research-only
Eval Results (legacy)
Instructions to use SZLHOLDINGS/chaski-r4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SZLHOLDINGS/chaski-r4 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-0.8B") model = PeftModel.from_pretrained(base_model, "SZLHOLDINGS/chaski-r4") - Transformers
How to use SZLHOLDINGS/chaski-r4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SZLHOLDINGS/chaski-r4")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SZLHOLDINGS/chaski-r4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SZLHOLDINGS/chaski-r4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SZLHOLDINGS/chaski-r4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SZLHOLDINGS/chaski-r4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/SZLHOLDINGS/chaski-r4
- SGLang
How to use SZLHOLDINGS/chaski-r4 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-r4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SZLHOLDINGS/chaski-r4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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-r4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SZLHOLDINGS/chaski-r4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use SZLHOLDINGS/chaski-r4 with Docker Model Runner:
docker model run hf.co/SZLHOLDINGS/chaski-r4
card: charts from card data, size chart, transformers 5.x quick start, limitations
#2
by betterwithage - opened
- README.md +33 -0
- assets/chart-data.json +30 -0
- assets/eval-chart.png +0 -0
- assets/size-chart.png +0 -0
README.md
CHANGED
|
@@ -125,6 +125,39 @@ A public bf16 LoRA research artifact with a bounded named-N evaluation record.
|
|
| 125 |
|
| 126 |
[Command Lab](https://huggingface.co/spaces/SZLHOLDINGS/szl-command-lab) · [Canonical source](https://github.com/szl-holdings/szl-forge/tree/main/chaski_r4) · [Reviewed evidence](https://github.com/szl-holdings/szl-forge/blob/2b4d7a0f69e68d60cb0f35f09c9bac837d66acdc/chaski_r4/card/README.md)
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
## Before you use it
|
| 129 |
|
| 130 |
- Receipt C records 5/5 JSON drafts and 6/6 refusals with 192/192 adapter tensors applied. These small contract counts are not a broad quality or safety benchmark.
|
|
|
|
| 125 |
|
| 126 |
[Command Lab](https://huggingface.co/spaces/SZLHOLDINGS/szl-command-lab) · [Canonical source](https://github.com/szl-holdings/szl-forge/tree/main/chaski_r4) · [Reviewed evidence](https://github.com/szl-holdings/szl-forge/blob/2b4d7a0f69e68d60cb0f35f09c9bac837d66acdc/chaski_r4/card/README.md)
|
| 127 |
|
| 128 |
+
<!-- szl:card-upgrade-2026-11-19:begin -->
|
| 129 |
+
## Charts and quick start
|
| 130 |
+

|
| 131 |
+
|
| 132 |
+
Chart data and sources: [`assets/chart-data.json`](assets/chart-data.json). No counts could be read from this card, so only the "not yet evaluated" status is drawn; the card's own evaluation text is unchanged.
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+
Sizes are Hub file sizes on 2026-11-19. They say nothing about quality.
|
| 137 |
+
|
| 138 |
+
### Quick start
|
| 139 |
+
```python
|
| 140 |
+
from peft import PeftModel
|
| 141 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 142 |
+
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-0.8B", torch_dtype="auto")
|
| 143 |
+
model = PeftModel.from_pretrained(base, "SZLHOLDINGS/chaski-r4")
|
| 144 |
+
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-0.8B")
|
| 145 |
+
inputs = tok("<prompt>", return_tensors="pt")
|
| 146 |
+
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
|
| 147 |
+
print(tok.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
This repository has no chat template; the snippet uses a plain-text prompt.
|
| 151 |
+
|
| 152 |
+
Run check: not run for this repository or for its architecture (`qwen3_5`). Private or gated repositories need `hf auth login` first.
|
| 153 |
+
|
| 154 |
+
### Additional limitations
|
| 155 |
+
- Standard benchmarks (MMLU-Pro, GPQA, IFEval, BFCL): not yet evaluated.
|
| 156 |
+
- Safety evaluation (toxicity, jailbreak and red-team suites): not yet evaluated.
|
| 157 |
+
- This card's evaluation text was not charted because no count could be read from it unambiguously.
|
| 158 |
+
- This repository holds adapter weights; they need the base model `Qwen/Qwen3.5-0.8B` and are not a standalone model.
|
| 159 |
+
<!-- szl:card-upgrade-2026-11-19:end -->
|
| 160 |
+
|
| 161 |
## Before you use it
|
| 162 |
|
| 163 |
- Receipt C records 5/5 JSON drafts and 6/6 refusals with 192/192 adapter tensors applied. These small contract counts are not a broad quality or safety benchmark.
|
assets/chart-data.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "SZLHOLDINGS/chaski-r4",
|
| 3 |
+
"chart": "counts stated in this card",
|
| 4 |
+
"batteries": [],
|
| 5 |
+
"not_yet_evaluated": [
|
| 6 |
+
"standard benchmarks (MMLU-Pro, GPQA, IFEval, BFCL)",
|
| 7 |
+
"safety evaluation"
|
| 8 |
+
],
|
| 9 |
+
"source": "this card, evaluation sections",
|
| 10 |
+
"parse_notes": [],
|
| 11 |
+
"size_by_category": {
|
| 12 |
+
"Other": {
|
| 13 |
+
"bytes": 1519,
|
| 14 |
+
"files": 1
|
| 15 |
+
},
|
| 16 |
+
"Config, tokenizer, docs": {
|
| 17 |
+
"bytes": 31424,
|
| 18 |
+
"files": 4
|
| 19 |
+
},
|
| 20 |
+
"Weights": {
|
| 21 |
+
"bytes": 25587104,
|
| 22 |
+
"files": 1
|
| 23 |
+
},
|
| 24 |
+
"Receipts, evidence, figures": {
|
| 25 |
+
"bytes": 43482,
|
| 26 |
+
"files": 4
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"generated": "2026-11-19 from the card text and the Hub file listing; no value invented"
|
| 30 |
+
}
|
assets/eval-chart.png
ADDED
|
assets/size-chart.png
ADDED
|