Commit Graph

17 Commits

Author SHA1 Message Date
Abubakar Abid
4a1321ce8a
Updated our analytics on creation of Blocks/Interface (#2082)
* added version to analytics

* formatting

* fix flake

* disabled analytics on anything that runs via ci/cd

* formatting
2022-08-25 13:23:28 -07:00
Chris Emezue
9c4dc6c183
Add a flagging callback to save json files to a hugging face dataset (#1821)
* work on saving flags in JSON format

* explained what I did more clearly

* final updates + added test case

* reviews to flagging.py for HuggingFaceDatasetJSONSaver

* formatted imports

* used uuid for random ids

* used uuid for random + function to get dataset infos

* reformmated flagging.py

* fix examples test

* formatting

* async examples

* working on mix

* comment out failing test

* fixed interface problem

* final updates to HuggingFaceDatasetJSONSaver flagging.py

* final updates to HuggingFaceDatasetJSONSaver flagging.py

* formatting

* some tweaks

* tweaks

* tweaks

* omar's fixes

* added back test.init

* restored test init

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-23 16:01:37 -07:00
Abubakar Abid
fd70292fbe formatting 2022-03-25 11:14:42 -07:00
Abubakar Abid
6eeaccc11e flagging tests pass 2022-03-25 11:12:45 -07:00
Abubakar Abid
63d18ac02b formatting 2022-03-23 15:50:10 -07:00
Abubakar Abid
6c01bad233 commented out flagging tests as we don't support that yet 2022-03-23 14:06:00 -07:00
aliabid94
d3a680697a
black fix (#628)
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-15 16:32:42 -08:00
Anton Kollmats
ae5a0c7fad fixes PermissionError for non-writable flagging path 2022-02-15 11:15:11 +01:00
Lysandre
5522fa4d6a Upgrade black to version ~=22.0 2022-02-08 13:56:13 -05:00
Abubakar Abid
82cea220fa added flagging tests 2022-01-25 23:44:41 -06:00
Abubakar Abid
b1a582c6c5 unused improt 2022-01-23 22:55:13 -06:00
Abubakar Abid
f6341be7c7 flagging 2022-01-23 22:54:48 -06:00
Ömer Faruk Özdemir
cc0cff893f Format The Codebase
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
Abubakar Abid
704073d274 fixed some flagging tests 2021-11-16 12:43:40 -06:00
Abubakar Abid
d4c357b837 reorganized flagging to make it easier to subclass 2021-11-16 12:24:01 -06:00
Abubakar Abid
fa78beddb0 refactored flagging 2021-11-13 00:33:59 -06:00
Abubakar Abid
27a4b4e637 rewrote DefaultFlaggingHandler not to need app 2021-11-01 11:40:51 -05:00