Tested with:
- Numpy >= 1.25.0
- SentenceTransformers >= 3.0.1
pip3 install git+https://github.com/er1kb/distinction
or clone and install locally:
git clone https://github.com/er1kb/distinction.git && cd distinction && pip3 install .
python3 -m pip install distinction
import distinction as ds
C = ds.Classifier(**kwargs)
[*C.train(training_data = ...)]
predictions = [*C.predict(...)]