Instructions to use pszemraj/distill-pegasus-CompMath with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pszemraj/distill-pegasus-CompMath with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("pszemraj/distill-pegasus-CompMath") model = AutoModelForSeq2SeqLM.from_pretrained("pszemraj/distill-pegasus-CompMath", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Super-squash branch 'main' using huggingface_hub
Verified signatureCo-authored-by: librarian-bot <librarian-bot@users.noreply.huggingface.co> Co-authored-by: SFconvertbot <SFconvertbot@users.noreply.huggingface.co>3d38aa6