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
path_fasttext
: absolute path to fasttext modelusers
: list of user:password
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(URL_SERVER="http://0.0.0.0:8000")
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.1.0.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file activetigger-0.1.0.tar.gz
.
File metadata
- Download URL: activetigger-0.1.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd2337c8b17edce0f7a3264499a9b3e6faa72bf675f698ef5b67135a5385147c |
|
MD5 | 4bdfb67381b0c682068ea2b23ed421b7 |
|
BLAKE2b-256 | d92d7458b36d416bb2d24a24d98d5d51089becdc18afe0dcd91076b8e063acc3 |
File details
Details for the file activetigger-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: activetigger-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e20add461a79f3c77f4bfcfcf7239c93121ac0d43be4130d99630b0a17fe2f54 |
|
MD5 | ca7a8a700eea2ebf54f533232e11c355 |
|
BLAKE2b-256 | 2aef05595294332faf345684371b91331fac7f02495fe9555f27be2a8dd1d043 |