Instructions to use huggingtweets/dgcyt_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/dgcyt_ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/dgcyt_")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/dgcyt_") model = AutoModelForCausalLM.from_pretrained("huggingtweets/dgcyt_", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/dgcyt_ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/dgcyt_" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/dgcyt_", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/dgcyt_
- SGLang
How to use huggingtweets/dgcyt_ 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/dgcyt_" \ --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/dgcyt_", "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/dgcyt_" \ --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/dgcyt_", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/dgcyt_ with Docker Model Runner:
docker model run hf.co/huggingtweets/dgcyt_
Commit History
-
upload flax model
458abc8 -
allow flax
66b1bc3
-
Update model preview
8253054 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3goormmx
5c36fd2
-
New model from https://wandb.ai/wandb/huggingtweets/runs/gs3svvqa
0294bdb
-
Update model preview
3c92cfa -
New model from https://wandb.ai/wandb/huggingtweets/runs/scdie605
5761120
-
Update model preview
7b0c090 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1cztn7lt
66b6e93
-
Update model preview
8cd4231 -
New model from https://wandb.ai/wandb/huggingtweets/runs/10moj9ie
108d89c
-
Update model preview
8fc2f82 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2jhej3mp
708fa6c -
Update model preview
faa0f75 -
New model from https://wandb.ai/wandb/huggingtweets/runs/plyovozc
7f3f71d
-
Update model preview
12fc1ed -
Update model preview
304a111 -
Update model preview
1bfa92c -
Update model preview
2ec8eab -
Update model preview
7b79ab8 -
Update model preview
2974c6b -
Update model preview
f8039a7 -
Update model preview
42409d5 -
Update model preview
6b7de89 -
Update model preview
e3e9a3a -
Update model preview
41e536d -
New model from https://wandb.ai/wandb/huggingtweets/runs/3e8xzpva
3d5d1e0 -
Update model preview
147f010 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1fp0ytyh
c493ee2 -
initial commit
f0d309d