-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
47 lines (32 loc) · 1.52 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
editable:
pip install --editable .
login:
cleanlab login --key [api_key]
upload_csv:
cleanlab dataset upload -f ./Tweets-10M.csv -m text --id-column tweet_id
download_combine:
cleanlab cleanset download --combine -f ./tests/resources/datasets/sample.csv --id [cleanset_id]
download_csv:
cleanlab cleanset download --id [cleanset_id]
check_csv:
cleanlab dataset schema check -f ./tests/resources/datasets/sample.csv -s schema.json
upload_large:
cleanlab dataset upload -f ./tests/resources/datasets/Tweets.csv -m text --id-column tweet_id
resume_large:
cleanlab dataset upload -f ./tests/resources/datasets/Tweets.csv --id [dataset_id]
upload_json:
cleanlab dataset upload -f ./tests/resources/datasets/sample.json -m text --id-column tweet_id
resume_csv:
cleanlab dataset upload -f ./tests/resources/datasets/sample.csv --id [dataset_id]
upload_excel:
cleanlab dataset upload -f ./tests/resources/datasets/sample.xlsx -m text --id-column tweet_id
schema_csv:
cleanlab dataset schema generate -f ./tests/resources/datasets/sample.csv --id-column tweet_id --modality text --name sample
schema_excel:
cleanlab dataset schema generate -f ./tests/resources/datasets/sample.xlsx --id-column tweet_id --modality text --name sample
schema_validate:
cleanlab dataset schema validate --schema schema.json -f ./tests/resources/datasets/sample.csv
schema_upload:
cleanlab dataset upload -f ./tests/resources/datasets/sample.csv --schema schema.json
benchmarks:
pytest tests/bench.py --benchmark-json output.json --benchmark-min-rounds=1