tomaarsen HF staff Studeni commited on
Commit
4782cde
·
verified ·
1 Parent(s): 4b10ffb

Update README.md (#3)

Browse files

- Update README.md (7222b10f2c2d4d26c4b1adff75a4f6cd803101c8)


Co-authored-by: Milutin Studen <Studeni@users.noreply.huggingface.co>

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 pooling.
69
  sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
70
 
71
  print("Sentence embeddings:")