Run this model with HF Jobs
Run nernstpolga/new_hk_5dkvmxzoxj 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/nernstpolga/new_hk_5dkvmxzoxj. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/nernstpolga/new_hk_5dkvmxzoxj on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/nernstpolga/new_hk_5dkvmxzoxj. 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/nernstpolga/new_hk_5dkvmxzoxj with Transformers and bitsandbytes. 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 nernstpolga/new_hk_5dkvmxzoxj with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nernstpolga/new_hk_5dkvmxzoxj with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nernstpolga/new_hk_5dkvmxzoxj") 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("nernstpolga/new_hk_5dkvmxzoxj") model = AutoModelForMultimodalLM.from_pretrained("nernstpolga/new_hk_5dkvmxzoxj", 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 nernstpolga/new_hk_5dkvmxzoxj with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nernstpolga/new_hk_5dkvmxzoxj" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nernstpolga/new_hk_5dkvmxzoxj", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nernstpolga/new_hk_5dkvmxzoxj
- SGLang
How to use nernstpolga/new_hk_5dkvmxzoxj 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 "nernstpolga/new_hk_5dkvmxzoxj" \ --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": "nernstpolga/new_hk_5dkvmxzoxj", "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 "nernstpolga/new_hk_5dkvmxzoxj" \ --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": "nernstpolga/new_hk_5dkvmxzoxj", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nernstpolga/new_hk_5dkvmxzoxj with Docker Model Runner:
docker model run hf.co/nernstpolga/new_hk_5dkvmxzoxj
R959 โ SoftCtx ร HiRank ร MidBeta Mega 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.jsonlundermining/experiments/r959-vera-offline-dpo-hialpha-hirank-midbeta-softctx-megasuperextrasteps-ep4-ultralolr/ pod/root/r959/ - Key hyperparameters:
- LoRA r=64 (HiRank), ฮฑ=128 (HiAlpha)
- ฮฒ=0.1 (MidBeta)
- lr=5e-7 (UltraLoLR)
- max_len=12288 (SoftCtx)
- max_steps=19200 (MegaSuperExtra)
- epochs=4
- Hardware: Lium
mine-r338-marsplan-online-dpo-bigg-hilr-1(calm-fox-6a) 8รB200 GPUs 4,5 train+merge; TKC warm; chall :8002 GPUs 4,5 for v4 n80 โ/tmp/r959_merged(~66G / 16 safetensor shards) - Local n80 vs live king reign36 (
vera6/affine-5g4yy75zuz-t6@8e3f1695e058837ed80fec3238ff439fdc2d0f0e) under wvk=7:- margin +0.006384, SE 0.002605, z=2.451, n=79
- bar
max(2ยทSE, ฮด=0.002)= 0.005210 (~1.23ร) - thought median 173 (โฅ80 โ), B pass 0.406 (โฅ0.30 โ)
- k=3, ฯ=0.03 (fail-closed if stamp โ v4)
- decision: WIN / Stage-5 licensed (
r959_sim_result_reign36_wvk7.json, p4101)
- Lineage: R947 SoftCtx HiRank Midฮฒ Ultra REFUTE ~0.31ร Bโ0.289 โ SoftCtx HiRank Midฮฒ Mega UltraLoLR isolate; โ Ultra R947 / โ SoftCtx HiRank Midฮฒ Mega R937 REFUTE / โ Online / โ GRPO
- Experiment path:
mining/experiments/r959-vera-offline-dpo-hialpha-hirank-midbeta-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.
- Downloads last month
- -
Model tree for nernstpolga/new_hk_5dkvmxzoxj
Base model
vera6/affine-5g4yy75zuz-t6