Instructions to use huggingtweets/hirox246 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/hirox246 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/hirox246")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/hirox246") model = AutoModelForCausalLM.from_pretrained("huggingtweets/hirox246", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/hirox246 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/hirox246" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/hirox246", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/hirox246
- SGLang
How to use huggingtweets/hirox246 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/hirox246" \ --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/hirox246", "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/hirox246" \ --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/hirox246", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/hirox246 with Docker Model Runner:
docker model run hf.co/huggingtweets/hirox246
Commit History
-
Update model preview
b27e39f -
New model from https://wandb.ai/wandb/huggingtweets/runs/ktc28kc0
353fa21
-
Update model preview
06ca82e -
New model from https://wandb.ai/wandb/huggingtweets/runs/33qnhg00
326079a
-
Update model preview
955087b -
New model from https://wandb.ai/wandb/huggingtweets/runs/18ne8emi
01e83e6 -
Update model preview
ebcb4c0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/mpbl92ui
478c668 -
Update model preview
fcdf547 -
New model from https://wandb.ai/wandb/huggingtweets/runs/12zn97mn
881ab67 -
Update model preview
25be1f8 -
New model from https://wandb.ai/wandb/huggingtweets/runs/y8pc9fei
013b249 -
Update model preview
0e59b83 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3qy3jutn
3f7e935
-
Update model preview
44615e5 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3phey6x0
4ae2055
-
Update model preview
1e5859e -
New model from https://wandb.ai/wandb/huggingtweets/runs/ny7x9p3e
a71e829 -
New model from https://wandb.ai/wandb/huggingtweets/runs/9u1qpelj
e7f253a -
New model from https://wandb.ai/wandb/huggingtweets/runs/2j1crttr
32dd192 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ld1c0ox
5349c6b -
Update model preview
21caf3b -
New model from https://wandb.ai/wandb/huggingtweets/runs/7jx2cwnl
51f7677
-
Update model preview
e176e95 -
New model from https://wandb.ai/wandb/huggingtweets/runs/18rhu73q
f125848
-
Update model preview
b12cb6a -
New model from https://wandb.ai/wandb/huggingtweets/runs/34cevaoh
c9df77f -
Update model preview
396e246 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3gaocabe
8018f50 -
Update model preview
5e0cc8b -
New model from https://wandb.ai/wandb/huggingtweets/runs/m9mn7tf4
d1c2e58 -
Update model preview
8cb47b1 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1gq16gb6
09b4264 -
Update model preview
574505a -
New model from https://wandb.ai/wandb/huggingtweets/runs/3vpl4nce
1c9e58f -
Update model preview
f1d3dec -
New model from https://wandb.ai/wandb/huggingtweets/runs/2t8wclw8
dabaad8 -
Update model preview
3b8b673 -
New model from https://wandb.ai/wandb/huggingtweets/runs/mk8w0mr6
46fe11c
-
Update model preview
035bb08 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2w04o222
43541ac -
initial commit
a13dbd4