Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,16 @@ library_name: peft
|
|
7 |
|
8 |
This is a reproduced version of the RepLLaMA model. See [this thread](https://github.com/texttron/tevatron/issues/129) for details of the reproduction process, which changed from their original version.
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
The command used to create this reproduction was the Tevatron codebase (commit 9bb8381) with command:
|
11 |
|
12 |
```
|
|
|
7 |
|
8 |
This is a reproduced version of the RepLLaMA model. See [this thread](https://github.com/texttron/tevatron/issues/129) for details of the reproduction process, which changed from their original version.
|
9 |
|
10 |
+
You can use this with the RepLLaMA example code in [tevatron](https://github.com/texttron/tevatron) or with mteb:
|
11 |
+
|
12 |
+
```python
|
13 |
+
import mteb
|
14 |
+
model = mteb.get_model("samaya-ai/RepLLaMA-reproduced")
|
15 |
+
tasks = mteb.get_tasks(tasks=["NFCorpus"], languages=["eng"])
|
16 |
+
evaluation = mteb.MTEB(tasks=tasks)
|
17 |
+
evaluation.run(model, batch_size=16)
|
18 |
+
```
|
19 |
+
|
20 |
The command used to create this reproduction was the Tevatron codebase (commit 9bb8381) with command:
|
21 |
|
22 |
```
|