bavard-nlu-0.0.9
توضیحات
A library and CLI for NLP tasks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bavard-nlu-0.0.9 |
| نام | bavard-nlu |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Bavard AI, LLC |
| ایمیل نویسنده | dev@bavard.ai |
| آدرس صفحه اصلی | https://github.com/bavard-ai/bavard-nlu |
| آدرس اینترنتی | https://pypi.org/project/bavard-nlu/ |
| مجوز | - |
# bavard-nlu
## Releasing The Package
Releasing the package is automatically handled by CI, but three steps must be taken to trigger a successful release:
1. Increment the `VERSION` variable in `setup.py` to the new desired version (e.g. `VERSION="1.1.1"`)
2. Commit and tag the repo with the **exact same** value you populated the `VERSION` variable with (e.g. `git tag 1.1.1`)
3. Push the commit and tag to remote. These can be done together using: `git push --atomic origin <branch name> <tag>`
CI will then release the package to pypi with that version once the commit and tag are pushed.
## Local Development
### Install Dependencies
```
pip3 install -e .
pip3 install -r requirements-test.txt
```
### NLUModel CLI
There is a convenience CLI for training, evaluating, predicting, tuning, and interacting with NLU models. To see the CLI documentation:
```
python3 -m bavard_nlu.cli --help
```
You can also view the documentation for a sub-command for example:
```
python3 -m bavard_nlu.cli train --help
```
## Testing Locally
The tests for this repo consist of functional tests for catching bugs/code regressions, and validation tests for catching model performance regressions. The validation tests take much longer to execute. Both are run in CI. To run just the functional tests:
```
python3 -m unittest discover test/functional
```
نیازمندی
| مقدار | نام |
|---|---|
| ==3.4.0 | transformers |
| ==2.2.0 | tensorflow |
| ==0.23.2 | scikit-learn |
| ==0.10.1 | tensorflow-probability |
| ==0.0.81 | uncertainty-metrics |
| ==0.3.1 | fire |
| ==1.0.1 | keras-tuner |
| ==0.0.7 | bavard-ml-common |
| ==0.12.2 | uvicorn |
| ==2.1.0 | google-cloud-pubsub |
| ==3.12.0 | protobuf |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl bavard-nlu-0.0.9:
pip install bavard-nlu-0.0.9.whl
نصب پکیج tar.gz bavard-nlu-0.0.9:
pip install bavard-nlu-0.0.9.tar.gz