Giter Site home page Giter Site logo

ajitkumar15 / nlp-for-sanskrit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from goru001/nlp-for-sanskrit

0.0 0.0 0.0 1.38 MB

State of the Art Language models and Classifier for Sanskrit language (ancient indian language)

License: MIT License

Python 0.01% Jupyter Notebook 99.99%

nlp-for-sanskrit's Introduction

NLP for Sanskrit

This repository contains State of the Art Language models and Classifier for Sanskrit, which is an ancient Indian language.

The models trained here have been used in Natural Language Toolkit for Indic Languages (iNLTK)

Dataset

Created as part of this project

  1. Sanskrit Wikipedia Articles

  2. Sanskrit Shlokas Dataset

Results

Language Model Perplexity

Architecture/Dataset Sanskrit Wikipedia Articles
ULMFiT ~6
TransformerXL ~3

Classification Metrics

ULMFiT
Dataset Accuracy Kappa Score
Sanskrit Shlokas Dataset 84.3 76.1

Visualizations

Embedding Space
Architecture Visualization
ULMFiT Embeddings projection
TransformerXL Embeddings projection

Pretrained Language Model

Download pretrained Language Model from here

Classifier

Download classifier from here

Tokenizer

Trained tokenizer using Google's sentencepiece

Download the trained model and vocabulary from here

nlp-for-sanskrit's People

Contributors

goru001 avatar

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.