Instructions to use huggingtweets/queenofbithynia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/queenofbithynia with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/queenofbithynia")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/queenofbithynia") model = AutoModelForCausalLM.from_pretrained("huggingtweets/queenofbithynia", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/queenofbithynia with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/queenofbithynia" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/queenofbithynia", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/queenofbithynia
- SGLang
How to use huggingtweets/queenofbithynia 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/queenofbithynia" \ --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/queenofbithynia", "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/queenofbithynia" \ --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/queenofbithynia", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/queenofbithynia with Docker Model Runner:
docker model run hf.co/huggingtweets/queenofbithynia
Commit History
-
Update model preview
72633b9 -
Update model preview
c52ac26 -
New model from https://wandb.ai/wandb/huggingtweets/runs/hmbsp4tx
6e509c5 -
Update model preview
28a4ab4 -
Update model preview
37696f8 -
Update model preview
6cadb62 -
Update model preview
3c289fe -
Update model preview
2f25a8f
-
Update model preview
83c6cc8 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3qrbnrmy
96a149e
-
Update model preview
2761f45 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1vjas8nx
f6355b5
-
Update model preview
9477456 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ze5vcu7
8a2d7a5
-
Update model preview
e912b0d -
New model from https://wandb.ai/wandb/huggingtweets/runs/1ejqzu4s
ee30bb2
-
upload flax model
db6a51a -
allow flax
ffb2082
-
Update model preview
cb9abbb -
New model from https://wandb.ai/wandb/huggingtweets/runs/3825x6jg
edc827e
-
Update model preview
9ccdba5 -
New model from https://wandb.ai/wandb/huggingtweets/runs/ofr8h90y
7d6ce1f
-
Update model preview
b09dd70 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2itrzc1n
9671146 -
Update model preview
75b7a49 -
New model from https://wandb.ai/wandb/huggingtweets/runs/4yrtay5g
b441a20
-
Update model preview
a3c1198 -
New model from https://wandb.ai/wandb/huggingtweets/runs/15ea7a4y
9560234 -
Update model preview
582163b -
New model from https://wandb.ai/wandb/huggingtweets/runs/346xr2b7
348e72c
-
Update model preview
8e0b7cd -
New model from https://wandb.ai/wandb/huggingtweets/runs/2tu35552
53a945d -
Update model preview
65eeeb0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/382mpk9n
0675372 -
Update model preview
90258fa -
New model from https://wandb.ai/wandb/huggingtweets/runs/30v2tkz8
77add33 -
Update model preview
25242d0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/d81ftpqp
8238b8a -
initial commit
3c263f2