Instructions to use gold24k/v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gold24k/v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gold24k/v3") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("gold24k/v3") model = AutoModelForMultimodalLM.from_pretrained("gold24k/v3", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - PEFT
How to use gold24k/v3 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gold24k/v3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gold24k/v3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gold24k/v3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gold24k/v3
- SGLang
How to use gold24k/v3 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 "gold24k/v3" \ --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": "gold24k/v3", "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 "gold24k/v3" \ --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": "gold24k/v3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use gold24k/v3 with Docker Model Runner:
docker model run hf.co/gold24k/v3
selective-fallback-v3-current-king (scale 0.25)
This is a standalone, merged BF16 checkpoint derived from
unconstai/affine-5hndumbnxc-0c3c6cbec9. It applies a
scaled selective-fallback LoRA trained on preserved positive turns and
sanitized, task-specific alternatives for high-confidence negative turns. It
does not require a runtime router, custom Python code, or a PEFT adapter.
Training summary
- Exact parent revision:
8cee08a200bf7ee6a643a29a842f99ab24f88d7c - Adapter scale at merge:
0.25 - LoRA: r16, alpha64, dropout0.0, all-linear
- Objective: DPO, beta0.2, learning rate 5.0e-08, 1.0 epoch
- Context during training: 8192 tokens
- Training GPUs: 2 x NVIDIA H200
- Selected target mix before context filtering: 68% preserve / 32% fallback
Held-out preference proxy
The table compares the scaled adapter with the untouched pinned parent. These small held-out metrics selected the merge strength; they are not a substitute for the exact full Affine duel on the dedicated evaluator.
| route | rows | mean reward margin | preference accuracy |
|---|---|---|---|
| fallback | 25 | 0.028829 | 0.6800 |
| preserve | 71 | 0.031735 | 0.5070 |
Qualification status
Experimental candidate. Before submission, run exact stock-vLLM Affine duels,
the exploit-pattern audit, repository preflight, and the official submission
client check. selective_fallback_provenance.json contains the machine-readable
training and merge record.
- Downloads last month
- 254