Code Monkey home page Code Monkey logo

tensorflow-nlp's Introduction

Build Status

tensorflow-NLP

This repository implements a Tensorflow framework for performing Natural Language Processing (NLP) tasks. This repository contains scripts and libraries for different programming languages.

  • Python for creating neural networks, performing train and test, exporting network models.

  • Java for loading pretrained network models, performing inference or serving them in production.

  • Node.js for loading pretrained network models, performing test and inference.

Why tensorflow-NLP?

The aim of this framework is to allow to easily design networks for any NLP task, using modular code and always maintaining the same input/output structure. This is extremely useful if your main use case is the deploy of a saved model in production, even if you want to access to this model using different programming languages.

The effectiveness of this framework is demonstrated by the fact it's possible to evaluate all the networks currently implemented, on different tasks, using the same script.

Usage:

Instructions on how to install, configure and run everything are present in the README of their specific language directory. You should start from the Python library and train any network from scratches. Then it's possible to perform inference on it using a Python, Java o Node.js script.

Note: some naive datasets are provided in the data/dataset/ folder. They should be used only for testing if a network is working properly as they are too small and the network will overfit or diverge. Here you can find some download links for real datasets.

Some features!!!

Monitor the training procedure, thanks to logs and confusion matrices. Save summaries for TensorBoard.

Train epoch example

Interactive inference in Python.

Interactive inference

Current state: Text Classification and Sequence Tagging tasks succesfully implemented in Python and Java. Working on: Sequence2Sequence task, Dataset API, Node.js scripts.

tensorflow-nlp's People

Contributors

alsora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.