Skip to content

Commit 801cb4f

Browse files
committed
PyPI release
1 parent 8d67540 commit 801cb4f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ It comes with utilities for text pre-processing such as:
1717
* Deduplication
1818

1919
## Installation
20+
We recommend installing with pip.
21+
```sh
22+
pip install mim-nlp
23+
```
2024

21-
### TODO PyPI package
2225
The package comes with the following extras (optional dependencies for given modules):
2326
- `svm` - simple svm model for classification
2427
- `classifier` - classification models: svm, neural networks
@@ -114,3 +117,5 @@ In order to add the next version of the package to PyPI, do the following steps:
114117
- First, increment the package version in `pyproject.toml`.
115118
- Then build the new version: run `poetry build` in the root directory.
116119
- Finally, upload to PyPI: `poetry publish` (two newly created files).
120+
- If you get `Invalid or non-existent authentication information.` error,
121+
add PyPI token to poetry: `poetry config pypi-token.pypi <my-token>`.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mim_nlp"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
packages = [{include = "mim_nlp"}]
55
description = "A Python package with ready-to-use models for various NLP tasks and text preprocessing utilities. The implementation allows fine-tuning."
66
authors = [

0 commit comments

Comments
 (0)