Skip to content

Commit

Permalink
Small updates to README (no newlines in shell commands)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 479005767
Change-Id: I673e8248514e2d8da09273d7d43a09dc408556ea
  • Loading branch information
scychan authored and copybara-github committed Oct 5, 2022
1 parent fd07fa1 commit eba75a4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,13 @@ subdirectory of `config.checkpoint_dir` containing the relevant checkpoint
To evaluate on in-context learning (on holdout classes):

```shell
$ python -m emergent_in_context_learning.experiment.experiment --config $PATH_TO_CONFIG
--logtostderr --config.one_off_evaluate --config.restore_path $CKPT_DIR
--jaxline_mode eval_fewshot_holdout
$ python -m emergent_in_context_learning.experiment.experiment --config $PATH_TO_CONFIG --logtostderr --config.one_off_evaluate --config.restore_path $CKPT_DIR --jaxline_mode eval_fewshot_holdout
```

To evaluate on in-weights learning (on trained classes):

```shell
$ python -m emergent_in_context_learning.experiment.experiment --config $PATH_TO_CONFIG
--logtostderr --config.one_off_evaluate --config.restore_path $CKPT_DIR
--jaxline_mode eval_no_support_zipfian
$ python -m emergent_in_context_learning.experiment.experiment --config $PATH_TO_CONFIG --logtostderr --config.one_off_evaluate --config.restore_path $CKPT_DIR --jaxline_mode eval_no_support_zipfian
```


Expand Down

0 comments on commit eba75a4

Please sign in to comment.