CLTrier NLP: academic teaching toolbox
Usage
Install
pip install cltrier_nlp
Development
Install
The project is managed by Poetry, a dependency management and packaging library. Please set up a local version according to the official installation guidelines. When finished, install the local repository as follows:
# install package dependencies
poetry install
# add pre-commit to git hooks
poetry run pre-commit install
Tests
poetry run pytest
Linting
poetry run pre-commit run --all-files
Project Structure
│
├── Makefile <- Makefile containing development targets
├── README.md <- top-level README
├── pyproject.toml <- package-level (poetry) configuration
├── mkdocs.yaml <- documentation configuration
├── .pre-commit-config.yaml <- git pre-commit actions
│
├── cltrier_nlp <- root source
│ └── corpus <- nltk inspired corpus module
│ └── encoder <- huggingface auto model wrapper
│ └── trainer <- pytorch training algorithm
│ └── functional <- generic helper functions
│ └── utility <- utility classes and types
│
├── tests <- unittests
│
├── examples <- usage/application examples
│
├── scripts <- additional package building scripts
│ └── gen_docs_pages.py <- automatic doc generation based on docstrings
│
ToDos
- tests: add encoder testing
- tests: add functional testing
- tests: add utility testing
- cltrier_nlp:trainer: modernize and refactor
- examples:application: encoder with manifold reduction
- examples:application: encoder with unsupervised clustering
- examples:application: training pipeline with pytorch MLP
Resources
- Project Template (Data Science): https://github.com/drivendata/cookiecutter-data-science
- Project Template (Poetry): https://github.com/fpgmaas/cookiecutter-poetry
Metadata
Release files for cltrier_nlp 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cltrier_nlp-0.1.8.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cltrier_nlp-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.0 kB
Release files / cltrier_nlp-0.1.8.tar.gz
| Download URL | cltrier_nlp-0.1.8.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b404de2bda15d41ef539bcafa5e0da5ee1a9c513c9540c1adf4ed64a3d23745
|
|
BLAKE2b-256 checksum How to use checksums |
4f68d3a719690dbf0e422177ea96afe86b584c05981b97a2209beba12de56773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Darwin/21.6.0
|
Release files / cltrier_nlp-0.1.8-py3-none-any.whl
| Download URL | cltrier_nlp-0.1.8-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3a0aab926aa58dadfcf6abbec10792b94b19f090e8a9f37bbd2ceff88c2c8f9
|
|
BLAKE2b-256 checksum How to use checksums |
d76c4ae307fc01478b0a092b5c4a26d616bb2c9fae3a75a70fb0d6c4428bb0f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Darwin/21.6.0
|