Instructions to use finex/Stage-IOTGraphic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use finex/Stage-IOTGraphic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="finex/Stage-IOTGraphic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("finex/Stage-IOTGraphic") model = AutoModelForCausalLM.from_pretrained("finex/Stage-IOTGraphic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use finex/Stage-IOTGraphic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "finex/Stage-IOTGraphic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "finex/Stage-IOTGraphic", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/finex/Stage-IOTGraphic
- SGLang
How to use finex/Stage-IOTGraphic 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 "finex/Stage-IOTGraphic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "finex/Stage-IOTGraphic", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "finex/Stage-IOTGraphic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "finex/Stage-IOTGraphic", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use finex/Stage-IOTGraphic with Docker Model Runner:
docker model run hf.co/finex/Stage-IOTGraphic
Commit History
-
Update README.md
Verified signature453c3f2 -
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (3a82ada9706c729e18a030fc76b37c7bf293014a) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>9ac0ec7
-
Upload tokenizer.chat_template.py
Verified signature2931c07 -
Upload tokenizer.chat_template
Verified signature793106c -
Update README.md
Verified signature0d07f64 -
Update README.md
Verified signature935d5ac -
Update README.md
Verified signaturef8ccaa4 -
Update README.md
Verified signature5eef48e
-
Update README.md
Verified signaturea59e963 -
Upload generation_config_for_conversational.json
Verified signature9c95ece -
Update README.md
Verified signatureee9cb4d
-
Update README.md
Verified signature94de76d -
Update README.md
Verified signaturebc7c07a -
Update README.md
Verified signature3424a79 -
Update README.md
Verified signaturebcf4987 -
Update README.md
Verified signature5805e48 -
Update README.md
Verified signatureae22842 -
Update README.md
Verified signaturec1e45da
-
Create README.md
f41ab47
-
First version of the your-model-name model and tokenizer.
b731980 -
initial commit
6db208b