Run this model with HF Jobs
Run rcodina/tm2 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/rcodina/tm2. 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/rcodina/tm2 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.
Instructions to use rcodina/tm2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use rcodina/tm2 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://rcodina/tm2") - Notebooks
- Google Colab
- Kaggle
Set `library_name` to `tf-keras`.
Model 'rcodina/tm2' seems to be compatible only with "Keras 2" and not "Keras 3". To distinguish them, models compatible with legacy Keras 2.x should be tagged as tf-keras while models compatible with Keras 3.x are tagged as keras.
This PR updates the model card to replace the explicit library_name: keras metadata which is now outdated by library_name: tf-keras. Updating this metadata will facilitate its discoverability and usage.
For more information about keras and tf-keras library names, check out this pull request: https://github.com/huggingface/huggingface.js/pull/774.