Instructions to use huggingtweets/3thyr3al with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/3thyr3al with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/3thyr3al")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/3thyr3al") model = AutoModelForCausalLM.from_pretrained("huggingtweets/3thyr3al", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/3thyr3al with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/3thyr3al" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/3thyr3al", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/3thyr3al
- SGLang
How to use huggingtweets/3thyr3al 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/3thyr3al" \ --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/3thyr3al", "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/3thyr3al" \ --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/3thyr3al", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/3thyr3al with Docker Model Runner:
docker model run hf.co/huggingtweets/3thyr3al
Commit History
-
upload flax model
10582a4 -
allow flax
4835872
-
Update model preview
e61022b -
Update model preview
02f5fa0 -
Update model preview
d16d739 -
Update model preview
79e53c8 -
Update model preview
fc8d589 -
Update model preview
efdeee9 -
Update model preview
10e56ef -
Update model preview
2bd126d -
Update model preview
8495264 -
Update model preview
e68f6e9 -
Update model preview
ff3e31d -
Update model preview
7e8e746 -
Update model preview
0860d00 -
Update model preview
b610709 -
Update model preview
ff6dac9 -
Update model preview
5ffe600 -
Update model preview
fecab0d -
Update model preview
0545eb2 -
Update model preview
452fda6 -
Update model preview
a6d04e1 -
Update model preview
ffc3ae9 -
Update model preview
50b553a -
New model from https://wandb.ai/wandb/huggingtweets/runs/m9xvw9pq
42470ae -
initial commit
5f34c49