Skip to content

Commit a247950

Browse files
Removal of crowd labeler and zeroshot (#10)
* Removal of crowd labeler and zeroshot * Removed filters for model callbacks on databrowser * Removed users filters
1 parent 8337304 commit a247950

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

enums/enum-functions.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ export function informationSourceTypeToString(source: InformationSourceType, sho
66
case InformationSourceType.LABELING_FUNCTION: return short ? "LF" : "Labeling Function module";
77
case InformationSourceType.ACTIVE_LEARNING: return short ? "AL" : "Active Learning module";
88
case InformationSourceType.PRE_COMPUTED: return short ? "PC" : "Pre Computed module";
9-
case InformationSourceType.ZERO_SHOT: return short ? "ZS" : "Zero Shot module";
10-
case InformationSourceType.CROWD_LABELER: return short ? "CL" : "Crowd labeler";
119
default: return source;
1210
}
1311
}
@@ -31,7 +29,6 @@ export function labelSourceToString(source: LabelSource, forDisplay: boolean = t
3129
switch (source) {
3230
case LabelSource.MANUAL: return "Manual";
3331
case LabelSource.WEAK_SUPERVISION: return "Weak Supervision";
34-
case LabelSource.MODEL_CALLBACK: return "Model Callback";
3532
case LabelSource.INFORMATION_SOURCE: return "Information Source";
3633
default: return source;
3734
}
@@ -56,8 +53,6 @@ export function nameForGroupKeyToString(group: SearchGroup): string {
5653
switch (group) {
5754
case SearchGroup.ATTRIBUTES:
5855
return 'Attributes';
59-
case SearchGroup.USER_FILTER:
60-
return 'Users';
6156
case SearchGroup.LABELING_TASKS:
6257
return 'Labeling task:';
6358
case SearchGroup.ORDER_STATEMENTS:
@@ -72,7 +67,6 @@ export function getOrderByDisplayName(orderByKey: string) {
7267
switch (orderByKey) {
7368
case StaticOrderByKeys.RANDOM: return "Random";
7469
case StaticOrderByKeys.WEAK_SUPERVISION_CONFIDENCE: return "Weak Supervision Confidence";
75-
case StaticOrderByKeys.MODEL_CALLBACK_CONFIDENCE: return "Model Callback Confidence";
7670
default: return orderByKey; //attributes
7771
}
7872
}

enums/enums.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ export enum InformationSourceType {
22
LABELING_FUNCTION = "LABELING_FUNCTION",
33
ACTIVE_LEARNING = "ACTIVE_LEARNING",
44
PRE_COMPUTED = "PRE_COMPUTED",
5-
ZERO_SHOT = "ZERO_SHOT",
6-
CROWD_LABELER = "CROWD_LABELER"
75
}
86

97
export enum DisplayGraphs {
@@ -18,7 +16,6 @@ export enum LabelSource {
1816
MANUAL = "MANUAL",
1917
WEAK_SUPERVISION = "WEAK_SUPERVISION",
2018
INFORMATION_SOURCE = "INFORMATION_SOURCE",
21-
MODEL_CALLBACK = "MODEL_CALLBACK",
2219
}
2320

2421
export enum Slice {
@@ -31,14 +28,12 @@ export enum SearchGroup {
3128
ATTRIBUTES = 'ATTRIBUTES',
3229
LABELING_TASKS = 'LABELING_TASKS',
3330
ORDER_STATEMENTS = 'ORDER_STATEMENTS',
34-
USER_FILTER = 'USER_FILTER',
3531
COMMENTS = 'COMMENTS',
3632
DRILL_DOWN = 'DRILL_DOWN',
3733
CATEGORY = 'CATEGORY',
3834
}
3935

4036
export enum StaticOrderByKeys {
41-
MODEL_CALLBACK_CONFIDENCE = "MODEL_CALLBACK_CONFIDENCE",
4237
WEAK_SUPERVISION_CONFIDENCE = 'WEAK_SUPERVISION_CONFIDENCE',
4338
RANDOM = 'RANDOM'
4439
}

0 commit comments

Comments
 (0)