Text Generation
Transformers
Safetensors
mistral3
image-text-to-text
decision-model
typed-decisions
jev
jevbench
calibration
decode-free
multilingual
vision-language
conversational
Instructions to use StandardThinking/StandardOne-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use StandardThinking/StandardOne-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="StandardThinking/StandardOne-3B") 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("StandardThinking/StandardOne-3B") model = AutoModelForMultimodalLM.from_pretrained("StandardThinking/StandardOne-3B", 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 StandardThinking/StandardOne-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "StandardThinking/StandardOne-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "StandardThinking/StandardOne-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/StandardThinking/StandardOne-3B
- SGLang
How to use StandardThinking/StandardOne-3B 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 "StandardThinking/StandardOne-3B" \ --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": "StandardThinking/StandardOne-3B", "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 "StandardThinking/StandardOne-3B" \ --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": "StandardThinking/StandardOne-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use StandardThinking/StandardOne-3B with Docker Model Runner:
docker model run hf.co/StandardThinking/StandardOne-3B
Download server/tests/data/upper-labels-ministral3.json from StandardThinking/StandardOne-3B: direct link, hf CLI and curl.
- Browser
- Download file 5.47 kB
-
https://huggingface.co/StandardThinking/StandardOne-3B/resolve/main/server/tests/data/upper-labels-ministral3.json
- Command line
-
hf download hf://StandardThinking/StandardOne-3B/server/tests/data/upper-labels-ministral3.json
-
curl -L -o upper-labels-ministral3.json https://huggingface.co/StandardThinking/StandardOne-3B/resolve/main/server/tests/data/upper-labels-ministral3.json
5.47 kB
| { | |
| "schema": "jev-label-list-v1", | |
| "label_scheme": "upper", | |
| "tokenizer": { | |
| "id": "mistralai/Ministral-3-8B-Instruct-2512-BF16", | |
| "revision": "f6fae9795746f63c9be8344932f01275f3c63734", | |
| "class": "MistralCommonBackend", | |
| "tekken_json_sha256": "600bb27946565481ecf51ba8aee252e49b9a68507866080ac9c30185bb312843", | |
| "tokenizer_config_json_sha256": "f59f7294e4f26383d0ea93840fe21cf197784be0842a8301a0343e8c34ed0d6d", | |
| "release_tokenizer_json_sha256": "d5f6046775b112f0e2d456ee9dba450684ab964fe5c4e231599bdc6773028135" | |
| }, | |
| "rule": "Candidates in order: A..Z, then AA..ZZ, then AAA..ZZZ (uppercase ASCII, by length then alphabetically). Keep a candidate when tokenizer.encode(label, add_special_tokens=False) is exactly one token id that is not a special id, not already used, and decode([id], skip_special_tokens=True) == label. Stop at 255. A question with n options (2 <= n <= 255) uses labels[:n] in display order.", | |
| "single_token_counts": { | |
| "one_letter": 26, | |
| "two_letter": 439, | |
| "three_letter": 425 | |
| }, | |
| "three_letter_used": false, | |
| "answer_boundary_checked": "all 255 labels continue the native [/INST] chat prompt by exactly their token id", | |
| "count": 255, | |
| "labels": [ | |
| "A", | |
| "B", | |
| "C", | |
| "D", | |
| "E", | |
| "F", | |
| "G", | |
| "H", | |
| "I", | |
| "J", | |
| "K", | |
| "L", | |
| "M", | |
| "N", | |
| "O", | |
| "P", | |
| "Q", | |
| "R", | |
| "S", | |
| "T", | |
| "U", | |
| "V", | |
| "W", | |
| "X", | |
| "Y", | |
| "Z", | |
| "AA", | |
| "AB", | |
| "AC", | |
| "AD", | |
| "AE", | |
| "AF", | |
| "AG", | |
| "AH", | |
| "AI", | |
| "AK", | |
| "AL", | |
| "AM", | |
| "AN", | |
| "AO", | |
| "AP", | |
| "AR", | |
| "AS", | |
| "AT", | |
| "AU", | |
| "AV", | |
| "AX", | |
| "AY", | |
| "AZ", | |
| "BA", | |
| "BB", | |
| "BC", | |
| "BD", | |
| "BE", | |
| "BF", | |
| "BG", | |
| "BI", | |
| "BJ", | |
| "BL", | |
| "BM", | |
| "BN", | |
| "BO", | |
| "BP", | |
| "BR", | |
| "BS", | |
| "BT", | |
| "BU", | |
| "BV", | |
| "BW", | |
| "BY", | |
| "CA", | |
| "CB", | |
| "CC", | |
| "CD", | |
| "CE", | |
| "CF", | |
| "CG", | |
| "CH", | |
| "CI", | |
| "CK", | |
| "CL", | |
| "CM", | |
| "CN", | |
| "CO", | |
| "CP", | |
| "CR", | |
| "CS", | |
| "CT", | |
| "CU", | |
| "CV", | |
| "CX", | |
| "CY", | |
| "DA", | |
| "DB", | |
| "DC", | |
| "DD", | |
| "DE", | |
| "DF", | |
| "DG", | |
| "DH", | |
| "DI", | |
| "DJ", | |
| "DK", | |
| "DL", | |
| "DM", | |
| "DN", | |
| "DO", | |
| "DP", | |
| "DR", | |
| "DS", | |
| "DT", | |
| "DU", | |
| "DX", | |
| "EA", | |
| "EB", | |
| "EC", | |
| "ED", | |
| "EE", | |
| "EF", | |
| "EG", | |
| "EK", | |
| "EL", | |
| "EM", | |
| "EN", | |
| "EO", | |
| "EP", | |
| "EQ", | |
| "ER", | |
| "ES", | |
| "ET", | |
| "EU", | |
| "EV", | |
| "EW", | |
| "EX", | |
| "FA", | |
| "FB", | |
| "FC", | |
| "FD", | |
| "FE", | |
| "FF", | |
| "FG", | |
| "FI", | |
| "FK", | |
| "FL", | |
| "FM", | |
| "FN", | |
| "FO", | |
| "FP", | |
| "FR", | |
| "FS", | |
| "FT", | |
| "FW", | |
| "FX", | |
| "GA", | |
| "GB", | |
| "GC", | |
| "GD", | |
| "GE", | |
| "GF", | |
| "GG", | |
| "GH", | |
| "GI", | |
| "GL", | |
| "GM", | |
| "GN", | |
| "GO", | |
| "GP", | |
| "GR", | |
| "GS", | |
| "GT", | |
| "GV", | |
| "GW", | |
| "HA", | |
| "HB", | |
| "HC", | |
| "HD", | |
| "HE", | |
| "HF", | |
| "HG", | |
| "HH", | |
| "HI", | |
| "HK", | |
| "HL", | |
| "HM", | |
| "HO", | |
| "HP", | |
| "HR", | |
| "HS", | |
| "HT", | |
| "HV", | |
| "IA", | |
| "IB", | |
| "IC", | |
| "ID", | |
| "IE", | |
| "IF", | |
| "IG", | |
| "II", | |
| "IK", | |
| "IL", | |
| "IM", | |
| "IN", | |
| "IO", | |
| "IP", | |
| "IR", | |
| "IS", | |
| "IT", | |
| "IU", | |
| "IV", | |
| "IX", | |
| "IZ", | |
| "JA", | |
| "JB", | |
| "JK", | |
| "JO", | |
| "JP", | |
| "JR", | |
| "JS", | |
| "KA", | |
| "KB", | |
| "KC", | |
| "KE", | |
| "KG", | |
| "KM", | |
| "KN", | |
| "KO", | |
| "KR", | |
| "KS", | |
| "KT", | |
| "LA", | |
| "LB", | |
| "LC", | |
| "LD", | |
| "LE", | |
| "LF", | |
| "LG", | |
| "LI", | |
| "LL", | |
| "LM", | |
| "LO", | |
| "LP", | |
| "LR", | |
| "LS", | |
| "LT", | |
| "LU", | |
| "LV", | |
| "LY", | |
| "MA", | |
| "MB", | |
| "MC", | |
| "MD", | |
| "ME", | |
| "MF", | |
| "MG", | |
| "MH" | |
| ], | |
| "token_ids": [ | |
| 1065, | |
| 1066, | |
| 1067, | |
| 1068, | |
| 1069, | |
| 1070, | |
| 1071, | |
| 1072, | |
| 1073, | |
| 1074, | |
| 1075, | |
| 1076, | |
| 1077, | |
| 1078, | |
| 1079, | |
| 1080, | |
| 1081, | |
| 1082, | |
| 1083, | |
| 1084, | |
| 1085, | |
| 1086, | |
| 1087, | |
| 1088, | |
| 1089, | |
| 1090, | |
| 14229, | |
| 8062, | |
| 5193, | |
| 5516, | |
| 32484, | |
| 12763, | |
| 6970, | |
| 91939, | |
| 33613, | |
| 26039, | |
| 4286, | |
| 6758, | |
| 5010, | |
| 106550, | |
| 6292, | |
| 3905, | |
| 6003, | |
| 3313, | |
| 117778, | |
| 29970, | |
| 13339, | |
| 25698, | |
| 75317, | |
| 10574, | |
| 28235, | |
| 6535, | |
| 18704, | |
| 34817, | |
| 71042, | |
| 87478, | |
| 17782, | |
| 119492, | |
| 30631, | |
| 20195, | |
| 90805, | |
| 18412, | |
| 22133, | |
| 35846, | |
| 7814, | |
| 54206, | |
| 115497, | |
| 130196, | |
| 114957, | |
| 82317, | |
| 9467, | |
| 43379, | |
| 7619, | |
| 8584, | |
| 9158, | |
| 26910, | |
| 39176, | |
| 7247, | |
| 15466, | |
| 17131, | |
| 8534, | |
| 41183, | |
| 47271, | |
| 9335, | |
| 13943, | |
| 12540, | |
| 13754, | |
| 4061, | |
| 97829, | |
| 34456, | |
| 114741, | |
| 130282, | |
| 10878, | |
| 12223, | |
| 22561, | |
| 27789, | |
| 5088, | |
| 28562, | |
| 92842, | |
| 47909, | |
| 29951, | |
| 52972, | |
| 49329, | |
| 42559, | |
| 28081, | |
| 57310, | |
| 24151, | |
| 16108, | |
| 13705, | |
| 14249, | |
| 46565, | |
| 33674, | |
| 52885, | |
| 26759, | |
| 34112, | |
| 13275, | |
| 7051, | |
| 16748, | |
| 35971, | |
| 17238, | |
| 82787, | |
| 11213, | |
| 15187, | |
| 4456, | |
| 92580, | |
| 20573, | |
| 44943, | |
| 2794, | |
| 5548, | |
| 4321, | |
| 78963, | |
| 66703, | |
| 49942, | |
| 10164, | |
| 6507, | |
| 62311, | |
| 10858, | |
| 61930, | |
| 44675, | |
| 7762, | |
| 63511, | |
| 31638, | |
| 66480, | |
| 15869, | |
| 45746, | |
| 88826, | |
| 15740, | |
| 31994, | |
| 53744, | |
| 21313, | |
| 17310, | |
| 70351, | |
| 75215, | |
| 19454, | |
| 12737, | |
| 16497, | |
| 77858, | |
| 19527, | |
| 10624, | |
| 67199, | |
| 96633, | |
| 74536, | |
| 17899, | |
| 28533, | |
| 123165, | |
| 28649, | |
| 31714, | |
| 32874, | |
| 27735, | |
| 35985, | |
| 109488, | |
| 102348, | |
| 23303, | |
| 68291, | |
| 24093, | |
| 26205, | |
| 7626, | |
| 41999, | |
| 122632, | |
| 79438, | |
| 56611, | |
| 64447, | |
| 46862, | |
| 103147, | |
| 74873, | |
| 13719, | |
| 24498, | |
| 30316, | |
| 8395, | |
| 126227, | |
| 20501, | |
| 16433, | |
| 6048, | |
| 3084, | |
| 20851, | |
| 11098, | |
| 4351, | |
| 3022, | |
| 65015, | |
| 9387, | |
| 10667, | |
| 3174, | |
| 11364, | |
| 9918, | |
| 9474, | |
| 6673, | |
| 4778, | |
| 124666, | |
| 6217, | |
| 10445, | |
| 15152, | |
| 71794, | |
| 124356, | |
| 92274, | |
| 128992, | |
| 72267, | |
| 69496, | |
| 32452, | |
| 39711, | |
| 60305, | |
| 120387, | |
| 12623, | |
| 99414, | |
| 128745, | |
| 49744, | |
| 44338, | |
| 128762, | |
| 110718, | |
| 81092, | |
| 10265, | |
| 72458, | |
| 13515, | |
| 20008, | |
| 3561, | |
| 55938, | |
| 106747, | |
| 34732, | |
| 23947, | |
| 45623, | |
| 7618, | |
| 28547, | |
| 23356, | |
| 18369, | |
| 71905, | |
| 73275, | |
| 51489, | |
| 38180, | |
| 8900, | |
| 21291, | |
| 16126, | |
| 14534, | |
| 5180, | |
| 96790, | |
| 64937, | |
| 91805 | |
| ] | |
| } | |