Text Generation
Transformers
TensorBoard
Safetensors
t5la
Generated from Trainer
Eval Results (legacy)
Instructions to use hrezaei/T5La-Large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hrezaei/T5La-Large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="hrezaei/T5La-Large")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("hrezaei/T5La-Large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hrezaei/T5La-Large with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hrezaei/T5La-Large" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hrezaei/T5La-Large", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/hrezaei/T5La-Large
- SGLang
How to use hrezaei/T5La-Large 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 "hrezaei/T5La-Large" \ --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": "hrezaei/T5La-Large", "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 "hrezaei/T5La-Large" \ --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": "hrezaei/T5La-Large", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use hrezaei/T5La-Large with Docker Model Runner:
docker model run hf.co/hrezaei/T5La-Large
Commit History
-
End of training
5354973 -
Model save
8f0539d -
Training in progress, epoch 1
fb8414e -
Training in progress, epoch 1
2e6914e -
Training in progress, epoch 1
78724fd
-
Training in progress, epoch 0
9bf0f82 -
Training in progress, epoch 0
a53e90e -
Training in progress, epoch 0
92d0e09 -
Training in progress, epoch 0
9ee8138 -
Training in progress, epoch 0
ff5d652 -
Training in progress, epoch 0
a77f41b -
Training in progress, epoch 0
a9f3f40 -
Training in progress, epoch 0
a6529c3 -
Training in progress, epoch 0
ac4005e -
Training in progress, epoch 0
a54f7c0 -
Training in progress, epoch 0
052036b -
Training in progress, epoch 0
9e846c5 -
Training in progress, epoch 0
5d9fb09 -
Training in progress, epoch 0
3843a15 -
Training in progress, epoch 0
ce1d3d9 -
Training in progress, epoch 0
a29ba5b -
Training in progress, epoch 0
d552d23 -
Training in progress, epoch 0
34a1a6b
-
Training in progress, epoch 0
b641438 -
Training in progress, epoch 0
31e4485 -
Training in progress, epoch 0
7bb6121 -
Training in progress, epoch 0
03009ee -
Training in progress, epoch 0
19de2c7 -
Training in progress, epoch 0
8803522 -
Training in progress, epoch 0
0d1821e -
Training in progress, epoch 0
a3810f2 -
Training in progress, epoch 0
9e25ed5 -
Training in progress, epoch 0
b85e3b0
-
Training in progress, epoch 0
0040211 -
End of training
92bf1d5 -
Model save
456720e -
Training in progress, step 10
8f10541 -
initial commit
aa6d574