INFO-EXTRACTION
NLP project to identify and categorize named entities in an input text.
Table of Content
Setup Package
IMPORTANT STEP
- To setup the package locally, run:
make setup_venv
List Available Commands
- To list all the available commands, run:
make help
Build And Publish The Package
Using Setuptools
- Build the package by running:
# Install packages required for building and publishing
python -m pip install build twine
# Build
python setup.py clean --all
python setup.py sdist bdist_wheel
# Verify build
twine check dist/*
# Upload package
twine upload dist/* --verbose
Using Poetry
- Build the package using Poetry by running:
# Install packages required for building and publishing
pip install --no-cache poetry==1.4.2
poetry lock "--no-update" && poetry install --no-interaction
export PYPI_TOKEN="your_pypi_token"
poetry config pypi-token.pypi ${PYPI_TOKEN}
# Build and upload package
poetry publish --build
Check HugingFace Cache
- Check the locally cached models and dataset by running:
huggingface-cli scan-cache -v
Run Tests
- For unit tests, run:
# All tests
make run_test
Metadata
Release files for fast-token-classifier 0.2.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 | |
|---|---|---|---|
| fast_token_classifier-0.2.8.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_token_classifier-0.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.5 kB
Release files / fast_token_classifier-0.2.8.tar.gz
| Download URL | fast_token_classifier-0.2.8.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4375b138a76246761e4cb27f3231a205bff4a0a577d9881f3bae2d0d67d90c4c
|
|
BLAKE2b-256 checksum How to use checksums |
1470efd1da0db364d27453114e5adc8d3d046238084559b5eeef1381f194b57e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.8 Darwin/21.3.0
|
Release files / fast_token_classifier-0.2.8-py3-none-any.whl
| Download URL | fast_token_classifier-0.2.8-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a05674f513aa3ffb875e4ad26156788452d8f23a013fa7a4608baeae53a741c
|
|
BLAKE2b-256 checksum How to use checksums |
0180c6f0c7ac91ba44cbd429eecff32c5352a2b39d1bd0f1701e21aeb8e94a55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.8 Darwin/21.3.0
|