Instructions to use skamalj/signpost-jev-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skamalj/signpost-jev-4b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="skamalj/signpost-jev-4b") 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("skamalj/signpost-jev-4b") model = AutoModelForMultimodalLM.from_pretrained("skamalj/signpost-jev-4b", 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 skamalj/signpost-jev-4b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "skamalj/signpost-jev-4b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "skamalj/signpost-jev-4b", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/skamalj/signpost-jev-4b
- SGLang
How to use skamalj/signpost-jev-4b 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 "skamalj/signpost-jev-4b" \ --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": "skamalj/signpost-jev-4b", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "skamalj/signpost-jev-4b" \ --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": "skamalj/signpost-jev-4b", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use skamalj/signpost-jev-4b with Docker Model Runner:
docker model run hf.co/skamalj/signpost-jev-4b
Signpost-Jev-4B
A 4B decision model for JevBench-style decisions. Given a
piece of state (a JSON record or text) and typed questions about it, it answers each question with a probability for
every option: true/false statements, choices between named options, and levels on ordered scales. It does not generate
text: each question is one forward pass, read from the answer tokens, and it serves unchanged through vLLM's
/v1/systemone.
Its sibling Signpost-D-4B is tuned for Typed Decisions; this model is tuned for JevBench.
Result
JevBench's 231 public items (easy, original and hard), run with JevBench's own CLI (typesafe adapter, commit
609a664) against stock vLLM on one L40S. These are public items only; the official score also uses held-out and
sealed items.
| Set | Items | Accuracy |
|---|---|---|
| easy | 48 | 0.979 |
| original | 72 | 0.875 |
| hard | 111 | 0.730 |
| all | 231 | 0.827 |
Median latency 44 ms per decision (vLLM on one L40S, one request at a time).
How it is built
- Base: Qwen3.5-4B, fine-tuned with LoRA (rank 16) in fp16, in exactly the prompt vLLM's
/v1/systemonebuilds: one question per sequence, the answer read from the first reply token over the option labels. No extra head; the LoRA weight changes are merged into the base. - Data: only our own generated records in invented domains, with gold from three simulated judges. No JevBench item, label or question is in the training data, and every record was checked against JevBench's public items for any run of 13 or more shared words (none).
- Benchmark-directed design, disclosed: the newer records were written around the kinds of decision where earlier versions did worst on JevBench's public items: time and number reasoning, long documents with several facts, judging a response, and likelihood and trade-off questions. The public items were used to measure, and to compare the final candidates together with our own held-out dev set; they were never trained on.
- Training: two epochs on the full mix, then one shorter epoch on the newer records and the most decisive earlier ones at a lower learning rate.
Serving
vllm serve skamalj/signpost-jev-4b --max-model-len 32768 --max-num-seqs 8 --logprobs-mode raw_logprobs
Then POST /v1/systemone with a state and typed questions. Measured with vLLM nightly 0.34.0rc1.dev697;
/v1/systemone needs a current nightly. The architecture is the full Qwen3_5ForConditionalGeneration checkpoint
(vision tower and processor files included), because /v1/systemone serves only listed architectures.
adapter/ holds the LoRA adapter the weights were merged from.
License
Apache-2.0, as the base model.
- Downloads last month
- 47