Instructions to use or4cl3ai/Aiden_t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use or4cl3ai/Aiden_t5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="or4cl3ai/Aiden_t5")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("or4cl3ai/Aiden_t5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use or4cl3ai/Aiden_t5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "or4cl3ai/Aiden_t5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "or4cl3ai/Aiden_t5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/or4cl3ai/Aiden_t5
- SGLang
How to use or4cl3ai/Aiden_t5 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 "or4cl3ai/Aiden_t5" \ --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": "or4cl3ai/Aiden_t5", "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 "or4cl3ai/Aiden_t5" \ --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": "or4cl3ai/Aiden_t5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use or4cl3ai/Aiden_t5 with Docker Model Runner:
docker model run hf.co/or4cl3ai/Aiden_t5
Commit History
-
Update README.md
6635468 -
Update README.md
08925b4
-
Update README.md
b79f6e4 -
Update config.json
8705753 -
Update README.md
79f1a8e
-
Update config.json
9360b67
-
Update config.json
a5a4503 -
Update config.json
e1e4f15
-
Update README.md
8b8b54a -
Update README.md
7a4d13e -
Update README.md
c08713c -
Create pytorch_model.bin
275a1f6 -
Update README.md
57e50ce -
Update README.md
f03493c -
Update README.md
d09eca9
-
Update README.md (#2)
- Update README.md (227bde11385f5e6ea5f2feadd34679c3de83fa26) Co-authored-by: Dustin Groves <satan4191@users.noreply.huggingface.co>b301de1
-
Update README.md
e26c9f5
-
Update config.json
623742d
-
Update README.md (#1)
- Update README.md (75ae871f59a51b71088799598659cbc0ee53f51f) Co-authored-by: Dustin Groves <satan4191@users.noreply.huggingface.co>256b5bf
-
Update README.md
73b9980 -
Update README.md
54573d4
-
Update README.md
ab93cd0 -
Update README.md
11b91d8 -
Update README.md
d12ad25 -
Update README.md
f3ab80d -
Update README.md
d15eed0 -
Update README.md
539cfe6
-
Update README.md
b497b26 -
Update README.md
03d0aa7 -
Update config.json
2ce9b44
-
Update config.json
468ddd0
-
Create config.json
7188526
-
Update README.md
7be1177
-
Update README.md
5420eec
-
Update README.md
462edde -
Update README.md
f040279 -
Update README.md
c9ad816 -
initial commit
513e58c