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 hashes)
Built Distribution
Close
Hashes for activetigger-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f314fed4d27ecf5627cc43a84570b8666514fa58bb9b4bb34875c78433a753 |
|
MD5 | d704bcd88a26520309834970ce9b9727 |
|
BLAKE2b-256 | b869033385e10c99a8a389f8af405044a18a84bfb1b900ab9af0419847f124d2 |