Instructions to use huggingtweets/hunny6ee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/hunny6ee with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/hunny6ee")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/hunny6ee") model = AutoModelForCausalLM.from_pretrained("huggingtweets/hunny6ee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/hunny6ee with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/hunny6ee" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/hunny6ee", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/hunny6ee
- SGLang
How to use huggingtweets/hunny6ee 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/hunny6ee" \ --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/hunny6ee", "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/hunny6ee" \ --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/hunny6ee", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/hunny6ee with Docker Model Runner:
docker model run hf.co/huggingtweets/hunny6ee
Commit History
-
upload flax model
bf958f2 -
allow flax
8619ebd
-
Update model preview
45264ff -
Update model preview
fed13d7 -
Update model preview
b2063be -
Update model preview
46e27ff -
Update model preview
34dcae1 -
New model from https://wandb.ai/wandb/huggingtweets/runs/23lopask
479aaa0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3vu1xk0k
63b54c9 -
Update model preview
9c893e3 -
Update model preview
4ab3f99 -
Update model preview
3637732 -
New model from https://wandb.ai/wandb/huggingtweets/runs/30rnh9q1
fd1bc47 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1fa1snz1
1970e29 -
Update model preview
e3b7cea -
Update model preview
4b71f12 -
Update model preview
82caa89 -
Update model preview
5dc3a2c -
Update model preview
059fae7 -
Update model preview
42ab6b8 -
Update model preview
b386a93 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3m9orew8
6909221 -
Update model preview
a69ddd2 -
Update model preview
0fd6cb7 -
Update model preview
52c8af3 -
New model from https://wandb.ai/wandb/huggingtweets/runs/35d7lvun
194b6ff -
Update model preview
aadcd83 -
Update model preview
58734ab -
Update model preview
f9815a3 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2it6nif0
0e82102 -
Update model preview
a83ede4 -
Update model preview
6087163 -
Update model preview
819988d -
Update model preview
2885f51 -
Update model preview
ff0f0a8 -
Update model preview
b1d245a -
Update model preview
4270d3c -
Update model preview
d4aabd6 -
Update model preview
5db9a98 -
New model from https://wandb.ai/wandb/huggingtweets/runs/23cp4sbo
2089592 -
Update model preview
0c3652c -
Update model preview
6068fc7 -
Update model preview
4805358 -
Update model preview
0183745 -
Update model preview
d380327 -
Update model preview
48e0057 -
Update model preview
4de75f7 -
Update model preview
83c7df6 -
Update model preview
7c2feff -
New model from https://wandb.ai/wandb/huggingtweets/runs/16cv8241
2416828