Summarization
Transformers
PyTorch
t5
text2text-generation
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Instructions to use Andyrasika/summarization_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Andyrasika/summarization_model with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="Andyrasika/summarization_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Andyrasika/summarization_model") model = AutoModelForSeq2SeqLM.from_pretrained("Andyrasika/summarization_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
8b7c0ec | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9dc1b7929b4e3646c5d831f361971cba34f3e1cf5c32af74697db7d66c1ef3d5
size 242071641
|