Run this model with HF Jobs
Run jmeadows17/MathT5-base 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/jmeadows17/MathT5-base. 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/jmeadows17/MathT5-base 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 jmeadows17/MathT5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jmeadows17/MathT5-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jmeadows17/MathT5-base") model = AutoModelForSeq2SeqLM.from_pretrained("jmeadows17/MathT5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
4d71fff
1
Parent(s): da41eb2
Update README.md
Browse files8 unmodified lines91011121314158 unmodified lines**To use MathT5 easily:**1. Download ```MathT5.py``` to your working directory.2. ```from MathT5 import load_model, inference```3. ```tokenizer, model = load_model("jmeadows17/MathT5-base")```4. ```inference(prompt, tokenizer, model)```8 unmodified lines91011121314158 unmodified lines**To use MathT5 easily:**1. Download ```MathT5.py```.2. ```from MathT5 import load_model, inference```3. ```tokenizer, model = load_model("jmeadows17/MathT5-base")```4. ```inference(prompt, tokenizer, model)```
README.md+1-1