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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gatenlp-ml-tner-0.1.0a1.tar.gz.
File metadata
- Download URL: gatenlp-ml-tner-0.1.0a1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e5263eecc805584873509d3a045900b1aad6f3d6e58cf1517d82deeced0f6af
|
|
| MD5 |
64b0797fcc158287d49ee73623e7ff7c
|
|
| BLAKE2b-256 |
06060d1f93bcfdb9568ab8b60e03ba3bf94fa3ada5a213077a90ed84431082d3
|
File details
Details for the file gatenlp_ml_tner-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: gatenlp_ml_tner-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d90fa86f4f705a259a20dd8c3a775303505ff746afcd529e0d571391939533b1
|
|
| MD5 |
db2f8da18368ff607840adebefb173c1
|
|
| BLAKE2b-256 |
763e7e921b1bb61019b2bab22e58715f27ab46c7a94ffde5332c73b54aa7f1b9
|