Instructions to use huggingtweets/wellshit0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/wellshit0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/wellshit0")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/wellshit0") model = AutoModelForCausalLM.from_pretrained("huggingtweets/wellshit0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/wellshit0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/wellshit0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/wellshit0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/wellshit0
- SGLang
How to use huggingtweets/wellshit0 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/wellshit0" \ --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/wellshit0", "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/wellshit0" \ --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/wellshit0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/wellshit0 with Docker Model Runner:
docker model run hf.co/huggingtweets/wellshit0
Commit History
-
Update model preview
3ebfadd -
Update model preview
57698cb -
Update model preview
ac4a1bd -
Update model preview
1bb15f5 -
Update model preview
b567e96 -
Update model preview
70a683a -
New model from https://wandb.ai/wandb/huggingtweets/runs/3b61bmmt
c49c5be -
Update model preview
92cfbd6 -
New model from https://wandb.ai/wandb/huggingtweets/runs/i9jcaru4
156bdc9
-
upload flax model
c72fb57 -
allow flax
5eba8e9
-
Update model preview
466fd5b -
Update model preview
4d7f841 -
Update model preview
03b082a -
Update model preview
f77f6e0 -
Update model preview
aa9eee0 -
Update model preview
470144f -
Update model preview
f6c022a -
Update model preview
c40d666 -
Update model preview
e82526b -
Update model preview
22f2846 -
Update model preview
54a59f7 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2r3pkuwr
f23510c -
initial commit
bceb066