All Projects → snipsco → Snips Nlu Rs

snipsco / Snips Nlu Rs

Licence: other
Snips NLU rust implementation

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Snips Nlu Rs

Delta
DELTA is a deep learning based natural language and speech processing platform.
Stars: ✭ 1,479 (+369.52%)
Mutual labels:  inference, nlu
Oie Resources
A curated list of Open Information Extraction (OIE) resources: papers, code, data, etc.
Stars: ✭ 283 (-10.16%)
Mutual labels:  nlu
aws-lambda-docker-serverless-inference
Serve scikit-learn, XGBoost, TensorFlow, and PyTorch models with AWS Lambda container images support.
Stars: ✭ 56 (-82.22%)
Mutual labels:  inference
Opennars
OpenNARS for Research 3.0+
Stars: ✭ 264 (-16.19%)
Mutual labels:  inference
typeql
TypeQL: the query language of TypeDB - a strongly-typed database
Stars: ✭ 157 (-50.16%)
Mutual labels:  inference
Make A Smart Speaker
A collection of resources to make a smart speaker
Stars: ✭ 268 (-14.92%)
Mutual labels:  nlu
tf-cpp-pose-estimation
Tensorflow C++ examples for Visual Studio. Features Pose Estimation and various techniques to utilize the Tensorflow C++ interface
Stars: ✭ 23 (-92.7%)
Mutual labels:  inference
Identywaf
Blind WAF identification tool
Stars: ✭ 291 (-7.62%)
Mutual labels:  inference
Rnn For Joint Nlu
Tensorflow implementation of "Attention-Based Recurrent Neural Network Models for Joint Intent Detection and Slot Filling" (https://arxiv.org/abs/1609.01454)
Stars: ✭ 281 (-10.79%)
Mutual labels:  nlu
Wren
Wren enables users to discover and explore daily news stories 🗞️📻 📺
Stars: ✭ 261 (-17.14%)
Mutual labels:  nlu
Chaidnn
HLS based Deep Neural Network Accelerator Library for Xilinx Ultrascale+ MPSoCs
Stars: ✭ 258 (-18.1%)
Mutual labels:  inference
smfsb
Documentation, models and code relating to the 3rd edition of the textbook Stochastic Modelling for Systems Biology
Stars: ✭ 27 (-91.43%)
Mutual labels:  inference
Bmw Tensorflow Inference Api Gpu
This is a repository for an object detection inference API using the Tensorflow framework.
Stars: ✭ 277 (-12.06%)
Mutual labels:  inference
hoice
An ICE-based predicate synthesizer for Horn clauses.
Stars: ✭ 41 (-86.98%)
Mutual labels:  inference
Nlu sim
all kinds of baseline models for sentence similarity 句子对语义相似度模型
Stars: ✭ 286 (-9.21%)
Mutual labels:  nlu
gaze-estimation-with-laser-sparking
Deep learning based gaze estimation demo with a fun feature :-)
Stars: ✭ 32 (-89.84%)
Mutual labels:  inference
Rasa nlu gq
turn natural language into structured data(支持中文,自定义了N种模型,支持不同的场景和任务)
Stars: ✭ 256 (-18.73%)
Mutual labels:  nlu
Mmdetection To Tensorrt
convert mmdetection model to tensorrt, support fp16, int8, batch input, dynamic shape etc.
Stars: ✭ 262 (-16.83%)
Mutual labels:  inference
Dancinggaga
AI 尬舞机
Stars: ✭ 315 (+0%)
Mutual labels:  inference
Deep Learning Nlp Rl Papers
Recent Deep Learning papers in NLU and RL
Stars: ✭ 288 (-8.57%)
Mutual labels:  nlu

Snips NLU Rust

.. image:: https://travis-ci.org/snipsco/snips-nlu-rs.svg?branch=master :target: https://travis-ci.org/snipsco/snips-nlu-rs

.. image:: https://ci.appveyor.com/api/projects/status/rsf27a9txeomic8o/branch/master?svg=true :target: https://ci.appveyor.com/project/snipsco/snips-nlu-rs

Installation

Add it to your Cargo.toml:

.. code-block:: toml

[dependencies] snips-nlu-lib = { git = "https://github.com/snipsco/snips-nlu-rs", branch = "master" }

Add extern crate snips_nlu_lib to your crate root and you are good to go!

Intent Parsing with Snips NLU

The purpose of the main crate of this repository, snips-nlu-lib, is to perform an information extraction task called intent parsing.

Let’s take an example to illustrate the main purpose of this lib, and consider the following sentence:

.. code-block:: text

"What will be the weather in paris at 9pm?"

Properly trained, the Snips NLU engine will be able to extract structured data such as:

.. code-block:: json

{ "intent": { "intentName": "searchWeatherForecast", "confidenceScore": 0.95 }, "slots": [ { "value": "paris", "entity": "locality", "slotName": "forecast_locality" }, { "value": { "kind": "InstantTime", "value": "2018-02-08 20:00:00 +00:00" }, "entity": "snips/datetime", "slotName": "forecast_start_datetime" } ] }

In order to achieve such a result, the NLU engine needs to be fed with a trained model (json file). This repository only contains the inference part, in order to produce trained models please check the Snips NLU python library <https://github.com/snipsco/snips-nlu>_.

Example and API Usage

The interactive parsing CLI <examples/interactive_parsing_cli.rs>_ is a good example of to how to use snips-nlu-rs.

Here is how you can run the CLI example:

.. code-block:: bash

$ git clone https://github.com/snipsco/snips-nlu-rs $ cd snips-nlu-rs $ cargo run --example interactive_parsing_cli data/tests/models/nlu_engine

Here we used a sample trained engine, which consists in two intents: MakeCoffee and MakeTea. Thus, it will be able to parse queries like "Make me two cups of coffee please" or "I'd like a hot tea".

As mentioned in the previous section, you can train your own nlu engine with the Snips NLU python library <https://github.com/snipsco/snips-nlu>_.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

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