Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -65,7 +65,7 @@ encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tenso
65
  with torch.no_grad():
66
  model_output = model(**encoded_input)
67
 
68
- # Perform pooling. In this case, max pooling.
69
  sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
70
 
71
  print("Sentence embeddings:")
 
65
  with torch.no_grad():
66
  model_output = model(**encoded_input)
67
 
68
+ # Perform pooling. In this case, mean polling.
69
  sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
70
 
71
  print("Sentence embeddings:")