Skip to content

Commit

Permalink
Update code links in LIT documentation to point to new demo locations.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 645459602
  • Loading branch information
llcourage authored and LIT team committed Jun 21, 2024
1 parent 8863019 commit afd51fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions website/sphinx_src/demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ https://pair-code.github.io/lit/demos/.
### Sentiment and NLI <!-- DO NOT REMOVE {#glue .demo-header} -->

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

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

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

* STS-B textual similarity task, predicting scores on a range from 0
(unrelated) to 5 (very similar).
Expand Down
2 changes: 1 addition & 1 deletion website/sphinx_src/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ images and tabular data. For examples, see:

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

0 comments on commit afd51fe

Please sign in to comment.