Instructions to use huggingtweets/ciarandold with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/ciarandold with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/ciarandold")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/ciarandold") model = AutoModelForCausalLM.from_pretrained("huggingtweets/ciarandold", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/ciarandold with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/ciarandold" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/ciarandold", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/ciarandold
- SGLang
How to use huggingtweets/ciarandold 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/ciarandold" \ --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/ciarandold", "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/ciarandold" \ --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/ciarandold", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/ciarandold with Docker Model Runner:
docker model run hf.co/huggingtweets/ciarandold
Commit History
-
upload flax model
4f49052 -
allow flax
7b1312a
-
Update model preview
846b146 -
Update model preview
4b2557d -
Update model preview
3b6769a -
Update model preview
4d754a5 -
Update model preview
2ce34a2 -
Update model preview
bb1c3a5 -
Update model preview
02aa7ae -
Update model preview
eed2d10 -
Update model preview
3fedcad -
Update model preview
16ff369 -
Update model preview
629a238 -
New model from https://wandb.ai/wandb/huggingtweets/runs/11dwi7cz
8078055 -
Update model preview
676b5d3 -
Update model preview
d70fa48 -
Update model preview
9bde05f -
Update model preview
d3a6045 -
Update model preview
3eacd19 -
Update model preview
a53d0d4 -
Update model preview
e9743b4 -
Update model preview
b3ce4c6 -
Update model preview
ae8e319 -
Update model preview
90e5d46 -
Update model preview
929628a -
Update model preview
ffbe36d -
Update model preview
b3617fb -
Update model preview
e886715 -
Update model preview
d85bff5 -
Update model preview
cd31353 -
Update model preview
0c65b63 -
Update model preview
ce20ac2 -
Update model preview
b901d41 -
Update model preview
e7bda87 -
New model from https://wandb.ai/wandb/huggingtweets/runs/khnx9lj3
1d76242
-
Update model preview
7a276f8 -
Update model preview
d577e93 -
Update model preview
838e175 -
Update model preview
4917dd6 -
Update model preview
8d81f20 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1u9dxg4l
7a87884 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2iau8p6a
fa0d9e6 -
Update model preview
640b072 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1yxd8bn1
3828ba3 -
initial commit
9aa8849