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")# pip install -U transformers accelerate # 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
Download tokenizer.json from kriton/greek-text-summarization: direct link, hf CLI and curl.
- Browser
- Download file 16.3 MB
-
https://huggingface.co/kriton/greek-text-summarization/resolve/main/tokenizer.json
- Command line
-
hf download hf://kriton/greek-text-summarization/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/kriton/greek-text-summarization/resolve/main/tokenizer.json
16.3 MB
- Xet hash:
- 01e5f2c0a29613801806ea8aacbc5e68766b668f023cab788416157508550eb2
- Size of remote file:
- 16.3 MB
- SHA256:
- 417fadd0d4efdba431cbfe9a351f2b6573da45691af776f42b77b14978dc1d80
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.