Instructions to use huggingtweets/joebiden with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/joebiden with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/joebiden")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/joebiden") model = AutoModelForCausalLM.from_pretrained("huggingtweets/joebiden", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/joebiden with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/joebiden" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/joebiden", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/joebiden
- SGLang
How to use huggingtweets/joebiden 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/joebiden" \ --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/joebiden", "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/joebiden" \ --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/joebiden", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/joebiden with Docker Model Runner:
docker model run hf.co/huggingtweets/joebiden
Commit History
-
Update model preview
baf0120 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1w4wo0t6
ef2249e
-
New model from https://wandb.ai/wandb/huggingtweets/runs/3kh5d7ee
668a384
-
Update model preview
f6685c0 -
Update model preview
5bb5158 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ug5b3vb
1906c90
-
New model from https://wandb.ai/wandb/huggingtweets/runs/28xgrtgk
97e2886
-
Update model preview
d0f18c6 -
New model from https://wandb.ai/wandb/huggingtweets/runs/21kdxtnz
528b855 -
New model from https://wandb.ai/wandb/huggingtweets/runs/396m7wf1
fc717fc -
Update model preview
3896ccf -
Update model preview
bbee752 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3ch9ixn2
f36bfd5
-
New model from https://wandb.ai/wandb/huggingtweets/runs/35lzquzk
4fcb2a0
-
Update model preview
c25a249 -
New model from https://wandb.ai/wandb/huggingtweets/runs/xowt1luc
28d9792
-
Update model preview
e3533cc -
Update model preview
7e4c870 -
Update model preview
dce14a2 -
Update model preview
3b2ce71 -
New model from https://wandb.ai/wandb/huggingtweets/runs/z8rhxhwk
bf680de -
New model from https://wandb.ai/wandb/huggingtweets/runs/x2yjpg38
ac97952
-
upload flax model
a3df5b3 -
allow flax
028634e
-
Update model preview
66402b8 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3lz2o03t
5d99bbc
-
Update README.md
e2c8900 -
Update README.md
da8df51 -
Update README.md
1ff5b81 -
Update config.json
f7d9dfc -
Update special_tokens_map.json
8038705 -
Update merges.txt
f3231d2 -
Update vocab.json
83a24af -
Update pytorch_model.bin
1ee1dfe -
Update tokenizer_config.json
b19b9b3
-
Update README.md
8b6629f -
Update README.md
5231e42 -
Update merges.txt
678f2aa -
Update config.json
769e4bb -
Update vocab.json
c29ecf5 -
Update README.md
630131a -
Update tokenizer_config.json
a609627 -
Update special_tokens_map.json
ebac136
-
Update README.md
77645f9 -
Update tokenizer_config.json
d6e7c85 -
Update vocab.json
345f282 -
Update README.md
318fda3 -
Update merges.txt
9fb71f3 -
Update special_tokens_map.json
6c9a33a -
Update config.json
ebcbbf3