Instructions to use huggingtweets/borisdayma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/borisdayma with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/borisdayma")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/borisdayma") model = AutoModelForCausalLM.from_pretrained("huggingtweets/borisdayma", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/borisdayma with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/borisdayma" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/borisdayma", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/borisdayma
- SGLang
How to use huggingtweets/borisdayma 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/borisdayma" \ --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/borisdayma", "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/borisdayma" \ --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/borisdayma", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/borisdayma with Docker Model Runner:
docker model run hf.co/huggingtweets/borisdayma
Commit History
-
Update model preview
bef6d3d -
New model from https://wandb.ai/wandb/huggingtweets/runs/3qs9dfef
d80f4ae -
New model from https://wandb.ai/wandb/huggingtweets/runs/3dnaex4j
895fb63 -
Update model preview
f47fb55 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1zmxayjz
b29d57c
-
Update model preview
7805f5a -
New model from https://wandb.ai/wandb/huggingtweets/runs/3pcoecf7
43bcf77
-
Update model preview
feb0fcb -
Update model preview
78df6e4 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2f0vsoyq
23f0264 -
Update model preview
10b4e52 -
New model from https://wandb.ai/wandb/huggingtweets/runs/eshox0t2
85ffedd -
Update model preview
505d97d -
New model from https://wandb.ai/wandb/huggingtweets/runs/104pdils
ee43f24
-
Update model preview
16319e3 -
Update model preview
223102d -
Update model preview
4f80a01 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3qft39au
7a3923d
-
Update model preview
7bce344 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2bkjcg07
16fb6e4 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3gpq17jc
c3936ac -
New model from https://wandb.ai/wandb/huggingtweets/runs/2m4h1u4w
3ac589a
-
Update model preview
60bc2b0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/ojw3t4ou
7fb2807
-
Update model preview
84dca01 -
Update model preview
79d30f4 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1ku5x2zq
5c7c5a7
-
Update model preview
eefa52a -
Update model preview
ce044b6 -
Update model preview
5881980 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2m6ezc31
eacd348
-
upload flax model
54dfdee -
allow flax
06b5ab5
-
Update model preview
0e06700 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1p0wjfag
668c83c -
Update model preview
8d5329d -
Update model preview
a8ff4dc -
New model from https://wandb.ai/wandb/huggingtweets/runs/xj8j7pep
95fc35b -
New model from https://wandb.ai/wandb/huggingtweets/runs/2z9ol9v3
2e792b3 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ew99a2p
02a713c -
New model from https://wandb.ai/wandb/huggingtweets/runs/chdpjckk
68103a3
-
Update model preview
02da867 -
New model from https://wandb.ai/wandb/huggingtweets/runs/20vgnf3d
8661a07 -
Update model preview
2af9c8d -
Update model preview
72b5b1d -
Update model preview
0988033 -
New model from https://wandb.ai/wandb/huggingtweets/runs/5d0fc4fa
64a87c1
-
Update model preview
8a903e8 -
New model from https://wandb.ai/wandb/huggingtweets/runs/30u1caew
de098ba -
Update model preview
f148f1e