Divide two code blocks with some text to avoid tabs in UI

This commit is contained in:
Kacper Łukawski
2022-11-29 16:45:57 +01:00
parent c7acce708a
commit 59c1b944b9
@@ -201,6 +201,8 @@ for embedding, pubid in tqdm(zip(question_response.embeddings, ids)):
answer_positions.append(-1)
```
Saved answer positions allow us to calculate the metric for different *k* values.
```python
# Prepared answer positions are being used to calculate different values of accuracy@k
for k in range(1, k_max + 1):