Instructions to use kriton/greek-text-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kriton/greek-text-summarization 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="kriton/greek-text-summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("kriton/greek-text-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("kriton/greek-text-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md e513a1e verified
Update README.md 3b8cd84
Update README.md fa3a50f
Update README.md 7a1210f
kriton commited on
Update README.md e323544
kriton commited on
Create README.md 0e37cf7
kriton commited on
Upload training_args.bin 986ab8f
kriton commited on
Upload tokenizer_config.json 4311124
kriton commited on
Upload tokenizer.json 1553e05
kriton commited on
Upload spiece.model d4eba4d
kriton commited on
Upload special_tokens_map.json 61b9560
kriton commited on
Upload pytorch_model.bin d050349
kriton commited on
Upload config.json 36cb602
kriton commited on
initial commit add738a
kriton commited on