Instructions to use huggingtweets/h0uldin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/h0uldin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/h0uldin")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/h0uldin") model = AutoModelForCausalLM.from_pretrained("huggingtweets/h0uldin", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/h0uldin with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/h0uldin" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/h0uldin", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/h0uldin
- SGLang
How to use huggingtweets/h0uldin 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/h0uldin" \ --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/h0uldin", "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/h0uldin" \ --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/h0uldin", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/h0uldin with Docker Model Runner:
docker model run hf.co/huggingtweets/h0uldin
Commit History
-
Update model preview
7bea150 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1hv72ars
7547a70 -
Update model preview
6a36e55 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1tzhol59
840f77e
-
Update model preview
eb14991 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3r4zi2fw
882df9b
-
Update model preview
88ea592 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2jd5cs4g
c545208
-
Update model preview
8ff0fda -
New model from https://wandb.ai/wandb/huggingtweets/runs/1evz6x2o
c765cee -
Update model preview
52065fe -
New model from https://wandb.ai/wandb/huggingtweets/runs/3j03zxmr
0ba3d76 -
Update model preview
0d542bf -
New model from https://wandb.ai/wandb/huggingtweets/runs/1wmfurcl
a07437b -
New model from https://wandb.ai/wandb/huggingtweets/runs/254uehvk
c1e8a7a -
Update model preview
17be3de -
New model from https://wandb.ai/wandb/huggingtweets/runs/36xwaalv
15b84ac
-
Update model preview
3d78734 -
New model from https://wandb.ai/wandb/huggingtweets/runs/qc3z5pus
379b9bb -
initial commit
af60a29