Instructions to use huggingtweets/histronicmonstr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/histronicmonstr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/histronicmonstr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/histronicmonstr") model = AutoModelForCausalLM.from_pretrained("huggingtweets/histronicmonstr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/histronicmonstr with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/histronicmonstr" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/histronicmonstr", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/histronicmonstr
- SGLang
How to use huggingtweets/histronicmonstr 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/histronicmonstr" \ --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/histronicmonstr", "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/histronicmonstr" \ --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/histronicmonstr", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/histronicmonstr with Docker Model Runner:
docker model run hf.co/huggingtweets/histronicmonstr
Commit History
-
Update model preview
cc603b5 -
Update model preview
e460429 -
Update model preview
bcb1cfb -
Update model preview
9b3e18b -
Update model preview
e544d4a -
Update model preview
fcb58d6 -
Update model preview
96a0b7c -
Update model preview
2441c51 -
Update model preview
6025fe1 -
Update model preview
9923555 -
Update model preview
c5c5676 -
Update model preview
52120d4 -
Update model preview
bd4951d -
Update model preview
9f456b4 -
Update model preview
0ca776c -
Update model preview
ee32ac4 -
Update model preview
fb4f911 -
Update model preview
35b636e -
Update model preview
498572a -
Update model preview
c92f9ea -
Update model preview
c4b834e -
Update model preview
31d73f7 -
Update model preview
3844cc0 -
Update model preview
cd5f1a6 -
Update model preview
010500b -
Update model preview
c07fb33 -
Update model preview
03dbbf0 -
Update model preview
cf97dff -
Update model preview
b00a67a -
Update model preview
dd13a65 -
Update model preview
75b5f73 -
Update model preview
5313b40 -
Update model preview
d2da531 -
Update model preview
800a667 -
Update model preview
dbc5925 -
Update model preview
46a0508 -
Update model preview
d9e1bb9 -
Update model preview
3827992 -
Update model preview
3a94e5a -
Update model preview
c2507f1 -
Update model preview
1cca42b -
Update model preview
320296d -
Update model preview
1eae8ee -
Update model preview
c7609a5 -
Update model preview
eaba319 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ms6e48p
0c91013 -
initial commit
68105ac