Skip to content

Commit

Permalink
Adds requirements.txt to sentence transformers training paraphrases (#…
Browse files Browse the repository at this point in the history
…1753)

Signed-off-by: Daniel Huang <[email protected]>
  • Loading branch information
pi314ever authored Feb 7, 2025
1 parent 062e22e commit 865488e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/sentence-transformers-training/paraphrases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

To fine-tune on the paraphrase task:

0. Install required packages

```sh
pip install -r requirements.txt
```

1. Choose a pre-trained model `<model_name>` (For example: `bert-base-uncased`).

2. Choose the training, evaluation, and test dataset(s). Here, we use a dataset dictionary to include multiple datasets.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
datasets

0 comments on commit 865488e

Please sign in to comment.