Skip to content

Commit

Permalink
PyPI release
Browse files Browse the repository at this point in the history
  • Loading branch information
mwachnicki committed Jul 25, 2024
1 parent 8d67540 commit 801cb4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ It comes with utilities for text pre-processing such as:
* Deduplication

## Installation
We recommend installing with pip.
```sh
pip install mim-nlp
```

### TODO PyPI package
The package comes with the following extras (optional dependencies for given modules):
- `svm` - simple svm model for classification
- `classifier` - classification models: svm, neural networks
Expand Down Expand Up @@ -114,3 +117,5 @@ In order to add the next version of the package to PyPI, do the following steps:
- First, increment the package version in `pyproject.toml`.
- Then build the new version: run `poetry build` in the root directory.
- Finally, upload to PyPI: `poetry publish` (two newly created files).
- If you get `Invalid or non-existent authentication information.` error,
add PyPI token to poetry: `poetry config pypi-token.pypi <my-token>`.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mim_nlp"
version = "0.2.0"
version = "0.2.1"
packages = [{include = "mim_nlp"}]
description = "A Python package with ready-to-use models for various NLP tasks and text preprocessing utilities. The implementation allows fine-tuning."
authors = [
Expand Down

0 comments on commit 801cb4f

Please sign in to comment.