Update README.md
Browse files
README.md
CHANGED
@@ -56,7 +56,7 @@ We compare the performances using the average top rank of the articles targeted
|
|
56 |
|
57 |
## How to Use Bloomz-3b-retriever-v2
|
58 |
|
59 |
-
|
60 |
|
61 |
```python
|
62 |
from typing import Union, List
|
@@ -92,7 +92,7 @@ top_k = lambda x: [
|
|
92 |
top_contexts = top_k(5)
|
93 |
```
|
94 |
|
95 |
-
|
96 |
|
97 |
```python
|
98 |
import numpy as np
|
|
|
56 |
|
57 |
## How to Use Bloomz-3b-retriever-v2
|
58 |
|
59 |
+
**With Transformers API:**
|
60 |
|
61 |
```python
|
62 |
from typing import Union, List
|
|
|
92 |
top_contexts = top_k(5)
|
93 |
```
|
94 |
|
95 |
+
**With Pipeline API:**
|
96 |
|
97 |
```python
|
98 |
import numpy as np
|