Skip to content

camara94/natural-language-processing-tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

natural-language-processing-tensorflow

Natural Language processing in tensorflow

Word Encoding

image

Same With ASCI CODE

With asci analysis the word LISTEN and SILENT* are the same value but the two words are very differents of meaning. image

How Sentiment Analysis Work

image

  • How we can observed the similarity between two words

image

  • Now if we look at the two sentences to determine the difference between two sentences.

image

How To Analyse The Synthaxe

image

Creating The List Of Sequences

image

Complete Analysis Corpus

image

Padding Sequences

image

Result Of Padding Sequence

image

Personnalize Padding

image

Sarcasm in News Headlines Dataset by Rishabh Misra

https://rishabhmisra.github.io/publications/

How To Load Sarcasm Dataset

image

How To Analysis Sarcasm Dataset

image

Sarcasm Detection

Build-in Dataset In Tensorflow

image

Dataset

image

Verify Tensorflow Version

image

Import Tensorflow Dataset

image

Split data

image

image

image

image

Tokenizer

image

Model

image

OR

image

image

Training Model

image

Expect Layer

image

Reverse Word Index

image

Vecteor In Embedded Data

image

Download In Colab

image

image

Model For Sarcasm Dataset

Importation of Tokenizer And Pad_sequence

image

Hyper Parameters

image

Download Sarcasm Dataset

image

Loading Sarcasm Dataset

image

Building a classifier for the sarcasm dataset

image

Sequence Dataset

image

Create A Model

image

Summarization Of Model

image

Training The Model

image

Plotting The Result Of Training

image

image

TensorFlow datasets

Subwords text encoder

Diving into the code: Encode And Decode

image

image

Classify Sub Word

image

image

image

RNN

The neural Network is kind a function that we can a data and label it give a rules

image

image

image

How RNN Work

image

Visualize A Sequence

image

image

More About RNN

How To Understang The Context Of Word

image

Uni Directional Cell State

image

Bi Directional Cell State

image

How To Implement LSTM in Tensorflow

image

How To Stack LSTM

image

More About LSTMs

Generation A New Text Process

image

Preparing the training data

image

image

image

image

image

image

image

More on the training data

image

image

image

Finding what the next word should be

image

Example of Text Generated

image

Use Bidirectional LSTM

image

Example After Training With Bidirectional LSTM

image

Predicting a word

image

  • Tokenize the word to predicting

image

image

  • Padded A Sequence

image

image

  • Passed To Model For Prediction

image

  • Reverse Look out

image

  • Generation By Doing Ten Time

image

  • Result

iamge

Download A Corpus

image

Looking into the code

image

iamge

Userful Link