|
--- |
|
language: |
|
- pt |
|
thumbnail: "PT Gender-Neutral Rewriter" |
|
tags: |
|
- m2m100 |
|
- pytorch |
|
|
|
widget: |
|
- text: "A Dani é simpática." |
|
--- |
|
|
|
# pt-neural-gender-neutralizer |
|
|
|
## Introduction |
|
|
|
🌈 pt-neural-gender-neutralizer is a fine-tuned M2M100 model trained on the gender-neutral rewriting task for Portuguese 🌈 |
|
|
|
|
|
## Usage |
|
|
|
```python |
|
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM |
|
|
|
tokenizer = AutoTokenizer.from_pretrained("leonorv/pt-neural-gender-neutralizer") |
|
|
|
model = AutoModelForSeq2SeqLM.from_pretrained("leonorv/pt-neural-gender-neutralizer") |
|
``` |
|
|
|
## Additional Information |
|
|
|
- This model is a neural version of the model hosted on https://github.com/leonorv/pt-gender-neutralizer |
|
- The training data for pt-neural-gender-neutralizer can be found on https://github.com/leonorv/pt-gn-datasets |
|
|
|
|