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 (be careful to use Python 3.11):
pip install activetigger
Start the server
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 32Cpath_models: absolute path to fasttext models
Then, to launch the server (on 0.0.0.0 port 8000 by default). You can configurate exposed port if needed.
python -m activetigger
Otherwise, you can launch only the API with uvicorn:
uvicorn activetigger.api:app --host 0.0.0.0 --port 80 --reload
Users management
You can create/delete users with the root account.
You can also create a add_users.yaml file with the users to add when the server starts :
user1: password1
user2: password2
Technical specifications
- REST-like client/server architecture
- Moslty stateless
- Mixed data storage : sqlite + files
- Backend Python
- FastAPI
- Multiprocessing for CPU-bound tasts (concurrent.futures.ProcessPoolExecutor)
- Frontend
- Streamlit (prototyping)
- React (in the future)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file activetigger-0.1.4.tar.gz.
File metadata
- Download URL: activetigger-0.1.4.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 |
425c68c775cb32fb6ea6e8eedf5c9c61547078c6b6f22456292caad76eb87a13
|
|
| MD5 |
cb5535e7f051b2abd3b7b648c201229d
|
|
| BLAKE2b-256 |
3555d90250ecc79087d249e2d6d3a1d59dcdedba665efe56ec6f3049bcb48194
|
File details
Details for the file activetigger-0.1.4-py2.py3-none-any.whl.
File metadata
- Download URL: activetigger-0.1.4-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 |
e944cce60cd44d837bdefb0e3e22856ea0d1f412d4e1e304263e1a3e4b96d87a
|
|
| MD5 |
5e1f0595b1ba87576fe4b37b8de5d0f4
|
|
| BLAKE2b-256 |
8d2258e47349785ad1720eba3bc263af6adc27f7d2a700862394177e70605024
|