Code Monkey home page Code Monkey logo

Ankit Gupta's Projects

ai_bot_for_playing_pacman icon ai_bot_for_playing_pacman

A deep convolutional neural net (CNN) for playing the well-known arcade game ‘Ms. Pac-Man’ trained using Q-learning (reinforcement learning). Game data is obtained using the ‘OpenAI Gym’. The neural net significantly outperforms all tried uniform-random strategies. We do not inject any prior knowledge in the Q-nets. For instance, we do not explicitly use the distance from the ghosts - the system only has access to the game frames and has to learn everything by itself.

creative_text_generator icon creative_text_generator

A deep recurrent neural net (RNN) for both character-level and word-level language modeling that, given any starting context, generates creative text depending on the training data. Training was done using OANC corpus. Even with probabilistic sampling of character sequences, the RNN almost always outputs valid dictionary words making meaningful sentences.

dlr icon dlr

The accompanying code for "Simplifying and Understanding State Space Models with Diagonal Linear RNNs" (Ankit Gupta, Harsh Mehta, Jonathan Berant).

dss icon dss

Sequence Modeling with Structured State Spaces

english_vietnamese_translator icon english_vietnamese_translator

A recurrent neural net (RNN) based Neural Machine Translator for translating English to Vietnamese built using an Encoder-Decoder model. Training was done using a small-scale parallel corpus of TED talks.

gmat icon gmat

The accompanying code for the paper "GMAT: Global Memory Augmentation for Transformers" (Ankit Gupta and Jonathan Berant).

injecting_numeracy icon injecting_numeracy

The accompanying code for "Injecting Numerical Reasoning Skills into Language Models" (Mor Geva*, Ankit Gupta* and Jonathan Berant, ACL 2020).

sentiment_analysis icon sentiment_analysis

A deep recurrent neural network (RNN) based classifier trained using the IMDb reviews dataset for detecting +ve/-ve sentiment in text. Text is encoded using trainable word embeddings and we get 90% test accuracy. Classifier can then be used to determine the sentiment score on Twitter data collected using the Twitter API.

snapchat_filter icon snapchat_filter

A Snapchat-like application based on the standard pipeline of 1) Face Detection using Histogram of Oriented Gradients (HOG) descriptor, 2) Facial Landmark Estimation using Kazemi-Sullivan and finally, 3) adding overlays/lenses (like funny glasses, etc) to the frames using the previously estimated landmarks.

top_k_attention icon top_k_attention

The accompanying code for "Memory-efficient Transformers via Top-k Attention" (Ankit Gupta, Guy Dar, Shaya Goodman, David Ciprut, Jonathan Berant. SustaiNLP 2021).

value_aware_attn icon value_aware_attn

The accompanying code for "Value-aware Approximate Attention" (Ankit Gupta and Jonathan Berant, EMNLP 2021).

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.