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 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 re
python main.py -t sematic_similarity -d glue -a bert --eval_strategy epoch --output_dir tmp_trainer

Version: 0.0.2

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nlpe-0.0.2.tar.gz
  • Upload date:
  • Size: 14.1 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.2.tar.gz
Algorithm Hash digest
SHA256 9686051ababea96422bbe41472554a8d31305b6390a0439ff647a19804c8cb53
MD5 bcde0b50e4a711d12c33609d883017be
BLAKE2b-256 1d2127806ace7c0deeb32bf9ae39d5b622f1d9d3956c9f5b19aa4c4115e3b829

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nlpe-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a9f19dc849d999bfe03b059d11b1441fed2e470f294c5022438fbfc74576193
MD5 f646656deb6d4465249433c2fb2ceb75
BLAKE2b-256 a5ccafb6960f567c1f8a1a63ea41e158a5bb55aed5fa573c75f12a46435fd554

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