Instructions to use huggingtweets/sigsys with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/sigsys with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/sigsys")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/sigsys") model = AutoModelForCausalLM.from_pretrained("huggingtweets/sigsys", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/sigsys with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/sigsys" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/sigsys", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/sigsys
- SGLang
How to use huggingtweets/sigsys 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 "huggingtweets/sigsys" \ --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": "huggingtweets/sigsys", "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 "huggingtweets/sigsys" \ --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": "huggingtweets/sigsys", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/sigsys with Docker Model Runner:
docker model run hf.co/huggingtweets/sigsys
Commit History
-
upload flax model
0c33d62 -
allow flax
d0d77a0
-
Update model preview
7fd9258 -
Update model preview
32de22e -
Update model preview
b7273dc -
Update model preview
eadd9a2 -
Update model preview
823affd -
Update model preview
ef93b44 -
Update model preview
1569c49 -
Update model preview
f97b3ef -
Update model preview
b3a3f0b -
Update model preview
7c1704d -
Update model preview
ed4ef90 -
Update model preview
d8815db -
Update model preview
a97075f -
Update model preview
4a25765 -
Update model preview
b50db2b -
Update model preview
6c09b56 -
Update model preview
291c259 -
Update model preview
ea97798 -
Update model preview
034b1d6 -
Update model preview
4f0c7d3 -
Update model preview
e13a057 -
Update model preview
f8f48a7 -
Update model preview
003102a -
Update model preview
e74694d -
Update model preview
5da873e -
Update model preview
ae4ed01 -
Update model preview
052c75b -
Update model preview
eab2190 -
Update model preview
f4b22c6 -
Update model preview
55d3c1a -
Update model preview
6ee0ad8 -
Update model preview
afe827d -
Update model preview
f8bf464 -
Update model preview
5796e3c -
Update model preview
ed2c0ec -
Update model preview
2371f8a -
New model from https://wandb.ai/wandb/huggingtweets/runs/18htet0h
33ac15b -
Update model preview
367fa50 -
Update model preview
5e50db3 -
Update model preview
68137e1 -
Update model preview
ed0df07 -
Update model preview
93215c2 -
Update model preview
9aca88b -
Update model preview
014cfa8 -
Update model preview
375a932 -
Update model preview
ef89ccc -
Update model preview
0d5680a -
Update model preview
e5a8cbe