All Projects → KotlinNLP → Simplednn

KotlinNLP / Simplednn

Licence: mpl-2.0
SimpleDNN is a machine learning lightweight open-source library written in Kotlin designed to support relevant neural network architectures in natural language processing tasks

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Simplednn

Reading comprehension tf
Machine Reading Comprehension in Tensorflow
Stars: ✭ 37 (-54.32%)
Mutual labels:  artificial-intelligence, natural-language-processing, recurrent-neural-networks
Attention Mechanisms
Implementations for a family of attention mechanisms, suitable for all kinds of natural language processing tasks and compatible with TensorFlow 2.0 and Keras.
Stars: ✭ 203 (+150.62%)
Mutual labels:  natural-language-processing, recurrent-neural-networks, attention-mechanism
Keras Attention
Visualizing RNNs using the attention mechanism
Stars: ✭ 697 (+760.49%)
Mutual labels:  natural-language-processing, recurrent-neural-networks, attention-mechanism
Ai Reading Materials
Some of the ML and DL related reading materials, research papers that I've read
Stars: ✭ 79 (-2.47%)
Mutual labels:  artificial-intelligence, recurrent-neural-networks
Isab Pytorch
An implementation of (Induced) Set Attention Block, from the Set Transformers paper
Stars: ✭ 21 (-74.07%)
Mutual labels:  artificial-intelligence, attention-mechanism
Textclassifier
Text classifier for Hierarchical Attention Networks for Document Classification
Stars: ✭ 985 (+1116.05%)
Mutual labels:  recurrent-neural-networks, attention-mechanism
Ciff
Cornell Instruction Following Framework
Stars: ✭ 23 (-71.6%)
Mutual labels:  artificial-intelligence, natural-language-processing
Thot
Thot toolkit for statistical machine translation
Stars: ✭ 53 (-34.57%)
Mutual labels:  artificial-intelligence, natural-language-processing
Coursera Natural Language Processing Specialization
Programming assignments from all courses in the Coursera Natural Language Processing Specialization offered by deeplearning.ai.
Stars: ✭ 39 (-51.85%)
Mutual labels:  artificial-intelligence, natural-language-processing
Comet
A Neural Framework for MT Evaluation
Stars: ✭ 58 (-28.4%)
Mutual labels:  artificial-intelligence, natural-language-processing
Chicksexer
A Python package for gender classification.
Stars: ✭ 64 (-20.99%)
Mutual labels:  natural-language-processing, recurrent-neural-networks
Named Entity Recognition
name entity recognition with recurrent neural network(RNN) in tensorflow
Stars: ✭ 20 (-75.31%)
Mutual labels:  natural-language-processing, recurrent-neural-networks
Global Self Attention Network
A Pytorch implementation of Global Self-Attention Network, a fully-attention backbone for vision tasks
Stars: ✭ 64 (-20.99%)
Mutual labels:  artificial-intelligence, attention-mechanism
Hackerrank
This is the Repository where you can find all the solution of the Problems which you solve on competitive platforms mainly HackerRank and HackerEarth
Stars: ✭ 68 (-16.05%)
Mutual labels:  artificial-intelligence, natural-language-processing
Ml Classify Text Js
Machine learning based text classification in JavaScript using n-grams and cosine similarity
Stars: ✭ 38 (-53.09%)
Mutual labels:  artificial-intelligence, natural-language-processing
Spago
Self-contained Machine Learning and Natural Language Processing library in Go
Stars: ✭ 854 (+954.32%)
Mutual labels:  artificial-intelligence, natural-language-processing
Sangita
A Natural Language Toolkit for Indian Languages
Stars: ✭ 43 (-46.91%)
Mutual labels:  natural-language-processing, recurrent-neural-networks
Se3 Transformer Pytorch
Implementation of SE3-Transformers for Equivariant Self-Attention, in Pytorch. This specific repository is geared towards integration with eventual Alphafold2 replication.
Stars: ✭ 73 (-9.88%)
Mutual labels:  artificial-intelligence, attention-mechanism
Awesome Ai Ml Dl
Awesome Artificial Intelligence, Machine Learning and Deep Learning as we learn it. Study notes and a curated list of awesome resources of such topics.
Stars: ✭ 831 (+925.93%)
Mutual labels:  artificial-intelligence, natural-language-processing
Riceteacatpanda
repo with challenge material for riceteacatpanda (2020)
Stars: ✭ 18 (-77.78%)
Mutual labels:  artificial-intelligence, natural-language-processing

SimpleDNN Maven Central Build Status

SimpleDNN is a machine learning lightweight open-source library written in Kotlin whose purpose is to support the development of feed-forward and recurrent Artificial Neural Networks.

SimpleDNN is part of KotlinNLP and has been designed to support relevant neural network architectures in natural language processing tasks such as pos-tagging, syntactic parsing and named-entity recognition.

As it is written in Kotlin it is interoperable with other JVM languages (e.g. Java and Scala). Mathematical operations within the library are performed with jblas. Different libraries can be used instead, although during our experiments it proved to be the fastest. The effort required is minimum as the essential mathematical functions are wrapped in a single package and fully tested — saving you valuable time.

Note

SimpleDNN does not use the computational graph model and does not perform automatic differentiation of functions.

In case you are looking for state-of-the-art technology to create sophisticated flexible network architectures, you should consider the following libraries:
PyTorch, DyNet,
Keras, TensorFlow and Deeplearning4j

If instead a simpler yet well structured neural network almost ready to use is what you need, then you are in the right place!

Introduction

Building a basic Neural Network with SimpleDNN does not require much more effort than just configuring a stack of layers, with one input layer, any number of hidden layers, and one output layer:

/**
  * Create a fully connected neural network with an input layer with dropout,
  * two hidden layers with ELU activation function and an output one with 
  * Softmax activation for classification purpose.
  */
val network = StackedLayersParameters(
    LayerInterface( // input layer
        size = 784, 
        dropout = 0.25),
    LayerInterface( // first hidden layer
        size = 100,
        activationFunction = ELU(),
        connectionType = LayerType.Connection.Feedforward),
    LayerInterface( // second hidden layer
        size = 100, 
        ctivationFunction = ELU(),
        connectionType = LayerType.Connection.Feedforward),
    LayerInterface( // output layer
        size = 10,
        activationFunction = Softmax(),
        connectionType = LayerType.Connection.Feedforward))

Getting Started

Import with Maven

<dependency>
    <groupId>com.kotlinnlp</groupId>
    <artifactId>simplednn</artifactId>
    <version>0.14.0</version>
</dependency>

Examples

Try some examples of usage of SimpleDNN running the files in the examples folder.

To make the examples working download the datasets here, then set their paths copying the file example/config/configuration.yml.example to example/config/configuration.yml and editing it properly.

License

This software is released under the terms of the Mozilla Public License, v. 2.0

Contributions

We greatly appreciate any bug reports and contributions, which can be made by filing an issue or making a pull request through the github page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].