Skip to main content

A Python library for NLP experiments.

Project description

NLPE

Nural Language Process Experiments (NLPE) is a python package supporting you setup NLP experiments fastly.

Its mission is tio reduce the duplicate labors when we set up and NLP models or framework in current popular deep learning framework or methodology.

Installation

Install with Pip

pip install nlpe

Install with Conda

conda install codedoc::nlpe

Install with Docker

docker run -it codedocx/nlpe

Install with Source

git clone https://github.com/codesedoc/nlpe.git
cd nlpe
pip install -e .

Experiment

There are examples of conducting expeirments by using nlpe at experiment dir. The experiment/semantic_similarity is an example to calculate semantic similarity of two texts by fine-tuned the uncased BERT on STSB dataset.

cd experiment/semantic_similarity
pip install -r requrements.txt
python main.py -t sematic_similarity -d glue -a bert --eval_strategy epoch --output_dir tmp_trainer

Version: 0.0.6

E-mail: gocodedoc@gmail.com

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

nlpe-0.0.6.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nlpe-0.0.6-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file nlpe-0.0.6.tar.gz.

File metadata

  • Download URL: nlpe-0.0.6.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for nlpe-0.0.6.tar.gz
Algorithm Hash digest
SHA256 2c0b3a8c3bd7c7f972e9cec8b66fea1dfbf4aab93423785620eae68441c97e3a
MD5 e089e58d5edeaf089a0ebf918c370189
BLAKE2b-256 5657cb92c03975b50422f90aa19e3a82025364cf0d6126f71e13bd9aaf3f4306

See more details on using hashes here.

File details

Details for the file nlpe-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: nlpe-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for nlpe-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2d1ce8a7f1a3f66655893f7b49a938cc84afb2d07a3ca321af71bb752d2261
MD5 e022e0800d1a0475934d16f149d718f7
BLAKE2b-256 9efaed7e7cfb319fe39a5e3337e142b3fc86053578e7414d5f192e16bf647bf0

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