Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev to main for v0.4 #549

Merged
merged 216 commits into from
Nov 9, 2021
Merged

Merge dev to main for v0.4 #549

merged 216 commits into from
Nov 9, 2021

Conversation

jameswex
Copy link
Collaborator

@jameswex jameswex commented Nov 9, 2021

Merge dev to main for v0.4

noahcb and others added 30 commits April 2, 2021 18:55
A hotflip is consider minimal if no strict subset of the applied token flips
succeeds in flipping the prediction.

PiperOrigin-RevId: 367706701
By default, explains argmax class but can be set to any class index.
Also can set normalization and steps.

Also updated LIME to by default explain the argmax class (instead of class 1).

PiperOrigin-RevId: 368236153
The sync is one way. LIT still only syncs primary selection back to URL.

PiperOrigin-RevId: 368476811
No longer uses flexbox to avoid a variety of issues with resizing.
Modules.ts now calculates sets the width of each widget_group explicitly, as opposed to the groups calculating their own widths. This allows for smoother/faster width changes and more predictable behavior for the user when resizing widget groups. Removed transition animations of module groups to improve performance and visual smoothless as well.

Also shrank width of classification module bars since that module took up unnecessary width.

PiperOrigin-RevId: 368848905
Also adds display of value of primary selected example, if there is one.

PiperOrigin-RevId: 368858422
…ific to

that use case. This greatly simplifies table.ts, which no longer needs a toolbar
or column visibility controls.
- Remove columnVisibility map; just pass names as strings instead.
- lit-data-table can accept data as records, and will use column names to extract fields.
- Simplify rendering logic to compute header widths.
- Remove dead codepaths and redundant state.

PiperOrigin-RevId: 368908615
…ple, and adds SST2 BERT tiny as a test model.

PiperOrigin-RevId: 369298147
PiperOrigin-RevId: 369519104
…y.testing.assert_allclose().

PiperOrigin-RevId: 369682142
- Global settings dialogue can also be exited by clicking background.
- Escape to exit settings dialogue or maximized module

PiperOrigin-RevId: 369686011
PiperOrigin-RevId: 369692304
- Use a clean button style
- Quick-select for compatible models

PiperOrigin-RevId: 371022221
… vertical

scollbars in the main or tray areas.

PiperOrigin-RevId: 371032145
…ve view

when driving selections from other modules. Ignore self-selection, so that
working within the data table still works normally.
- Also ignore selections from URLService on page load.
- Use a toggle switch instead of a checkbox for the control.

PiperOrigin-RevId: 371122353
jameswex and others added 23 commits November 3, 2021 12:41
Eliminates console warnings seen in our demos.

PiperOrigin-RevId: 407401484
PiperOrigin-RevId: 407623347
- Release notes.
- Pip package version update.
- Small README tweaks.

PiperOrigin-RevId: 407803648
- Do not resize text boxes on text input.
- Only run resize logic when module changes size (due to window or module resizing).
- Handle empty datasets correctly in resize logic. Previous logic was setting an invalid height due to -Infinity usage.

PiperOrigin-RevId: 407805693
modules.ts contains a reaction for changes to renderLayout but since it was not @observable, it never got triggered.

PiperOrigin-RevId: 407870706
PiperOrigin-RevId: 407882402
PiperOrigin-RevId: 407928231
- Fix import failure due to Keras/TF version mismatch (https://stackoverflow.com/questions/58012741/).
- Fix GPT-2 tokenizer crashes.
- Clean up some transformers symbol paths.

PiperOrigin-RevId: 408207176
PiperOrigin-RevId: 408483818
@jameswex jameswex requested a review from iftenney November 9, 2021 02:25
@google-cla
Copy link

google-cla bot commented Nov 9, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no Contributor License Agreement issue label Nov 9, 2021
PiperOrigin-RevId: 408493915
@google-cla
Copy link

google-cla bot commented Nov 9, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@jameswex jameswex merged commit 4d8a9ae into main Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: no Contributor License Agreement issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants