Instructions to use ELiRF/NASCA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ELiRF/NASCA 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="ELiRF/NASCA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ELiRF/NASCA") model = AutoModelForSeq2SeqLM.from_pretrained("ELiRF/NASCA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
José Ángel González commited on
Commit ·
0b59321
1
Parent(s): 20fa076
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ More details about the pretraining/finetuning datasets and the models soon:
|
|
| 24 |
|
| 25 |
@unpublished{NAS,
|
| 26 |
author = "Vicent Ahuir, Lluís-F. Hurtado , José Ángel González and Encarna Segarra",
|
| 27 |
-
title = "
|
| 28 |
abstractive summarization in Catalan and Spanish",
|
| 29 |
note = "Submitted to the Special Issue on Current Approaches and Applications in Natural Language Processing (Applied Sciences)",
|
| 30 |
}
|
|
|
|
| 24 |
|
| 25 |
@unpublished{NAS,
|
| 26 |
author = "Vicent Ahuir, Lluís-F. Hurtado , José Ángel González and Encarna Segarra",
|
| 27 |
+
title = "NASCA and NASES : Two monolingual pre-trained models for
|
| 28 |
abstractive summarization in Catalan and Spanish",
|
| 29 |
note = "Submitted to the Special Issue on Current Approaches and Applications in Natural Language Processing (Applied Sciences)",
|
| 30 |
}
|