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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nlpe-0.0.4.tar.gz
  • Upload date:
  • Size: 14.0 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.4.tar.gz
Algorithm Hash digest
SHA256 b79cf85c3fd0b4f763c0eb825f1343c44f309335d7c8e568c4ce777331709226
MD5 1e4db3c3f0f75e1c12146822d71d48ba
BLAKE2b-256 76f69111da80943fc439f5858402bed2bbaf2021b17d885bc38d9323f8e80589

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlpe-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd55304c2e226f0772ecb0b96f89451ce537b57796387a31d8e1d2f08719720
MD5 fcf416c23ae2042f835fc552f240a0e9
BLAKE2b-256 fc70ca2e211c04d1d01951ea9a488f76833e43378337060bd214f0aa246feb6d

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