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 32C
path_models
: absolute path to fasttext modelsusers
: list of user:password
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
Technical specifications
- REST-like client/server architecture
- Mixed data storage : sqlite + files
- Backend Python
- FastAPI
- independant Processes to CPU-bound tasts (embeddings/bertmodels)
- Frontend
- Streamlit (prototyping)
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.3.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file activetigger-0.1.3.tar.gz
.
File metadata
- Download URL: activetigger-0.1.3.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 | a4dd6ed6a48f3c0e07aa101cc9ade11c15b4dbdec34a5cf8975de23ad65222ee |
|
MD5 | 6808b22f3e6b339e630dad5c47585ab3 |
|
BLAKE2b-256 | d10028bcc5b441efd11449d7d192c1142f6ec376858209a91f2585d41ca6988f |
File details
Details for the file activetigger-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: activetigger-0.1.3-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 | 84f314fed4d27ecf5627cc43a84570b8666514fa58bb9b4bb34875c78433a753 |
|
MD5 | d704bcd88a26520309834970ce9b9727 |
|
BLAKE2b-256 | b869033385e10c99a8a389f8af405044a18a84bfb1b900ab9af0419847f124d2 |