Delete self
#2
by
antonioloison - opened
README.md
CHANGED
|
@@ -131,7 +131,7 @@ def encode_queries(queries: list[str], dimension: int) -> torch.Tensor:
|
|
| 131 |
**inputs, cache_position=cache_position, use_cache=False)
|
| 132 |
|
| 133 |
with torch.no_grad():
|
| 134 |
-
output =
|
| 135 |
**inputs,
|
| 136 |
return_dict=True,
|
| 137 |
output_hidden_states=True
|
|
@@ -195,7 +195,7 @@ def encode_documents(documents: list[Image.Image], dimension: int):
|
|
| 195 |
**inputs, cache_position=cache_position, use_cache=False)
|
| 196 |
|
| 197 |
with torch.no_grad():
|
| 198 |
-
output =
|
| 199 |
**inputs,
|
| 200 |
return_dict=True,
|
| 201 |
output_hidden_states=True
|
|
|
|
| 131 |
**inputs, cache_position=cache_position, use_cache=False)
|
| 132 |
|
| 133 |
with torch.no_grad():
|
| 134 |
+
output = model(
|
| 135 |
**inputs,
|
| 136 |
return_dict=True,
|
| 137 |
output_hidden_states=True
|
|
|
|
| 195 |
**inputs, cache_position=cache_position, use_cache=False)
|
| 196 |
|
| 197 |
with torch.no_grad():
|
| 198 |
+
output = model(
|
| 199 |
**inputs,
|
| 200 |
return_dict=True,
|
| 201 |
output_hidden_states=True
|