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") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("zelalt/Chatbot_T5-Prmtrs") model = AutoModelForSeq2SeqLM.from_pretrained("zelalt/Chatbot_T5-Prmtrs") - 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
Training in progress, step 500
Browse files- pytorch_model.bin +1 -1
- runs/Jul15_00-41-46_1463995ba710/1689381708.5692053/events.out.tfevents.1689381708.1463995ba710.4862.5 +3 -0
- runs/Jul15_00-41-46_1463995ba710/events.out.tfevents.1689381708.1463995ba710.4862.4 +3 -0
- runs/Jul15_00-41-58_1463995ba710/1689381720.6085966/events.out.tfevents.1689381720.1463995ba710.4862.7 +3 -0
- runs/Jul15_00-41-58_1463995ba710/events.out.tfevents.1689381720.1463995ba710.4862.6 +3 -0
- runs/Jul15_00-42-12_1463995ba710/1689381734.4609065/events.out.tfevents.1689381734.1463995ba710.4862.9 +3 -0
- runs/Jul15_00-42-12_1463995ba710/events.out.tfevents.1689381734.1463995ba710.4862.8 +3 -0
- training_args.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 242071641
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9169de5b08a2fbba9ea4413ce820c72cd0473913ff40353ea6c3a4577f3687ee
|
| 3 |
size 242071641
|
runs/Jul15_00-41-46_1463995ba710/1689381708.5692053/events.out.tfevents.1689381708.1463995ba710.4862.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00f8adb7347e0cd540d09feff706038b538e319717634eb9e2cafca71641a4b7
|
| 3 |
+
size 6201
|
runs/Jul15_00-41-46_1463995ba710/events.out.tfevents.1689381708.1463995ba710.4862.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4e6b9b8803fc406386e9fe276eb2f9ed6ec178f3e76c37f16a1bced4d3114a0
|
| 3 |
+
size 4972
|
runs/Jul15_00-41-58_1463995ba710/1689381720.6085966/events.out.tfevents.1689381720.1463995ba710.4862.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0ffb2324487ea034595ec26117a92b3e8026901d72fd14f646ce149fdcc3dcc
|
| 3 |
+
size 6201
|
runs/Jul15_00-41-58_1463995ba710/events.out.tfevents.1689381720.1463995ba710.4862.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:576489994dfac725f3ab64dae9dcb5d25e78a762f95dfb27a020826c04e3c86f
|
| 3 |
+
size 4972
|
runs/Jul15_00-42-12_1463995ba710/1689381734.4609065/events.out.tfevents.1689381734.1463995ba710.4862.9
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa6bcbdee88c5c0c0511bfa5caa2b1a79c907dac9f243e465a7387ae70ac9def
|
| 3 |
+
size 6201
|
runs/Jul15_00-42-12_1463995ba710/events.out.tfevents.1689381734.1463995ba710.4862.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72068224c92a51f0a1aa012a3b9424de5c58b66d19bcf139e10247ac9a3ba0eb
|
| 3 |
+
size 5129
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4091
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e82ee2235316ead474650ef5a63643bd4183b950d091faaf564943453a4d3fb1
|
| 3 |
size 4091
|