import time
dict_embeddings = {}
t0 = time.time()
for i in range(len(questions)):
if i%1000 == 0:
t1 = time.time()
total = t1-t0
print("encoding number ",i," time since beginning:", total)
dict_embeddings[questions[i]] = model.encode([questions[i]], tokenize=True)
Revolucion for Monica
- 4.5k
- 7
- 41
- 124
Revolucion for Monica
- 4.5k
- 7
- 41
- 124
Revolucion for Monica
- 4.5k
- 7
- 41
- 124
Revolucion for Monica
- 4.5k
- 7
- 41
- 124
Revolucion for Monica
- 4.5k
- 7
- 41
- 124