Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 646437309
  • Loading branch information
RyanMullins authored and LIT team committed Jun 25, 2024
1 parent bb29f43 commit ae31d35
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/documentation/_sources/getting_started.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Most demos can be run with a single blaze command. To run the default one, you
can do:

```sh
python -m lit_nlp.examples.glue_demo \
python -m lit_nlp.examples.glue.demo \
--quickstart --port=4321 --alsologtostderr
```

Expand Down
4 changes: 2 additions & 2 deletions lit_nlp/examples/glue/demo.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
r"""Example demo loading a handful of GLUE models.
For a quick-start set of models, run:
blaze run -c opt --config=cuda examples/glue:demo -- \
python -m lit_nlp.examples.glue.demo \
--quickstart --port=5432
To run with the 'normal' defaults, including full-size BERT models:
blaze run -c opt --config=cuda examples/glue:demo -- --port=5432
python -m lit_nlp.examples.glue.demo --port=5432
Then navigate to localhost:5432 to access the demo UI.
"""
Expand Down
2 changes: 1 addition & 1 deletion lit_nlp/examples/penguin/demo.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""🐧 LIT demo for tabular data using penguin classification.
To run:
blaze run -c opt --config=cuda examples/penguin:demo -- --port=5432
python -m lit_nlp.examples.penguin.demo --port=5432
Then navigate to localhost:5432 to access the demo UI.
"""
Expand Down
5 changes: 2 additions & 3 deletions website/sphinx_src/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ variety of model types. The code for these is under [examples](https://github.co
;
each is a small script that loads one or more models and starts a LIT server.

Most demos can be run with a single blaze command. To run the default one, you
can do:
Most demos can be run with a single command. To run the default one, you can do:

```sh
python -m lit_nlp.examples.glue_demo \
python -m lit_nlp.examples.glue.demo \
--quickstart --port=4321 --alsologtostderr
```

Expand Down

0 comments on commit ae31d35

Please sign in to comment.