Instructions to use huggingtweets/o0ovoid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/o0ovoid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/o0ovoid")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/o0ovoid") model = AutoModelForCausalLM.from_pretrained("huggingtweets/o0ovoid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/o0ovoid with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/o0ovoid" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/o0ovoid", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/o0ovoid
- SGLang
How to use huggingtweets/o0ovoid 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/o0ovoid" \ --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/o0ovoid", "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/o0ovoid" \ --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/o0ovoid", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/o0ovoid with Docker Model Runner:
docker model run hf.co/huggingtweets/o0ovoid
Commit History
-
Update model preview
60ded0b -
New model from https://wandb.ai/wandb/huggingtweets/runs/w2u70na0
39fa841
-
upload flax model
c90fa11 -
allow flax
254d7c3
-
Update model preview
cd9ecf9 -
New model from https://wandb.ai/wandb/huggingtweets/runs/24cdklhc
4c3066f
-
Update model preview
00f5524 -
New model from https://wandb.ai/wandb/huggingtweets/runs/38s98qla
4e6f885
-
Update model preview
f20383b -
New model from https://wandb.ai/wandb/huggingtweets/runs/2j99cuyj
eea186b
-
New model from https://wandb.ai/wandb/huggingtweets/runs/xh03n39c
d9e4e25 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2zo30jep
51cb3cd
-
Update model preview
78eb57a -
New model from https://wandb.ai/wandb/huggingtweets/runs/3jitgggd
93c8f17 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3ih3nh7d
5eaf735 -
New model from https://wandb.ai/wandb/huggingtweets/runs/8a235yen
2751f37 -
Update model preview
3e1be0e -
New model from https://wandb.ai/wandb/huggingtweets/runs/2kicyyoi
0362dc0 -
Update model preview
cc4a228 -
Update model preview
92f4fd2 -
Update model preview
f2379b4 -
Update model preview
8c19aa2 -
New model from https://wandb.ai/wandb/huggingtweets/runs/6mnzpr7o
c09ad27
-
Update model preview
a76fc18 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3h7yqcg3
f816c9d -
New model from https://wandb.ai/wandb/huggingtweets/runs/323ou3ur
d2bbf91
-
Update model preview
51036a5 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1l4wmdag
2403888
-
Update model preview
e89f687 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2vlhe1o4
1eb2906
-
Update model preview
1226bad -
New model from https://wandb.ai/wandb/huggingtweets/runs/kwb8kb78
4e88ef0 -
initial commit
d93c883