Skip to main content

Named Entity Recognition

Project description

Usage Sample ''''''''''''

.. code:: python

    import torch
    from nerx import NER
    from model_wrapper import ClassifyModelWrapper
    
    model = NER('hlf/rb3', num_classes=8)
    wrapper = ClassifyModelWrapper(model)
    history = wrapper.train(train_set, val_set, collate_fn=collate_fn)

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

NERX-0.0.3.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file NERX-0.0.3.tar.gz.

File metadata

  • Download URL: NERX-0.0.3.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for NERX-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f3345d67eb49c97fa565c8aa1c09f64e01944ce89e2b830157d51becf71cdf2d
MD5 ead819ad3d168b59e46c39160d9ab82c
BLAKE2b-256 f86dd7cb37ca76f9d78470b6028cbeb78728169b58f460cdf54503997e288523

See more details on using hashes here.

Supported by

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