Nicolas Patry
c2d0ffec8c
Adding a new return_full_text parameter to TextGenerationPipeline. ( #9852 )
...
* Adding a new `return_full_text` parameter to TextGenerationPipeline.
For text-generation, it's sometimes used as prompting text.
In that context, prefixing `generated_text` with the actual input
forces the caller to take an extra step to remove it.
The proposed change adds a new parameter (for backward compatibility).
`return_full_text` that enables the caller to prevent adding the prefix.
* Doc quality.
2021-01-29 10:27:32 +01:00
..
2021-01-07 09:36:14 -05:00
2021-01-20 09:34:27 -05:00
2021-01-19 15:22:17 -05:00
2021-01-28 06:11:52 -05:00
2021-01-29 10:27:32 +01:00
2021-01-27 03:20:09 -05:00
2021-01-27 03:20:09 -05:00
2021-01-21 07:00:11 -05:00
2020-12-07 18:36:34 -05:00
2021-01-06 17:11:42 +01:00
2021-01-07 09:36:14 -05:00
2021-01-07 09:36:14 -05:00
2021-01-27 03:20:09 -05:00
2021-01-07 09:36:14 -05:00
2021-01-07 09:36:14 -05:00
2021-01-06 12:17:24 -05:00
2021-01-27 11:34:21 +03:00
2021-01-28 03:29:12 -05:00
2021-01-06 17:11:42 +01:00
2021-01-27 13:15:23 +03:00
2020-11-25 16:54:59 -05:00
2021-01-19 16:00:15 +01:00
2020-12-22 19:52:47 +01:00
2021-01-27 10:12:15 -05:00
2021-01-28 08:32:46 -05:00
2020-11-17 08:58:45 -05:00
2020-12-16 10:09:57 -05:00
2021-01-02 15:55:07 +01:00
2020-12-07 18:36:34 -05:00
2021-01-27 03:20:09 -05:00
2021-01-27 11:28:11 +01:00
2021-01-05 04:01:30 -05:00
2020-12-07 18:36:34 -05:00
2020-12-22 11:33:44 -05:00
2021-01-06 12:17:24 -05:00
2021-01-28 03:29:12 -05:00
2020-12-02 10:18:28 -05:00
2021-01-12 18:19:38 -05:00
2021-01-05 03:30:46 -05:00
2021-01-26 10:28:21 -05:00
2020-12-27 21:57:50 +01:00
2021-01-25 10:27:12 +01:00
2021-01-27 03:48:18 -05:00
2021-01-28 21:10:46 +01:00
2020-12-22 11:33:44 -05:00
2021-01-27 08:45:09 -05:00
2021-01-28 21:10:46 +01:00