Instructions to use tuner007/pegasus_paraphrase with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tuner007/pegasus_paraphrase with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tuner007/pegasus_paraphrase") model = AutoModelForSeq2SeqLM.from_pretrained("tuner007/pegasus_paraphrase", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training a paraphrase model in other language
#3
by thebluetick - opened
I have tested the model and am very impressed with its inference. Currently, I am also training a similar paraphrase model for Vietnamese, but the results are often grammatically incorrect and do not retain the entities in the sentence. Any suggestions to keep entities in a sentence?
Currently there is no PEGASUS model for Vietnamese language, so I use T5 instead. Is that part of the problem?