Natural language processing active learning library for deep neural networks
Project description
NLPatl (NLP Active Learning)
This python library helps you to perform Active Learning in NLP. NLPatl built on top of transformers, scikit-learn and other machine learning package. It can be applied into both cold start scenario (no any labeled data) and limited labeled data scenario.
The goal of NLPatl is to make use of the state-of-the-art (SOTA) NLP models to estimate the most valueable data and making use of subject matter experts (SMEs) by having them to label limited amount data.
Installation
pip install nlpatl
or
pip install git+https://github.com/makcedward/nlpatl.git
Examples
- Quick tour for text input
- Quick tour for image input
- Custom Embeddings, Classification, Clustering and Learning function
Release
0.0.2, Dec 17, 2021
- [Completed] Transformers supports Tensorflow
- [Completed] Performance tuning during clustering
- [Completed] Support multi-label
- [Completed] Custom Embeddings, Classification, Clustering, Scoring(Learning) function
- [Completed] Support TorchVision for image embeddings
- [Completed] Support SentenceTransformers
- [Completed] Add Least Confidence Sampling and Most Confidence Sampling
- [Completed] Add Semi-supervised learning
- [Completed] Add Farthest (Clustering) Sampling, Mismatch (Uncertainity) Sampling
- [Completed] Add Mismatch-farthest Learning
Citation
@misc{ma2021nlpatl,
title={Active Learning for NLP},
author={Edward Ma},
howpublished={https://github.com/makcedward/nlpatl},
year={2021}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
nlpatl-0.0.2-py3-none-any.whl
(32.0 kB
view details)
File details
Details for the file nlpatl-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: nlpatl-0.0.2-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d790ec527886bf0550a0b63e1b358cf795340e4f5c64e5eda4e7e96bc85b3085 |
|
MD5 | f43e6c7bf186dfa914b6d094e91c9c40 |
|
BLAKE2b-256 | 4cd72b647cdd7543e6a675111bf4f9f6af11cbf1b0c2df9543e24d377534ae3a |