Run this model with HF Jobs
Run keras/t5_small_multi on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/keras/t5_small_multi. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/keras/t5_small_multi on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/keras/t5_small_multi. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/keras/t5_small_multi. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use keras/t5_small_multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/t5_small_multi with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/t5_small_multi") - Keras
How to use keras/t5_small_multi with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://keras/t5_small_multi") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files1234543 unmodified lines4950515253---library_name: keras-hub---## Model Overview⚠️ T5 is currently only available via the `keras-hub-nightly` package. Use `pip install keras-hub-nightly` to try this model.43 unmodified lineslayer normalization layers in the Transformer layers.- __tie_embedding_weights__: boolean. If `True`, the weights of the tokenembedding and the weights projecting language model outputs from`hidden_dim`12345678943 unmodified lines53545556---library_name: keras-hublicense: apache-2.0tags:- text-classification- keras---## Model Overview⚠️ T5 is currently only available via the `keras-hub-nightly` package. Use `pip install keras-hub-nightly` to try this model.43 unmodified lineslayer normalization layers in the Transformer layers.- __tie_embedding_weights__: boolean. If `True`, the weights of the tokenembedding and the weights projecting language model outputs from`hidden_dim`
README.md+5-2