No project description provided
Project description
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 and integration tests, run:
# Integration test
make run_integration_test
# All tests
make run_test
Start API
- To start the API, run:
make run_api
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for fast_token_classifier-0.2.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f710c8673ece19b14bb5d0c6cefcc71e50313adf1afbecac2ce72bf469a63ed5 |
|
MD5 | f70f4fda17481416da1428a9e4a32eef |
|
BLAKE2b-256 | 0405b3c989c87e1bee4c977259dd265e1c8050c5c3c976e46586a7a5ad167a6b |
Close
Hashes for fast_token_classifier-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c46e931907efa8846546adc48a291996dd0aa813e4c45111ddf6390d189d888e |
|
MD5 | 677d48143b9ffa2a4164194465648845 |
|
BLAKE2b-256 | 1d8b6f985cabd3c6b3e3369958a6374d6dc8b912e2a22a8a8561b4a1965e1655 |