Git Product home page Git Product logo

puffin's Introduction

Puffin

Test your English language skills!

License MIT

About

Puffin is a Web App with two games BERTMatch and BERTQuiz. It uses a pretrained neural network to compute semantic similarity and evaluate user response. BERTQuiz is a Reading Comprehension game and BERTMatch checks how well one can paraphrase a sentence.

Requirements ๐Ÿ”ง

  • Python, Flask, Tensorflow, etc as listed in requirements.txt

Installation ๐Ÿ”Œ

1. Clone this repo

ress the Fork button (on the top right corner of the page) to save a copy of this project on your account. Download the repository as follows:

git clone https://github.com/sramakrishnan247/Puffin

2. Install all required dependencies

Python and its dependencies

apt-get install -y python python-setuptools python-dev build-essential python-pip 

3. Install and Configure Web Server

Install Python Flask and Tensorflow dependencies

pip install -r requirements.txt

4. Start Web Server

Start web server

FLASK_APP=app.py flask run --host=0.0.0.0

5. Test

Open a browser and go to URL

http://localhost:5000   
Enjoy!

UI

Homepage

Homepage

BERT Quiz

BERT Quiz

NLP Experiments

We build and experiment with different deep learning models to predict the semantic similarity between two sentences. From our experiments, we observed that the transformer based BERT models outperformed the LSTM network and also trained faster. Moreover, the BERT models that were finetuned with a Bi-directional LSTM gave a much better performance than the BERT model that was not finetuned to the specific task of semantic similarity recognition. We have developed two games, BertMatch(Paraphrase a sentence) and BertQuiz(Reading Comprehension), both of which are fun to play and a good way to learn English language!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.