Downloads · 30 days
0
Nizaress/e2r-gan
e2r-gan is a machine learning model from Nizaress. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2025
Repo size
2 GB
Likes
0
Public
Click a slice to open those files.
.pth2 GB · 100%
From the Hugging Face model README
Autor: Nizar Nortes Pastor
Este modelo basado en un sistema de redes generativas adversativas (GAN) está enfocado en la facilitación automática de textos en español. Usa un generador basado en T5 y un discriminador basado en BERT.
gan = TextSimplificationGAN()
gan.load_model('text_simplification_gan.pth')
texto_original = "Texto a simplificar"
simplificado = gan.generator.generate_simplified(texto_original)
print(simplificado)
La clase TextSimplificationGAN la encontramos en el repositorio de GitHub con el código desarrollado para este TFG.