-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New UI module for training-data attribution / influence functions.
Based on the generator module, but streamlined for retrieving sets of examples. - Operates only on a single selected datapoint - Output table non-editable - Simplified add-datapoint controls PiperOrigin-RevId: 433823444
- Loading branch information
Showing
7 changed files
with
521 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.module-toolbar { | ||
border-bottom: 1px solid #dadce0; | ||
box-sizing: border-box; | ||
justify-content: space-between; | ||
} | ||
|
||
.tda-module-content { | ||
display: flex; | ||
flex-direction: row; | ||
overflow: hidden; | ||
} | ||
|
||
.generators-panel { | ||
border-right: 1px solid var(--lit-neutral-300); | ||
box-sizing: border-box; | ||
flex-grow: 0; | ||
flex-shrink: 0; | ||
overflow-y: auto; | ||
width: 400px; | ||
} | ||
|
||
.results-holder { | ||
display: flex; | ||
flex-direction: column; | ||
flex-grow: 1; | ||
flex-shrink: 1; | ||
overflow-y: auto; | ||
margin-left: 4px; | ||
} | ||
|
||
/** | ||
* TODO(lit-dev): move interstitial styles to shared_styles | ||
*/ | ||
.interstitial { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
flex-grow: 1; | ||
flex-shrink: 1; | ||
justify-content: center; | ||
overflow: hidden; | ||
font-family: 'Google Sans', sans; | ||
} | ||
|
||
.interstitial > * { | ||
flex-grow: 0; | ||
flex-shrink: 0; | ||
max-width: 300px; | ||
} | ||
|
||
.interstitial > img { | ||
flex-shrink: 1; | ||
max-height: 130px; | ||
} | ||
|
||
.interstitial p { | ||
color: #5f6368; | ||
} | ||
|
||
.interstitial strong { | ||
display: block; | ||
font-size: 1.5em; | ||
margin-bottom: 4px; | ||
} | ||
|
||
.generators-panel .label { | ||
font-size: 16px; | ||
font-weight: bold; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.generators-panel.visible { | ||
display: block; | ||
} | ||
|
||
.footer-end-controls { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: flex-end; | ||
} |
Oops, something went wrong.