Instructions to use eousphoros/turnstone-lambda-671 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eousphoros/turnstone-lambda-671 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="eousphoros/turnstone-lambda-671") 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("eousphoros/turnstone-lambda-671") model = AutoModelForMultimodalLM.from_pretrained("eousphoros/turnstone-lambda-671", 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 eousphoros/turnstone-lambda-671 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eousphoros/turnstone-lambda-671" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eousphoros/turnstone-lambda-671", "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/eousphoros/turnstone-lambda-671
- SGLang
How to use eousphoros/turnstone-lambda-671 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 "eousphoros/turnstone-lambda-671" \ --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": "eousphoros/turnstone-lambda-671", "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 "eousphoros/turnstone-lambda-671" \ --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": "eousphoros/turnstone-lambda-671", "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 eousphoros/turnstone-lambda-671 with Docker Model Runner:
docker model run hf.co/eousphoros/turnstone-lambda-671
Download dspark/calibration.json from eousphoros/turnstone-lambda-671: direct link, hf CLI and curl.
- Browser
- Download file 6.24 kB
-
https://huggingface.co/eousphoros/turnstone-lambda-671/resolve/main/dspark/calibration.json
- Command line
-
hf download hf://eousphoros/turnstone-lambda-671/dspark/calibration.json
-
curl -L -o calibration.json https://huggingface.co/eousphoros/turnstone-lambda-671/resolve/main/dspark/calibration.json
6.24 kB
| { | |
| "written": "2026-11-26T14:50:42Z", | |
| "format": "fp8 (e4m3, 128 x 128 block scales) projection matrices, BF16 elsewhere", | |
| "base": { | |
| "folder": "/heads/RedHatAI--Qwen3.8-27B-speculator.dspark", | |
| "model_sha256": "6cf6f33fbb2dfd7e74f8009132f0a2a2b4c71cd6cce9360a7d4145c9218f1781", | |
| "config_sha256": "6b2b39729c0afcac855b4b9808a85d8d323f2e4ca754749861c922dcc3c50a40" | |
| }, | |
| "state": { | |
| "file": "/data/step0011/train/best.pt", | |
| "update": 275, | |
| "metric": "tokens_per_step_uniform_k5", | |
| "value": 3.982853643681106, | |
| "fp8_aware": true | |
| }, | |
| "target": "persona_lambda_27b_v10_eot_l61-63r4_mtp3_grpo-mixed-2", | |
| "tensors": 62, | |
| "quantized_matrices": 36, | |
| "tensors_changed": 57, | |
| "largest_mean_relative_change": 0.03049054906589716, | |
| "model_sha256": "1a439c748135b7b352a36c5168147d18e70356135e244c09553dbd9d64fcbe67", | |
| "masters_fp32": { | |
| "folder": "/data/step0011/head.dspark.masters-fp32", | |
| "model_sha256": "11003734d04969683941e92fa9ec4c501585452a9a357ebe0ee61c701cc27ecf" | |
| }, | |
| "notes": { | |
| "plan.json": { | |
| "args": { | |
| "model": "/model", | |
| "head": "/heads/RedHatAI--Qwen3.8-27B-speculator.dspark", | |
| "init": null, | |
| "out": "/data/step0011/train", | |
| "mode": "train", | |
| "replies": [ | |
| "/data/step0011/replies.jsonl" | |
| ], | |
| "episodes": [ | |
| "/data/step0011/episodes.jsonl" | |
| ], | |
| "eval_replies": [ | |
| "/data/step0011/replies.jsonl" | |
| ], | |
| "heldout_fraction": 0.05, | |
| "max_seq_tokens": 32768, | |
| "block": 8, | |
| "stride": 8, | |
| "episode_stride": 0, | |
| "max_anchors": 4096, | |
| "anchors_per_update": 8192, | |
| "epochs": 2.0, | |
| "max_updates": 0, | |
| "lr": 1e-05, | |
| "min_lr": 1e-06, | |
| "warmup": 10, | |
| "clip": 1.0, | |
| "weight_decay": 0.0, | |
| "freeze": [], | |
| "head_fp8": true, | |
| "optimizer_device": "cpu", | |
| "ce": 0.1, | |
| "tv": 0.9, | |
| "conf": 1.0, | |
| "tv_target": "nucleus", | |
| "gamma": 4.0, | |
| "eval_every": 25, | |
| "eval_stride": 16, | |
| "eval_max_sequences": 60, | |
| "patience": 3, | |
| "min_gain": 0.002, | |
| "save_every": 50, | |
| "keep": 1, | |
| "seed": 20261125, | |
| "resume": false, | |
| "device": "cuda", | |
| "row_chunk": 256, | |
| "anchor_chunk": 64, | |
| "allow_kernel_packages": false, | |
| "target_fp8": "/fp8", | |
| "segment": 8192, | |
| "target_dtype": "bfloat16" | |
| }, | |
| "versions": { | |
| "torch": "2.14.0+cu130", | |
| "transformers": "5.22.2", | |
| "safetensors": "0.8.0", | |
| "kernel_packages": [], | |
| "a_log": { | |
| "loaded_as": { | |
| "torch.bfloat16": 48 | |
| }, | |
| "restored": 48, | |
| "bit_equal_to_file": true | |
| }, | |
| "fp8_weights": { | |
| "replaced": 400, | |
| "skipped": 7, | |
| "mean_relative_change": 0.022503346246667208, | |
| "largest_relative_change": 0.02251635491847992 | |
| } | |
| }, | |
| "head": { | |
| "parameters": 1988431617, | |
| "trainable": 1988431617, | |
| "taps": [ | |
| 4, | |
| 12, | |
| 20, | |
| 28, | |
| 36, | |
| 44, | |
| 52, | |
| 60 | |
| ], | |
| "window": 2048, | |
| "fp8_aware": true, | |
| "base_is_fp8": false | |
| }, | |
| "data": { | |
| "train": { | |
| "own:lambda": { | |
| "sequences": 1683, | |
| "tokens": 10375899, | |
| "generated": 7751811, | |
| "anchors": 7750128, | |
| "cut_media": 0, | |
| "cut_length": 51 | |
| }, | |
| "own:swe": { | |
| "sequences": 281, | |
| "tokens": 835982, | |
| "generated": 32052, | |
| "anchors": 31771, | |
| "cut_media": 0, | |
| "cut_length": 0 | |
| }, | |
| "own:math": { | |
| "sequences": 99, | |
| "tokens": 1071888, | |
| "generated": 967689, | |
| "anchors": 967590, | |
| "cut_media": 0, | |
| "cut_length": 3 | |
| }, | |
| "gym:music": { | |
| "sequences": 30, | |
| "tokens": 753320, | |
| "generated": 747565, | |
| "anchors": 747535, | |
| "cut_media": 0, | |
| "cut_length": 3 | |
| }, | |
| "gym:general": { | |
| "sequences": 114, | |
| "tokens": 3626424, | |
| "generated": 446279, | |
| "anchors": 445234, | |
| "cut_media": 0, | |
| "cut_length": 97 | |
| }, | |
| "gym:code": { | |
| "sequences": 58, | |
| "tokens": 1851379, | |
| "generated": 703312, | |
| "anchors": 702076, | |
| "cut_media": 0, | |
| "cut_length": 54 | |
| }, | |
| "gym:webdev": { | |
| "sequences": 29, | |
| "tokens": 929781, | |
| "generated": 732259, | |
| "anchors": 731681, | |
| "cut_media": 9, | |
| "cut_length": 20 | |
| }, | |
| "gym:righttorepair": { | |
| "sequences": 56, | |
| "tokens": 1676735, | |
| "generated": 492642, | |
| "anchors": 491529, | |
| "cut_media": 0, | |
| "cut_length": 38 | |
| } | |
| }, | |
| "heldout": { | |
| "own:lambda": { | |
| "sequences": 48, | |
| "tokens": 230053, | |
| "generated": 156042, | |
| "anchors": 155994, | |
| "cut_media": 0, | |
| "cut_length": 0 | |
| }, | |
| "own:swe": { | |
| "sequences": 7, | |
| "tokens": 22602, | |
| "generated": 892, | |
| "anchors": 885, | |
| "cut_media": 0, | |
| "cut_length": 0 | |
| }, | |
| "gym:general": { | |
| "sequences": 2, | |
| "tokens": 63462, | |
| "generated": 12993, | |
| "anchors": 12971, | |
| "cut_media": 0, | |
| "cut_length": 1 | |
| }, | |
| "gym:righttorepair": { | |
| "sequences": 2, | |
| "tokens": 60343, | |
| "generated": 13443, | |
| "anchors": 13411, | |
| "cut_media": 0, | |
| "cut_length": 1 | |
| }, | |
| "gym:code": { | |
| "sequences": 1, | |
| "tokens": 32768, | |
| "generated": 3718, | |
| "anchors": 3710, | |
| "cut_media": 0, | |
| "cut_length": 1 | |
| } | |
| }, | |
| "eval": { | |
| "own:lcb": { | |
| "sequences": 14, | |
| "tokens": 180752, | |
| "generated": 170907, | |
| "anchors": 170893, | |
| "cut_media": 0, | |
| "cut_length": 4 | |
| }, | |
| "own:xstest": { | |
| "sequences": 14, | |
| "tokens": 11142, | |
| "generated": 10283, | |
| "anchors": 10269, | |
| "cut_media": 0, | |
| "cut_length": 0 | |
| }, | |
| "own:ifbench": { | |
| "sequences": 15, | |
| "tokens": 92178, | |
| "generated": 90415, | |
| "anchors": 90400, | |
| "cut_media": 0, | |
| "cut_length": 0 | |
| }, | |
| "own:gpqa": { | |
| "sequences": 17, | |
| "tokens": 202181, | |
| "generated": 194659, | |
| "anchors": 194642, | |
| "cut_media": 0, | |
| "cut_length": 2 | |
| } | |
| }, | |
| "counts": { | |
| "cut_length": 334, | |
| "dropped_no_generated_tokens": 25, | |
| "cut_media": 9 | |
| } | |
| }, | |
| "updates": { | |
| "per_epoch": 161, | |
| "total": 322 | |
| } | |
| }, | |
| "done.json": { | |
| "updates": 322, | |
| "of": 322, | |
| "stop_reason": "all updates done", | |
| "best_update": 275, | |
| "best": 3.982853643681106, | |
| "tokens": 41867007 | |
| } | |
| } | |
| } |