Instructions to use huggingtweets/_deep_winter_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/_deep_winter_ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/_deep_winter_")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/_deep_winter_") model = AutoModelForCausalLM.from_pretrained("huggingtweets/_deep_winter_", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/_deep_winter_ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/_deep_winter_" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/_deep_winter_", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/_deep_winter_
- SGLang
How to use huggingtweets/_deep_winter_ 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/_deep_winter_" \ --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/_deep_winter_", "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/_deep_winter_" \ --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/_deep_winter_", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/_deep_winter_ with Docker Model Runner:
docker model run hf.co/huggingtweets/_deep_winter_
Commit History
-
Update model preview
4321740 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2dlbw7vo
97d03b9
-
upload flax model
94fe69e -
allow flax
692c521
-
Update model preview
0bab8ce -
New model from https://wandb.ai/wandb/huggingtweets/runs/1gj4ousy
618cffe
-
Update model preview
b7eac0a -
Update model preview
3816d9d -
Update model preview
dd67c02 -
New model from https://wandb.ai/wandb/huggingtweets/runs/4esvlp89
2f159dc
-
Update model preview
334b9ee -
Update model preview
e94939c -
Update model preview
3e06da0 -
Update model preview
7949fa1 -
Update model preview
af377aa -
Update model preview
ca2061a -
Update model preview
48075ad -
Update model preview
30e75c7 -
Update model preview
327f585 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2fx3ec2u
b115f08 -
Update model preview
df549e0 -
Update model preview
d049b51 -
Update model preview
8398725 -
Update model preview
b5d41e3 -
New model from https://wandb.ai/wandb/huggingtweets/runs/6ungxexu
c7eb4a6 -
initial commit
3ae006f