Train and use transformer token classification models using tner
Project description
python-gatenlp-ml-tner
Token classification training and application using transformers via the tner package.
See: https://github.com/asahi417/tner / https://pypi.org/project/tner/
Installation:
- For now this package does NOT require the packages it depends on in order to avoid dependency hell. See below for how to install the required packages.
- create a new environment
(e.g.
conda create -y -n gatenlp-tner python=3.7
) and activate it - install the PyTorch version compatible with your machine see PyTorch Installation
- install tner:
- latest release:
python -m pip install -U tner
- or latest code from github
python -m pip install -U git+https://github.com/asahi417/tner.git
- latest release:
- install gatenlp, e.g.:
python -m pip install -U gatenlp[all]
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 Distribution
Built Distribution
Close
Hashes for gatenlp_ml_tner-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90fa86f4f705a259a20dd8c3a775303505ff746afcd529e0d571391939533b1 |
|
MD5 | db2f8da18368ff607840adebefb173c1 |
|
BLAKE2b-256 | 763e7e921b1bb61019b2bab22e58715f27ab46c7a94ffde5332c73b54aa7f1b9 |