Skip to content

MonsoonNLP/gradio-spanish-flip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

title emoji colorFrom colorTo sdk app_file pinned
Spanish Flip
🇲🇽
blue
pink
gradio
app.py
false

https://huggingface.co/spaces/monsoon-nlp/spanish-flip

Designed for HuggingFace Spaces + Gradio

Flips masculine and feminine words within a Spanish sentence, when appropriate.

How it works: this loads a seq2seq model from these two HuggingFace models:

Both were based on BETO ( https://huggingface.co/dccuchile/beto ) and then trained on sentences which I flipped more programmatically with spaCy.

Applications:

  • gender bias in finetuned models
  • data augmentation for more representation

For help setting up data augmentation (adding or replacing sentences within a dataset) try https://github.com/MonsoonNLP/seq2seq-for-data-augmentation

About

Demo-ing seq2seq model for Spanish and Arabic M<=>F flip of text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages