Update README.md

This commit is contained in:
Prithiviraj Damodaran 2021-05-11 06:50:46 +00:00 committed by huggingface-web
parent 845ef10820
commit efbc2b90f5
1 changed files with 1 additions and 37 deletions

View File

@ -1,7 +1,7 @@
# Parrot
## 1. What is Parrot?
Parrot is a paraphrase based utterance augmentation framework purpose built to accelerate training NLU models. A paraphrase framework is more than just a paraphrasing model. Please refer to the [github page](https://github.com/PrithivirajDamodaran/Parrot)
Parrot is a paraphrase based utterance augmentation framework purpose built to accelerate training NLU models. A paraphrase framework is more than just a paraphrasing model. More details on the library and usage please refer to the [github page](https://github.com/PrithivirajDamodaran/Parrot)
### Installation
@ -68,42 +68,6 @@ list some famous places which we should not miss in russia?
```
### How to get syntactic and phrasal diversity/variety in your paraphrases using parrot?
You can play with the do_diverse knob (check out the next section for more knobs).
Consider this example: do_diverse = False (default)
```
------------------------------------------------------------------------------
Input_phrase: The ultimate test of your knowledge is your capacity to convey it to another.
------------------------------------------------------------------------------
'the final test of knowledge is your capacity to impart it '
'the ultimate test of a person's knowledge is his ability to transmit it to another '
'the ultimate test of knowledge is the ability to communicate it to another '
'the ultimate test of knowledge is your ability to communicate it to others '
'the test of your knowledge is your capacity to communicate it to others '
'the ultimate test for knowledge is the capacity to show it to another '
'the ultimate test of your knowledge is your ability to transmit to others '
'the ultimate test of a knowledge is your capacity to communicate it to another '
'the ultimate test of knowledge is your capacity to transmit it to another '
'the final test of your knowledge is your ability to convey it to another '
```
do_diverse = True
```
------------------------------------------------------------------------------
Input_phrase: The ultimate test of your knowledge is your capacity to convey it to another.
------------------------------------------------------------------------------
'one of the ultimate tests of knowledge is your ability to communicate it to another person '
'one of the ultimate tests of knowledge is your ability to transmit it to another person '
'one of the ultimate tests of knowledge is your ability to communicate it to another '
'one of the greatest tests of knowledge is your ability to convey it to another '
'one of the ultimate tests of knowledge is your ability to transmit it to another '
'one of the ultimate tests of knowledge is your ability to convey it to another person '
'one of the ultimate tests of knowledge is the ability to convey it to another '
'the ultimate test of your knowledge is your ability to communicate it to another '
'the ultimate test of your knowledge is your ability to transmit it to another '
```
### Knobs
```python