ActiveTigger in Python
Project description
(py) Active Tigger
🚧 Under development 🚧
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 itopenssl 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
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
activetigger-0.0.17.tar.gz
(1.1 MB
view details)
Built Distribution
File details
Details for the file activetigger-0.0.17.tar.gz
.
File metadata
- Download URL: activetigger-0.0.17.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9493d5eb7edf930f620c4bf48899622ea2d7f79ccde8648dc89f69dd6d9b74d2 |
|
MD5 | 17098ec8682f83f921dfba797c0ea80f |
|
BLAKE2b-256 | e06a6bbf2b40841523d5387d93e2f54065abd4b35d62957eff0fae9ae7ef865f |
File details
Details for the file activetigger-0.0.17-py2.py3-none-any.whl
.
File metadata
- Download URL: activetigger-0.0.17-py2.py3-none-any.whl
- Upload date:
- Size: 582.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f77dd2889f3f82326df284cb50eb4ea9c3c169fb08a5d7f15b4b31bbe7f727f |
|
MD5 | 1b89e4516d14b595e51e3491ff76b93d |
|
BLAKE2b-256 | a7a56ab7b0c83e45a3b1a839c362bc6ff1d8e82db6a614c2cb4a01b32a5ae7a2 |