Text Generation
Transformers
PyTorch
TensorBoard
t5
text2text-generation
conversational
text-generation-inference
Instructions to use zelalt/Chatbot_T5-Prmtrs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zelalt/Chatbot_T5-Prmtrs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="zelalt/Chatbot_T5-Prmtrs")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("zelalt/Chatbot_T5-Prmtrs") model = AutoModelForSeq2SeqLM.from_pretrained("zelalt/Chatbot_T5-Prmtrs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zelalt/Chatbot_T5-Prmtrs with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zelalt/Chatbot_T5-Prmtrs" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zelalt/Chatbot_T5-Prmtrs", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/zelalt/Chatbot_T5-Prmtrs
- SGLang
How to use zelalt/Chatbot_T5-Prmtrs 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 "zelalt/Chatbot_T5-Prmtrs" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zelalt/Chatbot_T5-Prmtrs", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "zelalt/Chatbot_T5-Prmtrs" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zelalt/Chatbot_T5-Prmtrs", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use zelalt/Chatbot_T5-Prmtrs with Docker Model Runner:
docker model run hf.co/zelalt/Chatbot_T5-Prmtrs
Commit History
-
Update README.md
f341baa -
Update README.md
7ce76c0 -
Update README.md
367b5d4 -
Update README.md
4471547 -
Create README.md
a128f60
-
Upload tokenizer
1598bd6 -
Training in progress, step 8500
2e10329 -
Training in progress, step 8000
cb29d64 -
Training in progress, step 7500
93e27c3 -
Training in progress, step 7000
d2627eb -
Training in progress, step 6500
6706b79 -
Training in progress, step 6000
81e83ea -
Training in progress, step 5500
8b4b640 -
Training in progress, step 5000
db2eb60 -
Training in progress, step 4500
09f2d9c -
Training in progress, step 4000
a681418 -
Training in progress, step 3500
52b71c4 -
Training in progress, step 3000
291ca40 -
Training in progress, step 2500
22f2152 -
Training in progress, step 2000
df957d9 -
Training in progress, step 1500
5efd26b -
Training in progress, step 1000
c591e51 -
Training in progress, step 500
cef054d -
Training in progress, step 4500
7f59dda -
Training in progress, step 4000
0c01eb5 -
Training in progress, step 3500
b3b6667 -
Training in progress, step 3000
490485f -
Training in progress, step 2500
a47bb44 -
Training in progress, step 2000
9d4c883
-
Training in progress, step 1500
a9df7ce -
Training in progress, step 1000
3ec622e -
Training in progress, step 500
7851df2 -
initial commit
598b6c0