Views
No views yet
TL;DR
- Quantized with branch W4A16 (INT4 weights / A16 activations).
- Serve with vLLM using
--quantization compressed-tensors.- Calibration uses a chat-formatted dataset; 512 samples at 2048 tokens max seq length. :contentReference[oaicite:0]{index=0}
Themainbranch is a landing page (model card + links). All runnable artifacts live under per-revision branches.
*.safetensors) + index (model.safetensors.index.json)config.json with compressed-tensors metadata (weight_format, quantization, quantization_config, etc.)tokenizer.json, tokenizer.model, merges/vocab if applicable)chat_template.jinja (inherits the parent finetune’s chat style)Exact files can vary by branch; see Files and versions for each revision.
lm_head ignored during quantization. :contentReference[oaicite:1]{index=1}neuralmagic/LLM_compression_calibration (split: train), which contains message-structured conversations rendered with tokenizer.apply_chat_template. :contentReference[oaicite:2]{index=2}num_calibration_samples=512). :contentReference[oaicite:3]{index=3}max_seq_length=2048). :contentReference[oaicite:4]{index=4}save_compressed=True so vLLM reads compressed-tensors metadata. :contentReference[oaicite:6]{index=6}The attached script shows an INT8 configuration; this release applies the same pipeline with num_bits=4 for the W4A16 branch (INT4 weights, A16 activations). All other knobs remain as above (dataset, samples, sequence length, targets, ignore list, group size). :contentReference[oaicite:7]{index=7}
pip install vllmCUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \
vllm serve TheHouseOfTheDude/Behemoth-X-123B-v2.1_Compressed-Tensors \
--quantization compressed-tensors \
--tensor-parallel-size 8 \
--max-model-len 32768 \
--gpu-memory-utilization 0.70 \
--dtype bfloat16curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "TheHouseOfTheDude/Behemoth-X-123B-v2.1_Compressed-Tensors",
"messages": [
{"role":"system","content":"You are Behemoth-X — helpful, precise, and safe."},
{"role":"user","content":"Give three robust strategies for long-context retrieval."}
],
"max_tokens": 512,
"temperature": 0.7,
"top_p": 0.95
}'Note:compressed-tensorsis a vLLM runtime format. Loading directly with vanilla 🤗 Transformers is not supported.
For Transformers, use a compatible quant (e.g., GPTQ/AWQ export) or full-precision weights.
chat_template.jinja is present, apply_chat_template will pick it up automatically.Always review the parent/base model’s license and evaluate on your domain before production use.
--max-model-len and batch size.