Skip to content

Commit

Permalink
integracion del transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaime Sendra committed Aug 25, 2020
1 parent a14163d commit 267a36c
Show file tree
Hide file tree
Showing 7 changed files with 1,277 additions and 21 deletions.
6 changes: 4 additions & 2 deletions mlearner/nlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
from .cnn import DCNN
from .utils import Processor_data, open_txt
from mlearner.nlp import helpers
from .cnn_advanced import DCNN_Advanced
from .transformer import Transformer

__all__ = ["DCNN", "Processor_data", "open_txt", "helpers"]

__all__ = ["DCNN", "Processor_data", "open_txt", "helpers", "DCNN_Advanced",
"Transformer"]
10 changes: 10 additions & 0 deletions mlearner/nlp/cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
import tensorflow as tf
from tensorflow.keras import layers

"""
Based on https://www.udemy.com/course/procesamiento-del-lenguaje-natural/learn/lecture/21502260#overview
Author: Juan Gabriel Gomila
Course: "Procesamiento del Lenguaje Natural Moderno en Python.
Original Text: https://arxiv.org/pdf/1404.2188.pdf
"""


class DCNN(tf.keras.Model):
"""
Expand Down
Loading

0 comments on commit 267a36c

Please sign in to comment.