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 from Source

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

Install from PyPi

pip install nlpe

Install from Docker Hub

docker run -it codedocx/nlpe

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.3

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.3.tar.gz (14.2 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.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nlpe-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3da223a92ea48ee6ce701deb92542648483a8695008b72efe022dfd19c398603
MD5 2a2f3fbf7d0247185a733ac7df27847f
BLAKE2b-256 f1d0f2110ff4dd0fdf4dde228dae33bb0b7fe5aa30d7ce9eea4e1b11754efe6c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nlpe-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a696ac222226be836b0f6da3708cf37182c3111a7e2353bcf4a66ef57afd1d22
MD5 2ca375a1369c4559e6cc689900953be5
BLAKE2b-256 0576a1dafcaf031745cac1e330a7d7e2d92cd983f832039cd96e99da9e8ed251

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