Instructions to use Baicai003/tiny-t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Baicai003/tiny-t5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Baicai003/tiny-t5")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Baicai003/tiny-t5") model = AutoModel.from_pretrained("Baicai003/tiny-t5") - Notebooks
- Google Colab
- Kaggle
| { | |
| "metadata": { | |
| "total_size": 130348 | |
| }, | |
| "weight_map": { | |
| "decoder.block.0.layer.0.SelfAttention.k.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.0.SelfAttention.o.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.0.SelfAttention.q.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.0.SelfAttention.relative_attention_bias.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.0.SelfAttention.v.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.0.layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.1.EncDecAttention.k.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.1.EncDecAttention.o.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.1.EncDecAttention.q.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.1.EncDecAttention.v.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.1.layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.2.DenseReluDense.wi.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.2.DenseReluDense.wo.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.block.0.layer.2.layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "decoder.embed_tokens.weight": "pytorch_model-00001-of-00002.bin", | |
| "decoder.final_layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.0.SelfAttention.k.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.0.SelfAttention.o.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.0.SelfAttention.q.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.0.SelfAttention.relative_attention_bias.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.0.SelfAttention.v.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.0.layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.1.DenseReluDense.wi.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.1.DenseReluDense.wo.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.block.0.layer.1.layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "encoder.embed_tokens.weight": "pytorch_model-00001-of-00002.bin", | |
| "encoder.final_layer_norm.weight": "pytorch_model-00002-of-00002.bin", | |
| "lm_head.weight": "pytorch_model-00001-of-00002.bin", | |
| "shared.weight": "pytorch_model-00001-of-00002.bin" | |
| } | |
| } | |