Data Science stuff that I find interesting are here. Please ⭐ the repo, if you find it interesting.
- BatchNorm
- AutoEncoders - Compares PCA vs AutoEncoders. Working example for Dense & Convolutional AutoEncoder
- Variational AutoEncoders - Compares AutoEncoders vs VAEs for generative modelling & their latent spaces. Implements CVAE from tensorflow tutorial & visualizes the latent spaces
- WhiteDistance - Metric to calculate similarity between texts
- TextGeneration - Copy of Karpathy's work really
- Seq2Seq - Notebook for a word based Encoder-Decoder Seq2Seq network for English to Spanish translation
- Attention - An extension of previous Seq2Seq work which uses
attention
mechanism for english to spanish translation - Transformers - Implements individual components of a transformer from scratch
- BertTextClassification - Using BERT for fake news classification. Dataset was obtained from Kaggle here
Will add more methods as I study them
- stitch_images - Script to create a single image stitched horizontally or vertically from a list of images
- csv_stats.sh - Simple shell script to give summary of all csv files
- code_snipets - Utility Script
A simple app which translates english sentence to spanish. It uses an attention based Seq2Seq model. Try and run this app on your local machine -
Streamlit is an open source framework that let's users create web apps very easily.
- Install streamlit
- Clone the repo & navigate to translate_appdirectory
- Run the app
streamlit run streamlit_app.py
- Go to localhost:8051
- Install tensorflow 2.0 and sanic
- Clone the git repo
- Navigate to translate_app directory
- Run server on localhost:5000/translate.
python server.py
- Evaluate by making curl request at the above url with
input_sentence
as a parameter. Pass in the desired English sentence as value with it.
curl -X POST -H "Content-Type: application/json" -d '{"input_sentence":"What did you decide?"}' "localhost:5000/translate"
- Alternatively, you could run the script
make_requests.py
and change the sentences insentences
list.
More interesting stuff to follow