Instructions to use huggingtweets/temeton_blue with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/temeton_blue with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/temeton_blue")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/temeton_blue") model = AutoModelForCausalLM.from_pretrained("huggingtweets/temeton_blue", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/temeton_blue with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/temeton_blue" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/temeton_blue", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/temeton_blue
- SGLang
How to use huggingtweets/temeton_blue 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/temeton_blue" \ --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/temeton_blue", "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/temeton_blue" \ --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/temeton_blue", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/temeton_blue with Docker Model Runner:
docker model run hf.co/huggingtweets/temeton_blue
Commit History
-
Update model preview
e6918c0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3ms9u3u9
5564eeb
-
Update model preview
22b44f6 -
Update model preview
05c6d8f -
Update model preview
72f3824 -
New model from https://wandb.ai/wandb/huggingtweets/runs/21507ivm
8f1ea9e
-
Update model preview
15f3492 -
New model from https://wandb.ai/wandb/huggingtweets/runs/ihx3zi0s
3c1aec2
-
Update model preview
563bf79 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2b2vtbti
9e89459
-
Update model preview
0b076c2 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1yk0xjv1
512a239
-
upload flax model
894e9d2 -
allow flax
8740a65
-
New model from https://wandb.ai/wandb/huggingtweets/runs/13fwoe8a
2b20fcf -
New model from https://wandb.ai/wandb/huggingtweets/runs/102qw0lo
c911c63
-
New model from https://wandb.ai/wandb/huggingtweets/runs/zq4ktmk8
86ca9ed
-
Update model preview
59e482a -
New model from https://wandb.ai/wandb/huggingtweets/runs/2e6x2e24
55711c9
-
Update model preview
a82c196 -
New model from https://wandb.ai/wandb/huggingtweets/runs/31gwr0gz
b5dc452
-
Update model preview
52ece6a -
New model from https://wandb.ai/wandb/huggingtweets/runs/3jzka8yj
ee30d11 -
Update model preview
0681715 -
New model from https://wandb.ai/wandb/huggingtweets/runs/11xbuh3k
451ab9c
-
Update model preview
bc7ac3d -
New model from https://wandb.ai/wandb/huggingtweets/runs/1648g6pw
7d19b72 -
initial commit
91c03a3