Instructions to use paragon-analytics/t5_para with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use paragon-analytics/t5_para with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("paragon-analytics/t5_para") model = AutoModelForSeq2SeqLM.from_pretrained("paragon-analytics/t5_para", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e55b938
1
Parent(s): ef8d623
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ license: "mit"
|
|
| 4 |
|
| 5 |
This model takes text as input and returns the top five paraphrased versions of the input text. The T5 model is fine-tuned using persuasive ad transcripts.
|
| 6 |
|
| 7 |
-
Example
|
| 8 |
|
| 9 |
```python
|
| 10 |
import torch
|
|
|
|
| 4 |
|
| 5 |
This model takes text as input and returns the top five paraphrased versions of the input text. The T5 model is fine-tuned using persuasive ad transcripts.
|
| 6 |
|
| 7 |
+
Example usage:
|
| 8 |
|
| 9 |
```python
|
| 10 |
import torch
|