phanxuanphucnd / arizona-nlu

Arizona-nlu provide a library for jointly IC and NER tasks based on transformers architecture.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyPI - Python PyPI - License Open In Jupyter notebook

Table of contents

  1. Instroduction
  2. How to use Arizona-nlu
  3. Reference

Arizona-nlu

  • Nature language understanding (NLU) is a subtopic of natural-language processing in artificial intelligence that deals with machine reading comprehension. Natural-language understanding is considered an AI-hard problem. NLU tasks including two main components: Intent Classification (IC) and Named Entities Recognition (NER).

  • arizona nlu provide a library for jointly IC and NER tasks based on Transformers architecture.

How to use

Installation

Data structure

text intent tags
hello you, i need a coffe demand O O O O O B-food

Example usage

Training

Evaluation

Inference

Reference

[1]. Qian Chen, Zhu Zhuo and Wen Wang: “BERT for Joint Intent Classification and Slot Filling”, in arXiv:1902.10909, 2019.

License

  MIT License

  Copyright (c) 2021 Phuc Phan

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

Author

arizona.nlu was developed by Phuc Phan © Copyright 2021.

For any questions or comments, please contact the following email: phanxuanphucnd@gmail.com

Acknowledgement

Our code is based on the unofficial implementation of the JointBERT+CRF github and paper.

About

Arizona-nlu provide a library for jointly IC and NER tasks based on transformers architecture.

License:MIT License


Languages

Language:Python 100.0%