Metadata-Version: 2.1
Name: activetigger
Version: 0.0.6
Summary: ActiveTigger in Python
Author-email: Émilien Schultz - Julien Boelaert - Étienne Ollion <emilien.schultz@gmail.com>
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: argparse
Requires-Dist: ipywidgets
Requires-Dist: IPython
Requires-Dist: requests
Requires-Dist: sqlite3
Requires-Dist: datasets
Requires-Dist: fasttext
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: pyarrow
Requires-Dist: scikit-learn
Requires-Dist: torch
Requires-Dist: torchvision
Requires-Dist: torchaudio
Requires-Dist: transformers[torch]
Requires-Dist: sentence_transformers
Requires-Dist: typing-inspect
Requires-Dist: typing_extensions
Requires-Dist: spacy
Requires-Dist: pyyaml
Requires-Dist: protobuf
Requires-Dist: fastapi[all]

# (py) Active Tigger

🚧 Under development 🚧

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/emilienschultz/pyactivetigger/blob/main/LICENSE)
[![Python Version](https://img.shields.io/badge/python-3.11-blue)](https://www.python.org/downloads/)
[![PyPI Version](https://img.shields.io/pypi/v/activetigger)](https://pypi.org/project/activetigger/)

Server/client BERT fine tunning app using active learning

[Python refactoring of R Shiny ActiveTigger app (Julien Boelaert & Etienne Ollion)]( https://gitlab.univ-lille.fr/julien.boelaert/activetigger)


## Installation

You can install `activetigger` via pip:

```bash
pip install activetigger
```

And install the requirements with 


```bash
pip install -r requirements.txt
```

## Use

To launch the server

```python
python -m activetigger
```

To use the widget in the `widget` module, you can do the following:

```python
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 ?)
