You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add warm_start option to LitWidget - [a5265a4](https://github.com/PAIR-code/lit/commit/a5265a4feeb701b878986f79665d5fdf9ddc244c)
59
+
* Pretty-printing of Model objects - [4fb3bde](https://github.com/PAIR-code/lit/commit/4fb3bde897c68fdeb3bd829f6e5a88223bc131a4)
60
+
* Avoid equivalent shuffles in Scrambler - [0d8c0d9](https://github.com/PAIR-code/lit/commit/0d8c0d948480e0835fd3f451b95b7ec306b6409d)
61
+
* Updated gunicorn config for demos running in Docker - [b14e3b1](https://github.com/PAIR-code/lit/commit/b14e3b1a81d7b6305063f778f46666a4d1326045)
62
+
* Disable embeddings for TyDi - [7ff377f](https://github.com/PAIR-code/lit/commit/7ff377f92820748476e796994fd207e1b5dba1d9)
63
+
* Cast embeddings to float32 before computing distances - [5456011](https://github.com/PAIR-code/lit/commit/5456011db8ead5d53db6f39bcdca3fc388802fbe)
64
+
* Update colab examples to include installation of the lit-nlp package - [48b029c](https://github.com/PAIR-code/lit/commit/48b029c3a1a3f25d4d2611a9b0e94355d41078ef)
65
+
3
66
## Release 1.1.1
4
67
5
68
This release covers various improvements for sequence salience, including new
Copy file name to clipboardExpand all lines: docs/demos/index.html
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,17 @@
98
98
<divclass="demo-card-copy">Analyze a tabular data model with LIT, including exploring partial dependence plots and automatically finding counterfactuals.</div>
<divclass="demo-card-copy">Use LIT directly inside a Colab notebook. Explore binary classification for sentiment analysis using SST2 from the General Language Understanding Evaluation (GLUE) benchmark suite.</div>
<divclass="demo-card-copy">Use LIT to explore gendered associations in a coreference system, which matches pronouns to their antecedents. This demo highlights how LIT can work with structured prediction models (edge classification), and its capability for disaggregated analysis.</div>
<divclass="demo-card-copy">Explore a BERT-based masked-language model. See what tokens the model predicts should fill in the blank when any token from an example sentence is masked out.</div>
<divclass="demo-card-copy">Use a T5 model to summarize text. For any example of interest, quickly find similar examples from the training set, using an approximate nearest-neighbors index.</div>
<divclass="demo-card-copy">Explore the faithfulness of input salience methods on a BERT-base model across different datasets and artificial shortcuts.</div>
`INPUT_SPEC`. The different types available in LIT are summarized in the table
814
-
below.
810
+
The full set of `LitType`s is defined in [types.py](https://github.com/PAIR-code/lit/blob/main/lit_nlp/api/types.py). Numeric types such as `Integer` and `Scalar` have predefined ranges that can be overridden using corresponding `min_val` and `max_val` attributes as seen [here](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/datasets/penguin_data.py;l=19-22;rcl=574999438). The different types available in LIT are summarized
811
+
in the table below.
815
812
816
813
Note: Bracket syntax, such as `<float>[num_tokens]`, refers to the shapes of
817
814
NumPy arrays where each element inside the brackets is an integer.
@@ -862,7 +859,7 @@ naming collisions with protected TypeScript keywords.*
862
859
Some properties of the LIT frontend can be configured from Python as
863
860
**arguments to `dev_server.Server()`**. These include:
864
861
865
-
* `page_title`: set a custom page title.
862
+
* `page_title`: set a custom page title, such as "Coreference Demo".
866
863
* `canonical_url`: set a "canonical" URL (such as a shortlink) that will be
867
864
used as the base when copying links from the LIT UI.
868
865
* `default_layout`: set the default UI layout, by name. See `layout.ts` and
@@ -889,16 +886,22 @@ You can specify custom web app layouts from Python via the `layouts=` attribute.
889
886
The value should be a `Mapping[str, LitCanonicalLayout]`, such as:
890
887
891
888
```python
892
-
PENGUIN_LAYOUT = layout.LitCanonicalLayout(
889
+
LM_LAYOUT = layout.LitCanonicalLayout(
893
890
upper={
894
-
'Main': [
895
-
modules.DiveModule,
891
+
"Main": [
892
+
modules.EmbeddingsModule,
896
893
modules.DataTableModule,
897
894
modules.DatapointEditorModule,
898
895
]
899
896
},
900
-
lower=layout.STANDARD_LAYOUT.lower,
901
-
description='Custom layout for the Palmer Penguins demo.',
0 commit comments