Skip to content

Commit 8653090

Browse files
RyanMullinsLIT team
authored and
LIT team
committed
Website update for v0.5 release
PiperOrigin-RevId: 492356336
1 parent 93ee4fd commit 8653090

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+820
-25
lines changed

docs/assets/css/new.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,9 @@ h5 {
544544
margin-bottom: 20px;
545545
}
546546

547-
.info-box-text, .info-box-text p {
547+
.info-box-text,
548+
.info-box-text p,
549+
.info-box-text ul {
548550
font-family: "Open Sans";
549551
font-style: normal;
550552
font-weight: normal;
-360 KB
-6.6 KB

docs/assets/images/lit-coref-data.png

-50.3 KB
-16.4 KB
-68.7 KB

docs/assets/images/lit-coref-pred.png

2.14 KB
-197 KB
24.4 KB
47.9 KB

docs/assets/images/lit-saliency.png

49 KB

docs/assets/images/lit-t5.png

162 KB

docs/assets/images/lit-toolbars.gif

-3.49 MB

docs/assets/images/lit-tweet.gif

1.04 MB

docs/assets/images/lit-workspaces.png

-1.07 MB
-699 KB
-149 KB
397 KB
333 KB
661 KB
697 KB
191 KB
171 KB
170 KB
264 KB
232 KB
209 KB
255 KB
217 KB
149 KB
134 KB
329 KB
131 KB
221 KB
158 KB
157 KB
154 KB
154 KB
137 KB
154 KB

docs/demos/index.html

+16-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<div class="hero-container mdl-grid">
7777
<div class="mdl-cell--8-col mdl-cell--6-col-tablet mdl-cell--4-col-phone">
7878

79-
<div class="sub-title">Take the Learning Interpretability Tool for a spin!</div>
79+
<div class="sub-title">Take LIT for a spin!</div>
8080
<div class="sub-copy">Get a feel for LIT in a variety of hosted demos.</div>
8181
</div>
8282
</div>
@@ -98,13 +98,13 @@
9898
</div>
9999
<div class="demo-card mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone">
100100
<div class="demo-card-title"><a href="/lit/demos/images.html" target="_blank">Image classification</a></div>
101-
<div class="demo-card-tags"> <span class="demo-tag"> images </span> <span class="demo-tag"> mutli-class classification </span>
101+
<div class="demo-card-tags"> <span class="demo-tag"> images </span> <span class="demo-tag"> multiclass classification </span>
102102
</div>
103103
<div class="demo-card-data-source-title">DATA SOURCES</div>
104104
<div class="demo-card-data-source">
105105
Imagenette
106106
</div>
107-
<div class="demo-card-copy">Analyze an image classification model with LIT, including muliple image salience techniques.</div>
107+
<div class="demo-card-copy">Analyze an image classification model with LIT, including multiple image salience techniques.</div>
108108
<div class="demo-card-cta-button"><a href="/lit/demos/images.html"></a></div>
109109
</div>
110110
<div class="demo-card mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone">
@@ -115,7 +115,7 @@
115115
<div class="demo-card-data-source">
116116
Stanford Sentiment Treebank, Multi-Genre NLI Corpus, Semantic Textual Similarity Benchmark
117117
</div>
118-
<div class="demo-card-copy">Use LIT with any of three tasks from the General Language Understanding Evaluation (GLUE) benchmark suite. This demo contains binary classification (for sentiment analysis, using SST2), multi-class classification (for textual entailment, using MultiNLI), and regression (for measuringtext similarity, using STS-B).</div>
118+
<div class="demo-card-copy">Use LIT with any of three tasks from the General Language Understanding Evaluation (GLUE) benchmark suite. This demo contains binary classification (for sentiment analysis, using SST2), multi-class classification (for textual entailment, using MultiNLI), and regression (for measuring text similarity, using STS-B).</div>
119119
<div class="demo-card-cta-button"><a href="/lit/demos/glue.html"></a></div>
120120
</div>
121121
<div class="demo-card mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone">
@@ -162,7 +162,19 @@
162162
<div class="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>
163163
<div class="demo-card-cta-button"><a href="/lit/demos/t5.html"></a></div>
164164
</div>
165+
<div class="demo-card mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone">
166+
<div class="demo-card-title"><a href="/lit/demos/is_eval.html" target="_blank">Evaluating input salience methods</a></div>
167+
<div class="demo-card-tags"> <span class="demo-tag"> salience </span> <span class="demo-tag"> evaluation </span>
168+
</div>
169+
<div class="demo-card-data-source-title">DATA SOURCES</div>
170+
<div class="demo-card-data-source">
171+
Stanford Sentiment Treebank, Toxicity
165172
</div>
173+
<div class="demo-card-copy">Explore the faithfulness of input salience methods across different datasets and artificial shortcuts.</div>
174+
<div class="demo-card-cta-button"><a href="/lit/demos/is_eval.html"></a></div>
175+
</div>
176+
</div>
177+
</div>
166178

167179
</div>
168180
<div class="fixed-sub-navigation hide-me">

docs/demos/is_eval.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html>
2+
<script>
3+
window.location.replace("http://34.86.17.245:5437/");
4+
</script>
5+
</html>

docs/demos/lm.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<html>
22
<script>
3-
window.location.replace("http://34.86.17.245:5433/");
3+
window.location.replace("http://34.86.17.245:5434/");
44
</script>
55
</html>

docs/index.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
</script>
1616

1717
<title>Learning Interpretability Tool</title>
18-
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
18+
19+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
1920
<link rel="stylesheet" href="/lit/assets/css/material.min.css">
2021
<link rel="stylesheet" href="/lit/assets/css/material.min.css">
2122
<link rel="stylesheet" href="/lit/assets/css/prism-material-light.css">
@@ -143,13 +144,13 @@ <h3>Framework agnostic</h3>
143144
</div>
144145
</div>
145146
<div class="spacer" style="height:50px;"></div>
146-
<h2>Whats the latest</h2>
147+
<h2>What's the latest</h2>
147148
<div class="mdl-grid no-padding">
148149
<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--8-col-phone">
149150
<img class="home-card-image" src="/lit/assets/images/LIT_Updates.png"/>
150151
<div class="home-card-action">UPDATES</div>
151-
<h3 class="home-card-title">Version 0.4</h3>
152-
<div class="home-card-desc">New features, updates, and improvements to LIT.</div>
152+
<h3 class="home-card-title">Version 0.5</h3>
153+
<div class="home-card-desc">Tabular feature attribution, Dive, and many more new features, updates, and improvements to LIT.</div>
153154
<div class="home-card-cta-button"><a href="https://github.com/PAIR-code/lit/blob/main/RELEASE.md" target="_blank" >See release notes</a><img class="external-arrow" src="/lit/assets/images/arrow-link-out.png"/></div>
154155
</div>
155156
<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--8-col-phone">

docs/setup/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ <h1>Run the included demos</h1>
105105
viewed in an output cell of the notebook.</p>
106106
<h2>Quick-start: Classification and regression</h2>
107107
<p>To explore classification and regression models tasks from the popular <a href="https://gluebenchmark.com/">GLUE benchmark</a>:</p>
108-
<pre class="language-bash"><code class="language-bash">python -m lit_nlp.examples.glue_demo --port<span class="token operator">=</span><span class="token number">5432</span> --quickstart</code></pre>
108+
<pre class="language-bash"><code class="language-bash">blaze run -c opt --config<span class="token operator">=</span>cuda examples:glue_demo -- --port<span class="token operator">=</span><span class="token number">5432</span> --quickstart</code></pre>
109109
<p>Navigate to http://localhost:5432 to access the LIT UI.</p>
110110
<p>Your default view will be a
111111
<a href="https://arxiv.org/abs/1908.08962">small BERT-based model</a> fine-tuned on the
@@ -114,7 +114,7 @@ <h2>Quick-start: Classification and regression</h2>
114114
<a href="http://ixa2.si.ehu.es/stswiki/index.php/STSbenchmark">STS-B</a> or <a href="https://cims.nyu.edu/~sbowman/multinli/">MultiNLI</a> using the toolbar or the gear icon in
115115
the upper right.</p>
116116
<h2>Language modeling</h2>
117-
<pre class="language-bash"><code class="language-bash">python -m lit_nlp.examples.lm_demo <span class="token punctuation">\</span><br> --models<span class="token operator">=</span>bert-base-uncased --port<span class="token operator">=</span><span class="token number">5432</span></code></pre>
117+
<pre class="language-bash"><code class="language-bash">blaze run -c opt --config<span class="token operator">=</span>cuda examples:lm_demo -- <span class="token punctuation">\</span><br> --models<span class="token operator">=</span>bert-base-uncased --port<span class="token operator">=</span><span class="token number">5432</span></code></pre>
118118
<p>In this demo, you can explore predictions from a pretrained language model (i.e. fill in the blanks).
119119
Navigate to http://localhost:5432 for the UI.</p>
120120
<h2>More examples</h2>

docs/tutorials/index.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,17 @@ <h4 class="tutorial-link-title"><a href="/lit/tutorials/tour">A Tour of LIT</a><
9393
<div class="spacer" style="height:50px;"></div>
9494
<p><a name="analysis"></a></p>
9595
<h2>Conducting analysis in LIT</h2>
96+
<div class="tutorial-link-element">
97+
<h4 class="tutorial-link-title"><a href="/lit/tutorials/text-salience">Salience Maps for Text</a></h4>
98+
<div class="tutorial-link-copy">Learn how to use salience maps for text data in LIT.</div>
99+
</div>
100+
<div class="tutorial-link-element">
101+
<h4 class="tutorial-link-title"><a href="/lit/tutorials/tab-feat-attr">Tabular Feature Attribution</a></h4>
102+
<div class="tutorial-link-copy">Learn how to use the Kernel SHAP based Tabular Feature Attribution module in LIT.</div>
103+
</div>
96104
<div class="tutorial-link-element">
97105
<h4 class="tutorial-link-title"><a href="/lit/tutorials/tcav">Global Model Analysis with TCAV</a></h4>
98-
<div class="tutorial-link-copy">Learn about examaning model behavior through user-curated concepts.</div>
106+
<div class="tutorial-link-copy">Learn about examining model behavior through user-curated concepts.</div>
99107
</div>
100108
<div class="tutorial-link-element">
101109
<h4 class="tutorial-link-title"><a href="/lit/tutorials/sentiment">Exploring a Sentiment Classifier</a></h4>

0 commit comments

Comments
 (0)