Summarization
Transformers
PyTorch
TensorFlow
Vietnamese
t5
text2text-generation
text-generation-inference
Instructions to use polieste/fastAbs_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use polieste/fastAbs_large 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="polieste/fastAbs_large")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("polieste/fastAbs_large") model = AutoModelForSeq2SeqLM.from_pretrained("polieste/fastAbs_large") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,12 +14,6 @@ widget:
|
|
| 14 |
# ViT5-large Finetuned on `vietnews` Abstractive Summarization
|
| 15 |
|
| 16 |
|
| 17 |
-
State-of-the-art pretrained Transformer-based encoder-decoder model for Vietnamese.
|
| 18 |
-
[](https://paperswithcode.com/sota/abstractive-text-summarization-on-vietnews?p=vit5-pretrained-text-to-text-transformer-for)
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
## How to use
|
| 22 |
-
For more details, do check out [our Github repo](https://github.com/vietai/ViT5) and [eval script](https://github.com/vietai/ViT5/blob/main/eval/Eval_vietnews_sum.ipynb).
|
| 23 |
|
| 24 |
```python
|
| 25 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
|
|
| 14 |
# ViT5-large Finetuned on `vietnews` Abstractive Summarization
|
| 15 |
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
```python
|
| 19 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|