Instructions to use IMISLab/GreekT5-mt5-small-greeksum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IMISLab/GreekT5-mt5-small-greeksum 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="IMISLab/GreekT5-mt5-small-greeksum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("IMISLab/GreekT5-mt5-small-greeksum") model = AutoModelForSeq2SeqLM.from_pretrained("IMISLab/GreekT5-mt5-small-greeksum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 048dfe403d29f78e0ef321422e641d8511989136480985111cce068394a43c50
- Size of remote file:
- 4.22 kB
- SHA256:
- 34295b08d54e1850aaf9eaa305c0407a66847621f8c08c51dd1a5fc4b95d30c7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.