Skip to content

Commit afd51fe

Browse files
llcourageLIT team
authored andcommitted
Update code links in LIT documentation to point to new demo locations.
PiperOrigin-RevId: 645459602
1 parent 8863019 commit afd51fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

website/sphinx_src/demos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ https://pair-code.github.io/lit/demos/.
1717
### Sentiment and NLI <!-- DO NOT REMOVE {#glue .demo-header} -->
1818

1919
**Hosted instance:** https://pair-code.github.io/lit/demos/glue.html \
20-
**Code:** [examples/glue_demo.py](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/glue_demo.py)
20+
**Code:** [examples/glue/demo.py](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/glue/demo.py)
2121

2222
* Multi-task demo:
2323
* Sentiment analysis as a binary classification task
@@ -50,7 +50,7 @@ https://pair-code.github.io/lit/tutorials/sentiment
5050
### Textual Similarity (STS-B) <!-- DO NOT REMOVE {#stsb .demo-header} -->
5151

5252
**Hosted instance:** https://pair-code.github.io/lit/demos/glue.html?models=stsb&dataset=stsb_dev \
53-
**Code:** [examples/glue_demo.py](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/glue_demo.py)
53+
**Code:** [examples/glue/demo.py](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/glue/demo.py)
5454

5555
* STS-B textual similarity task, predicting scores on a range from 0
5656
(unrelated) to 5 (very similar).

website/sphinx_src/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ images and tabular data. For examples, see:
1919

2020
* [DALL·E demo](google3/third_party/py/lit_nlp/examples/dalle/) - image
2121
generation, using DALL·E Mini model.
22-
* [Tabular demo](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/penguin_demo.py) -
22+
* [Tabular demo](https://github.com/PAIR-code/lit/blob/main/lit_nlp/examples/penguin/demo.py) -
2323
multi-class classification on tabular (numeric and categorical string) data,
2424
using the
2525
[Palmer Penguins](https://www.tensorflow.org/datasets/catalog/penguins)

0 commit comments

Comments
 (0)