a902c600fa
Store Message Toxicity in database ( #553 )
...
* [NEW] MessageToxicity table
* [NEW] Alembic message Toxicity
* [NEW] Model name enum
* [NEW] Refactor Enum HF
* [NEW] Settings: DEBUT_SKIP_TOXICITY_CALCULATION
* [NEW] Store toxicity values
* [FIX] Merge conflict
* [FIX] Documentation
* [NEW] save_toxicity: function
* [FIX] Formatted string
* [NEW] DEBUG_SKIP_TOXICITY_CALCULATION=True
* [FIX] HfClassificationModel
* [FIX] Alembic merge heads
* [NEW] Refactor save_toxicity
* [NEW] Separating score/label
* [NEW] Store score and label
* [FIX] Cleaning Alembic
* [NEW] Clean HF names
* [NEW] Not type hinting
* [NEW] Update alembic versions
* [NEW] Revert the changes
* [NEW] Type hinting label & score
* Updated down_revision in migration script
Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com >
2023-01-14 12:22:55 +00:00
jojopirker
a677e40cff
insert embedding now to new table
2023-01-08 16:46:53 +01:00
Daniel Hug and GitHub
935e556cf6
Add message tree state model ( #414 )
...
* inital commit, created file for MessageTreeState table
* added initial implementation of MessageTreeState SQl model and added it to__init__
* Ran Alembic revision for migration
* reran precommit on
* removed create_data and deleted flag from model
* ran migration revision to remove unwant class variables date_created and deleted
* removed unused imports
* ran pre-commit
* Updated States definiton to be Enums instead fo Constants
* ran pre-commit formatting
* Fixed Enum class
* ran pre-commit
2023-01-05 21:32:47 +01:00
Gareth Davidson
7000e10bc0
apply pre-commit rules
2023-01-02 00:01:45 +00:00
Andreas Köpf and Andreas Köpf
42e9a77456
further pre-commit fixes
2022-12-31 00:18:55 +01:00
alexandrelefourner and Andreas Köpf
35e0c32a08
Updating work_package to task
2022-12-31 00:18:55 +01:00
alexandrelefourner and Andreas Köpf
7743459220
Renaming post to message
2022-12-31 00:18:55 +01:00
alexandrelefourner and Andreas Köpf
9a1a4876f0
Rename of person to user
2022-12-31 00:18:55 +01:00
Andreas Köpf and Andreas Köpf
f74fe68f87
add journal table and JournalWriter helper class
2022-12-27 22:37:48 +01:00
Yannic Kilcher
a37bf6bf41
added text labels to the API
2022-12-25 17:08:57 +01:00
Yannic Kilcher
b34ef75423
started re-working python code
2022-12-19 18:00:09 +01:00