Skip to content

Files

Latest commit

 

History

History
38 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.25 KB

AIChatBot

This was an intednded chatbot workshop. The json file can be provided or you can type one yourself following the code in the repository. I made two files of the same project, so it is easier if people need the Python file version of it

JSON file

aibotsmissaslides

Neural Network

Learned the basics of how activation layers work. Also, we discussed what an epoch is and how it work as well

Screenshot 2023-11-12 at 1 45 05 AM

Installations

!pip install tensorflow==2.7.0.
import tensorflow as tf
from tensorflow.keras.layers import Dense,Activation, Dropout
from tensorflow.keras.optimizers import SGD
from tensorflow.keras.models import Sequential
import pickle

import nltk # this is used for the toolkit fo
nltk.download('punkt') # make sure to download this part for the tokenzaton part
nltk.download('all') # use this for the lementazier for all the nlkt downloads
from nltk.stem import WordNetLemmatizer
from tensorflow import keras
import random
import numpy as np
lementizer = WordNetLemmatizer()