Instructions to use eousphoros/turnstone-lambda-671.2-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eousphoros/turnstone-lambda-671.2-bf16 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.2-bf16") 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.2-bf16") model = AutoModelForMultimodalLM.from_pretrained("eousphoros/turnstone-lambda-671.2-bf16", 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.2-bf16 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.2-bf16" # 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.2-bf16", "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.2-bf16
- SGLang
How to use eousphoros/turnstone-lambda-671.2-bf16 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.2-bf16" \ --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.2-bf16", "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.2-bf16" \ --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.2-bf16", "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.2-bf16 with Docker Model Runner:
docker model run hf.co/eousphoros/turnstone-lambda-671.2-bf16
Download SHA256SUMS from eousphoros/turnstone-lambda-671.2-bf16: direct link, hf CLI and curl.
- Browser
- Download file 6.41 kB
-
https://huggingface.co/eousphoros/turnstone-lambda-671.2-bf16/resolve/main/SHA256SUMS
- Command line
-
hf download hf://eousphoros/turnstone-lambda-671.2-bf16/SHA256SUMS
-
curl -L -o SHA256SUMS https://huggingface.co/eousphoros/turnstone-lambda-671.2-bf16/resolve/main/SHA256SUMS
6.41 kB
| c3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041 chat_template.jinja | |
| 191e0af232104ed8b65258cf3fb2b842e288008baca7633c11b82a1ac7203aab config.json | |
| 0960adc9e17c1ecfe09f464baaa53f9713b5bc4c055c4f840a0db528667bb500 dspark/README.md | |
| 2e00c11d3ff99f1d6696319b17c58d62b6f5d4d1a5cb933852e361590286803d dspark/calibration.json | |
| 42c6f5b3f9fa1ce42da60fb801753bfd4e5c6197f7d464e1df5c1f9d3bee17f4 dspark/config.json | |
| 2f4381ff2eb9de506c6ba09bc17f83d0aee871f75651f6303b2e4b581e9b4ca1 dspark/config.py | |
| 1a439c748135b7b352a36c5168147d18e70356135e244c09553dbd9d64fcbe67 dspark/model.safetensors | |
| e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e generation_config.json | |
| a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d merges.txt | |
| 355e8ef5db712fc78cf66a83bb05c326327543a8656d237be9250468c630b80a model-part-00001.safetensors | |
| 5d38d109779e8bd1217615cbfc12c6a12bb3ccb58914334f50050f74921cb147 model-part-00002.safetensors | |
| 2425df3662d1e5e51f0f6df53627c8dd33a51c99a6c50098b5aae05849f6cfef model-part-00003.safetensors | |
| 86c20299125a968445e3656026d3d55fcca8a8bdb6257e472eee811526de0520 model-part-00004.safetensors | |
| 69a8675c1ee3d6c995f9ee22b34c4d3b42bc1ab94e15d677e09a4e40c901febc model-part-00005.safetensors | |
| 8138bfce52c2ff894011a836beea56987a78bdd2d79a6d8c9c11faf9c699db5b model-part-00006.safetensors | |
| 7d50194d48442c518f163953a30cee8462d142e70adb2849130a0723d773e5e5 model-part-00007.safetensors | |
| cb327577eee3f16403d74b415c28985c4c0b206d56d026bb0eb0e65d5c025cad model-part-00008.safetensors | |
| 4deec02ee9bf42b75355580cefcdac95b9c817dd76335b57e6ed7b5a8cc96ed8 model-part-00009.safetensors | |
| 65c6a6767917c789f3860708c3fa045dac2db2d65247b861bd761c27d5113922 model-part-00010.safetensors | |
| b601b68fc5191630cccae61aea2a1228f6e89260f57307a037bf4b084686dfb6 model-part-00011.safetensors | |
| ca68b23539ee66a02e41cef4d358f315df4cf3326d89d2f5e48e7258207e83ef model-part-00012.safetensors | |
| a5dc6a27a8bf1c918712c7960b5427903460308d707e91eb0dbe64fdc0dbd56b model-part-00013.safetensors | |
| de944ba4f3e23aeef9ac3d2ca276501bf4d1d964e8c6c6d402e801e6a7bfb872 model-part-00014.safetensors | |
| 3910a5ca7ddb52635862a7f96fc1443f936296f7c5abb37071a8e3105725890d model-part-00015.safetensors | |
| 2740a1b30966d8bbdfe016b914569fb12f5f8fdedee483a0f84f222fef7cda5f model-part-00016.safetensors | |
| 7ead010e4a0867b3b6f7456e68ae9e4e45f6aa8cb2b73b39a63ec1422fc483e1 model-part-00017.safetensors | |
| 0c51e80e571d37e252a43a2ca3c227aff22cbad36f1d5028c2b29702040f4b2e model-part-00018.safetensors | |
| 9c92d328c3fd6be184dd48304fc23755e420d0175a91baa2b43fc573a9e37499 model-part-00019.safetensors | |
| aca2eb2fd929013d9311874bb7ad6e4cc2fe0ae5d822def0776eb2c67e4d1cb3 model-part-00020.safetensors | |
| 44a623cffda80279819ccea3d0be8f0ff392d41351baaaa2b7a166da1b366281 model-part-00021.safetensors | |
| 65206f3aa08f052790196d3dd44463df481ea1426046e4af08113fb432468412 model-part-00022.safetensors | |
| e0c88e58e4c9dd4e2c16f1b5ec2115b3f16557b47af1d0609979722da4162076 model-part-00023.safetensors | |
| a98fd93b3dd41b18e075ca858d25b1647b23285aa58f3d20995553fb3f710f70 model-part-00024.safetensors | |
| 220e071ec484a434ca583dec6418dbc8e36aaf3f328fafc109049d07d8815a93 model-part-00025.safetensors | |
| 6182e25c289fc9bc205375588d63dbdd5dadfcf76b14e33d3b1e17821c4a8fa6 model-part-00026.safetensors | |
| 9800e60e910ce72fd14e46e08f4aa8a871aeaf85a87373bd2c80bf11c3c37ac4 model-part-00027.safetensors | |
| abff8dffc00cc9c33b1c06a81d7062f1d0f9fe5e20bff0c1271fc892c60594cc model-part-00028.safetensors | |
| 85ca88f093cabd5c5fcdc5278ae150d373ed1febdbf1a1e4c3e0fb809136e6f9 model-part-00029.safetensors | |
| fa177e9693cfdc86eeb4016128dc66cde03f9153dbbf366459d8626a097d123a model-part-00030.safetensors | |
| a64428c2e4335b4952feb04746ed28e224ef8f2805658860390a0e4437a1105c model-part-00031.safetensors | |
| d9f93d7c6fb37449a0007bc2d0ddac7ee1ed0783f5e7189cde854c9fabf39c85 model-part-00032.safetensors | |
| f2c8d32bdd81f4934063f37b5919a70ef6c67e1fc218de325986feeaf7bcedd0 model-part-00033.safetensors | |
| a7cf1af2b8b087f73011364f516e2e2aed520449cff47fb396a08c9d459b5992 model-part-00034.safetensors | |
| 724e02f19e5754a69580e8d68a6ace282a6653cf90716cfbaebacb7357439e62 model-part-00035.safetensors | |
| a49fda88475a3fd61223400bb25da1c0bad34682ef2cdf3c6328f7dc43fc9333 model-part-00036.safetensors | |
| 32cff9dc7952a20f7802e4fd225aa64966f4e943344b0cec2b2a4a471498d197 model-part-00037.safetensors | |
| 9266155dc32cfad702bb5fd6c704fd5025728249c0b0c5336efac4d48218c4c3 model-part-00038.safetensors | |
| 1f4cf2051d8f2ac8ad60c28e824e28ca0a42daf4422703cbc9b94325acde470f model-part-00039.safetensors | |
| 63d3271c676aec86819bc0e57d97ce63056a77b9638dbfa8c3e51cf10085e7aa model-part-00040.safetensors | |
| e069d660452ac887df2d97122978dd49d44242c4b20f6488695740e02dd5eac4 model-part-00041.safetensors | |
| 578191335a368a4836b0bb116ac07b2131be78e54b2b769b2764b6e4caea76a7 model-part-00042.safetensors | |
| f12325f953bf54e71c52c7c968a23d480582414c472b1facf83132deb41f1bfd model-part-00043.safetensors | |
| dae6194c8731b39ed68022549ba8fcca38d71cdf0eecc9aae9c95a4e2120e995 model-part-00044.safetensors | |
| 21f32bf67820dec1aadfad9e0686243f1aaf5da402bc5f24d4e9a540a5abd4fd model-part-00045.safetensors | |
| ae4add49901f15a7b4ab27166832cc9dc383ca724e966d0f934f4731a4f2a4cd model-part-00046.safetensors | |
| 6845e64b4f134befde7ca014a5ea3f627a9e4957c8b239a6c715704baf33ffa8 model-part-00047.safetensors | |
| ccaa75dbd86cbfb38d8d2d3b739b7396f9fe2452342095f94bf537e1b9f253ee model-part-00048.safetensors | |
| ab6ebd0de7006019260971f570ec5479d6d78759e61fa03cf0fdfb2b40ab81a0 model-part-00049.safetensors | |
| 2b5bcf9543277abb6d4b4790a6439102df57e8e186617e9c5b1fd7f2a2b6f9ed model-part-00050.safetensors | |
| 79d301df5f7a5de7ecf78c77e8cdcb140b89537a51e95b280741677b010f4701 model-part-00051.safetensors | |
| dd32076c103cf6e3a1757b0e1173fef02548ce5d97815c491290701c500995f8 model-part-00052.safetensors | |
| 04ead6f722de6bfc6b8f63c85bcdd27fa77269f2edcd433233f452a526180b0f model-part-00053.safetensors | |
| a822f7b4f12ebe32f9a3be4dd9c4159b3daf11561c2710bde24a5ee07d52870e model.safetensors.index.json | |
| 4985cb933293e0fc9436c679d83289f250dc6708b3de43288e7f7f67cba8bd40 mtp.safetensors | |
| 27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516 preprocessor_config.json | |
| 0997f410c57a1f4e53b09e4be8f4a172d90edd9564368fb0847030937229b9f3 tokenizer.json | |
| b11349aafa7cdc6a320767cf7ceb29ed82f7eda5d65e8e0819e76f0ce947bf27 tokenizer_config.json | |
| 7768af27c1fafa9cc9011c1dc20067e03f8915e03b63504550e11d5066986d13 video_preprocessor_config.json | |
| ce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003 vocab.json | |