Giter Site home page Giter Site logo

srddev / neurohack Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 458 KB

This project uses a transformer-based neural network to translate English to Hinglish, a colloquial form of Hindi that incorporates English words and phrases. The model is built from scratch using a large dataset of English-Hindi-Hinglish

Jupyter Notebook 100.00%

neurohack's Introduction

NeuroHack

Welcome to NeuroHack, a Machine Learning Hackathon organized by the College of Engineering Pune (COEP). The event is open to students interested in using Machine Learning to solve real-world problems.

Model

This model is available as a Keras model on HuggingFace : model card

from huggingface_hub import from_pretrained_keras

model = from_pretrained_keras("SRDdev/Hin2Hing-Keras_NLP")

Problem Statement

The challenge for this hackathon is to develop a Machine Learning model that can accurately translate English sentences into Hinglish. The dataset provided for training and validation includes English, Hindi, and Hinglish sentences. The test dataset includes only English and Hindi sentences.

Approach

We used Neural Machine Translation using Transformers approach to solve this problem. As there is a lot of similarities in hindi and Hinglish sentence formation, we convert the input english sentence into hindi & then input it to the model which generates a Hinglish sentence.

Dataset

The dataset used for training and validation includes English, Hindi, and Hinglish sentences. The test dataset includes only English and Hindi sentences.

Requirements

To run the code, the following libraries are required:

  • TensorFlow
  • NumPy
  • pandas

Inference

sentence = "Please can you solve this Problem"
output = decode_sequences(sentence)
print(output)
# output : Kripya aap is problem ka samadhan kar sakte he

Contact

In case of any queries or issues, please contact us at [email protected]

neurohack's People

Contributors

srddev avatar

Stargazers

Devansh Khandekar avatar Netal Daga avatar Agnibha Sarkar avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

anoop-qasolve

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.