Instructions to use huggingtweets/ioorbust with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/ioorbust with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/ioorbust")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/ioorbust") model = AutoModelForCausalLM.from_pretrained("huggingtweets/ioorbust", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/ioorbust with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/ioorbust" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/ioorbust", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/ioorbust
- SGLang
How to use huggingtweets/ioorbust 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/ioorbust" \ --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/ioorbust", "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/ioorbust" \ --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/ioorbust", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/ioorbust with Docker Model Runner:
docker model run hf.co/huggingtweets/ioorbust
Download pytorch_model.bin from huggingtweets/ioorbust: direct link, hf CLI and curl.
- Browser
- Download file 510 MB
-
https://huggingface.co/huggingtweets/ioorbust/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://huggingtweets/ioorbust@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/huggingtweets/ioorbust/resolve/refs%2Fpr%2F1/pytorch_model.bin
510 MB
- Xet hash:
- 3ee41b0b6a774f054b8a06780035a1f4084496cbeeef3a4868dfa6bc052584dd
- Size of remote file:
- 510 MB
- SHA256:
- e880f79f5cbcc09e36fffe78626cc6e8d55e6ca6d4875c14584e630934ab9b72
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.