-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding question answering RAI text dashboard metrics with umass team
- Loading branch information
1 parent
0af6cef
commit 9c9adb2
Showing
35 changed files
with
568 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
apps/dashboard/src/model-assessment-text/__mock_data__/squad.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
import { DatasetTaskType, IDataset } from "@responsible-ai/core-ui"; | ||
|
||
export const squad: IDataset = { | ||
categorical_features: [], | ||
class_names: undefined, | ||
feature_names: [ | ||
"context_positive_words", | ||
"context_negative_words", | ||
"context_negation_words", | ||
"context_negated_entities", | ||
"context_named_persons", | ||
"context_sentence_length", | ||
"question_positive_words", | ||
"question_negative_words", | ||
"question_negation_words", | ||
"question_negated_entities", | ||
"question_named_persons", | ||
"question_sentence_length" | ||
], | ||
features: [ | ||
[42, 0, 0, 0, 2, 695, 3, 0, 0, 0, 0, 71], | ||
[42, 0, 0, 0, 2, 695, 3, 0, 0, 0, 0, 49], | ||
[42, 0, 0, 0, 2, 695, 5, 0, 0, 0, 1, 76], | ||
[42, 0, 0, 0, 2, 695, 1, 0, 0, 0, 1, 33], | ||
[42, 0, 0, 0, 2, 695, 4, 0, 0, 0, 0, 52] | ||
], | ||
predicted_y: [ | ||
"Saint Bernadette Soubirous", | ||
"a copper statue of Christ", | ||
"the Main Building", | ||
"a Marian place of prayer and reflection", | ||
"a golden statue of the Virgin Mary" | ||
], | ||
target_column: "answers", | ||
task_type: DatasetTaskType.QuestionAnswering, | ||
true_y: [ | ||
"Saint Bernadette Soubirous", | ||
"a copper statue of Christ", | ||
"the Main Building", | ||
"a Marian place of prayer and reflection", | ||
"a golden statue of the Virgin Mary" | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.