Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kwang2049 authored Dec 17, 2021
1 parent 6d16474 commit 920c0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpl/toolkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is because:
However, the last layer of "facebook/dpr-question_encoder-single-nq-base" is actually a dense linear (with an activation function).

To start from these checkpoints, one need to transform them into SBERT-format. We here provide two examples in [reformat.py](./reformat.py) to transform `simcse_like` and `dpr_like` models into SBERT-format. For example, one can run:
```python
```bash
python -m gpl.toolkit.reformat \
--template "dpr_like" \
--model_name_or_path "facebook/dpr-question_encoder-single-nq-base" \
Expand Down

0 comments on commit 920c0e8

Please sign in to comment.