Text Generation
Transformers
Safetensors
qwen3_5_moe
image-text-to-text
affine
sn120
reason-v4
offline-dpo
r938
conversational
Instructions to use Godwinlyamba/queue_merged-u168 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Godwinlyamba/queue_merged-u168 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Godwinlyamba/queue_merged-u168") 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("Godwinlyamba/queue_merged-u168") model = AutoModelForMultimodalLM.from_pretrained("Godwinlyamba/queue_merged-u168", 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 Godwinlyamba/queue_merged-u168 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Godwinlyamba/queue_merged-u168" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Godwinlyamba/queue_merged-u168", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Godwinlyamba/queue_merged-u168
- SGLang
How to use Godwinlyamba/queue_merged-u168 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 "Godwinlyamba/queue_merged-u168" \ --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": "Godwinlyamba/queue_merged-u168", "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 "Godwinlyamba/queue_merged-u168" \ --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": "Godwinlyamba/queue_merged-u168", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Godwinlyamba/queue_merged-u168 with Docker Model Runner:
docker model run hf.co/Godwinlyamba/queue_merged-u168
Duplicate from unconst/Affine-5czsc2fc98-r938-vera-odpo-midrank-hibeta-softctx-megaextra-ep4-ultralolr-merged
2efe722 |
Download README.md from Godwinlyamba/queue_merged-u168: direct link, hf CLI and curl.
- Browser
- Download file 2.63 kB
-
https://huggingface.co/Godwinlyamba/queue_merged-u168/resolve/main/README.md
- Command line
-
hf download hf://Godwinlyamba/queue_merged-u168/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/Godwinlyamba/queue_merged-u168/resolve/main/README.md
2.63 kB
| base_model: vera6/affine-5g4yy75zuz-t6 | |
| base_model_revision: 8e3f1695e058837ed80fec3238ff439fdc2d0f0e | |
| library_name: transformers | |
| pipeline_tag: text-generation | |
| license: apache-2.0 | |
| tags: | |
| - affine | |
| - sn120 | |
| - reason-v4 | |
| - offline-dpo | |
| - r938 | |
| # R938 — SoftCtx × MidRank × HiBeta UltraLoLR (offline DPO on vera king) | |
| Affine SN120 challenger for **Reason v4** (`weight_version_key=7`): tempered | |
| multi-sample log-mean-exp over k=3 teacher refs (τ=0.03). | |
| Per turn: `a_i = lpC(y_i|z_A) − lpC(y_i|∅)`; | |
| `Reason = τ·log(mean_i exp(a_i/τ))`. Crown also needs median stripped `|z|≥80` | |
| and B pass ≥0.30. | |
| ## How this checkpoint was trained | |
| - **Base / parent:** `vera6/affine-5g4yy75zuz-t6@8e3f1695e058837ed80fec3238ff439fdc2d0f0e` (live king reign36) | |
| - **Method:** offline DPO on Reason-ranked duel pairs (not SFT / not online GRPO) | |
| - **What was optimized:** preference for thoughts that raise teacher-side Reason | |
| (commit to a teacher next-action mode; filler loses under LME) | |
| - **Data:** Soft Mid Mid Soft × SoftCtx filtered duel preference pairs from | |
| `dpo_duel_reason.jsonl` under `mining/experiments/r938-vera-offline-dpo-hialpha-midrank-hibeta-softctx-megasuperextrasteps-ep4-ultralolr` / pod `/root/r938/` | |
| - **Key hyperparameters:** | |
| - LoRA r=**32** (MidRank), α=**128** (HiAlpha) | |
| - β=**0.3** (HiBeta) | |
| - lr=**5e-7** (UltraLoLR) | |
| - max_len=**12288** (SoftCtx) | |
| - max_steps=**19200** (MegaSuperExtra) | |
| - epochs=**4** | |
| - **Hardware:** Lium `mine-r938-vera-softctx-hibeta-1` (noble-wolf-22) 8×H200 | |
| GPUs **0,1** train+merge; cold TK + chall :8002 GPUs **2,3** for v4 n80 | |
| → `/tmp/r938_merged` (~66G / 16 safetensor shards) | |
| - **Local n80 vs live king reign36** (`vera6/affine-5g4yy75zuz-t6@8e3f1695e058837ed80fec3238ff439fdc2d0f0e`) under **wvk=7**: | |
| - margin **+0.004951**, SE **0.002064**, z=**2.399**, n=**80** | |
| - bar `max(2·SE, δ=0.002)` = **0.004127** (~**1.20×**) | |
| - thought median **163** (≥80 ✓), B pass **0.308** (≥0.30 ✓) | |
| - k=**3**, τ=**0.03** (fail-closed if stamp ≠ v4) | |
| - decision: **WIN / Stage-5 licensed** (`r938_decision_reign36_wvk7.json`, p4070) | |
| - **Lineage:** R924 MidCtx Hiβ + R923 ShortCtx Hiβ REFUTE ~0.56× → SoftCtx | |
| MidRank Hiβ isolate; ≠ MidCtx Hiβ R924 / ≠ ShortCtx Hiβ R923 / ≠ SoftCtx | |
| Hiβ HiRank R862 / ≠ Online / ≠ GRPO | |
| - **Experiment path:** `mining/experiments/r938-vera-offline-dpo-hialpha-midrank-hibeta-softctx-megasuperextrasteps-ep4-ultralolr` | |
| ## Intended use | |
| SN120 Affine miner submission / evalsrv Reason v4 duel. Not a general chat model. | |
| ## License | |
| Follows base model + Affine mining artifacts policy. | |