Instructions to use huggingtweets/pee_zombie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/pee_zombie with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/pee_zombie")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/pee_zombie") model = AutoModelForCausalLM.from_pretrained("huggingtweets/pee_zombie", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/pee_zombie with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/pee_zombie" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/pee_zombie", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/pee_zombie
- SGLang
How to use huggingtweets/pee_zombie 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/pee_zombie" \ --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/pee_zombie", "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/pee_zombie" \ --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/pee_zombie", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/pee_zombie with Docker Model Runner:
docker model run hf.co/huggingtweets/pee_zombie
Commit History
-
upload flax model
7b432f5 -
allow flax
28daeb9
-
Update model preview
79f7207 -
Update model preview
d2bbb34 -
Update model preview
b03b101 -
Update model preview
cf84861 -
Update model preview
057fac4 -
Update model preview
9f4a0f2 -
Update model preview
349589c -
Update model preview
d1e21b9 -
Update model preview
a44ddd5 -
Update model preview
88fdde3 -
Update model preview
4c73219 -
Update model preview
0da8ebd -
Update model preview
59cb5a1 -
Update model preview
b028b25 -
Update model preview
40d96a3 -
Update model preview
7804a22 -
Update model preview
7b9e3e8 -
Update model preview
d778b0e -
Update model preview
96faaac -
Update model preview
6a3732b -
Update model preview
d55b8ce -
Update model preview
93cd7f6 -
Update model preview
146b4b0 -
Update model preview
091fdd0 -
Update model preview
d24ddae -
Update model preview
99fede4 -
Update model preview
d7d58a8 -
Update model preview
c4a31c8 -
Update model preview
be73fe3 -
Update model preview
a3bb083 -
Update model preview
4f72184 -
Update model preview
94f165c -
Update model preview
026dd88 -
Update model preview
6d73610 -
Update model preview
d6019c2 -
Update model preview
d4e951b -
Update model preview
caf5bdb -
Update model preview
bc2d4d8 -
Update model preview
a6b14d1 -
Update model preview
a44e71b -
Update model preview
862667a -
New model from https://wandb.ai/wandb/huggingtweets/runs/11gay9vx
5fc8814 -
initial commit
369f5ec