Instructions to use huggingtweets/erikmcoronado with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/erikmcoronado with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/erikmcoronado")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/erikmcoronado") model = AutoModelForCausalLM.from_pretrained("huggingtweets/erikmcoronado", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/erikmcoronado with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/erikmcoronado" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/erikmcoronado", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/erikmcoronado
- SGLang
How to use huggingtweets/erikmcoronado 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/erikmcoronado" \ --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/erikmcoronado", "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/erikmcoronado" \ --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/erikmcoronado", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/erikmcoronado with Docker Model Runner:
docker model run hf.co/huggingtweets/erikmcoronado
Commit History
-
upload flax model
9229e8b -
allow flax
9db9044
-
Update model preview
4a448e0 -
Update model preview
281ac10 -
Update model preview
c194182 -
Update model preview
0c3f50c -
Update model preview
9c7b1bf -
Update model preview
8198acd -
Update model preview
3f8ebef -
Update model preview
2c11228 -
Update model preview
f5a0552 -
Update model preview
5ffe102 -
Update model preview
0d2ac93 -
Update model preview
ed5c6a1 -
Update model preview
69e2574 -
Update model preview
00a6361 -
Update model preview
a4b3731 -
Update model preview
7da23d7 -
Update model preview
89d325c -
New model from https://wandb.ai/wandb/huggingtweets/runs/3m6lni5s
c0f9210 -
Update model preview
418656f -
Update model preview
40a568c -
Update model preview
d9ebf2b -
Update model preview
31bb91c -
Update model preview
d072a9a -
Update model preview
578cf4c -
Update model preview
a2286b6 -
Update model preview
47c5aae -
Update model preview
81b04fb -
Update model preview
13a0af7 -
Update model preview
815011e -
Update model preview
95f8edc -
Update model preview
a8097c4 -
Update model preview
4eef040 -
Update model preview
e79d955 -
Update model preview
f9a603c -
Update model preview
021c0a6 -
Update model preview
749b446 -
New model from https://wandb.ai/wandb/huggingtweets/runs/38les41j
2f684b0 -
initial commit
904297f