marcospiau
commited on
Commit
•
ab6e00a
1
Parent(s):
494b63b
Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ docs = [
|
|
27 |
ranker = Reranker(
|
28 |
"unicamp-dl/monoptt5-3b",
|
29 |
inputs_template="Pergunta: {query} Documento: {text} Relevante:",
|
30 |
-
dtype=torch.float32
|
31 |
)
|
32 |
|
33 |
results = ranker.rank(query, docs)
|
|
|
27 |
ranker = Reranker(
|
28 |
"unicamp-dl/monoptt5-3b",
|
29 |
inputs_template="Pergunta: {query} Documento: {text} Relevante:",
|
30 |
+
dtype=torch.float32 # or bfloat16 if supported by your GPU
|
31 |
)
|
32 |
|
33 |
results = ranker.rank(query, docs)
|