Instructions to use Roaoch/t5_toxicity_adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Roaoch/t5_toxicity_adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("ai-forever/ruT5-base") model = PeftModel.from_pretrained(base_model, "Roaoch/t5_toxicity_adapter") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,6 +16,6 @@ library_name: peft
|
|
| 16 |
|
| 17 |
This T5 Lora adapter, finetuned for reducing toxicity for feedbacks and questions on marketplace textes.
|
| 18 |
|
| 19 |
-
Meteor: 0.2087
|
| 20 |
-
RougeLsum: 0.0293
|
| 21 |
-
Bleu: 0.0125
|
|
|
|
| 16 |
|
| 17 |
This T5 Lora adapter, finetuned for reducing toxicity for feedbacks and questions on marketplace textes.
|
| 18 |
|
| 19 |
+
- Meteor: 0.2087
|
| 20 |
+
- RougeLsum: 0.0293
|
| 21 |
+
- Bleu: 0.0125
|