Skip to main content

ActiveTigger in Python

Project description

(py) Active Tigger

🚧 Under development 🚧

License Python Version PyPI Version

Server/client BERT fine tunning app using active learning

Python refactoring of R Shiny ActiveTigger app (Julien Boelaert & Etienne Ollion)

Installation

You can install activetigger via pip:

pip install activetigger

Use

Create a config file config.yaml in the directory where you want to launch the server :

  • path : path to store files (for instance ./data)
  • secret_key : to secure tokens. To generate it openssl rand -hex 32C

Then, to launch the server (on port 8000)

python -m activetigger

To use the widget in the widget module, you can do the following:

from activetigger import widget
at = widget.Widget()

Technical specifications

  • REST-like client/server architecture
  • Mixed data storage : sqlite + files
  • Backend Python
    • FastAPI
    • independant Processes to CPU-bound tasts (embeddings/bertmodels)
  • Frontend
    • IPython widget
    • To do : Javascript (React ? Vue ?)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

activetigger-0.0.16.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

activetigger-0.0.16-py2.py3-none-any.whl (581.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file activetigger-0.0.16.tar.gz.

File metadata

  • Download URL: activetigger-0.0.16.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for activetigger-0.0.16.tar.gz
Algorithm Hash digest
SHA256 a13d26644bfe01703f93b9d19399dcd5515b5ed6bfdad3cf20a59bab5cdabe4e
MD5 3f24b32906dbd8f898644c36387017b5
BLAKE2b-256 e9f2dc204fdf123598cbd7f9a9619576431378d0b610eeba16e4b9817599a7cf

See more details on using hashes here.

File details

Details for the file activetigger-0.0.16-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for activetigger-0.0.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb87f87179fbb4b2824f825ac115e521fe433f6f20dca1413dfe8dd58d1d4a78
MD5 c242396237c09ab48ff12e09de140e73
BLAKE2b-256 6b781a9b6348466f034dec51fc3057c7d9d2c5a26b5c17dc869754bc6a7fd162

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page