Skip to main content

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
  • install gatenlp, e.g.: python -m pip install -U gatenlp[all]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gatenlp-ml-tner-0.1.0a1.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

gatenlp_ml_tner-0.1.0a1-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page