Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal change #1513

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading