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
Refresh v2 benchmark image checksums
Browse files- SHA256SUMS +2 -2
SHA256SUMS
CHANGED
|
@@ -7,8 +7,8 @@ f10343f951ecb3a72670e12720de6e04d59e9cb872e84b2ceddd7d54853bb7e7 NOTICE
|
|
| 7 |
0701cfbdc2b7d44fdbad104dff604faee4b0543e8247624568777fe465746f9b chat_template.jinja
|
| 8 |
c4446cf970fefd8b65f2e3119c30d406ea7026dca362dfb319c9aa08643131c3 config.json
|
| 9 |
3db0aef5755a2332131e8176fbc73a46f37b73deef4582979441d8305e79b3fb docs/BENCHMARKS.md
|
| 10 |
-
|
| 11 |
-
|
| 12 |
7313f2b0645ee401d082572986dcee0c08d3daed1ae79fa650cfa685570ad7e2 docs/assets/02-latency-vs-qwen.png
|
| 13 |
0b48a0dd4b4c9ac7c1842836940348edc2e1ba697184943f0c84c3e3d3c7f2d0 docs/assets/02-latency-vs-qwen.svg
|
| 14 |
5f430f8841e393548f080833524840adb93deef1c6f75dca93d0571262a2ac68 docs/assets/04-throughput.png
|
|
|
|
| 7 |
0701cfbdc2b7d44fdbad104dff604faee4b0543e8247624568777fe465746f9b chat_template.jinja
|
| 8 |
c4446cf970fefd8b65f2e3119c30d406ea7026dca362dfb319c9aa08643131c3 config.json
|
| 9 |
3db0aef5755a2332131e8176fbc73a46f37b73deef4582979441d8305e79b3fb docs/BENCHMARKS.md
|
| 10 |
+
367836a2bbd25453d1b3e128aecdee41ca45b581b5c658e886982c890a569010 docs/assets/00-benchmark-card.png
|
| 11 |
+
f145270e54f332d53589c9422eec27c2f01b55de0f94c443dafbdacdc4502c5a docs/assets/00-benchmark-card.svg
|
| 12 |
7313f2b0645ee401d082572986dcee0c08d3daed1ae79fa650cfa685570ad7e2 docs/assets/02-latency-vs-qwen.png
|
| 13 |
0b48a0dd4b4c9ac7c1842836940348edc2e1ba697184943f0c84c3e3d3c7f2d0 docs/assets/02-latency-vs-qwen.svg
|
| 14 |
5f430f8841e393548f080833524840adb93deef1c6f75dca93d0571262a2ac68 docs/assets/04-throughput.png
|