yosefw commited on
Commit
7051a68
·
verified ·
1 Parent(s): c0c3fcc

Add new SparseEncoder model

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. model.safetensors +1 -1
  3. tokenizer_config.json +1 -1
README.md CHANGED
@@ -187,7 +187,7 @@ print(query_embeddings.shape, document_embeddings.shape)
187
  # Get the similarity scores for the embeddings
188
  similarities = model.similarity(query_embeddings, document_embeddings)
189
  print(similarities)
190
- # tensor([[22.4810, 22.8282, 21.7472]])
191
  ```
192
 
193
  <!--
 
187
  # Get the similarity scores for the embeddings
188
  similarities = model.similarity(query_embeddings, document_embeddings)
189
  print(similarities)
190
+ # tensor([[22.4364, 22.7160, 21.7330]])
191
  ```
192
 
193
  <!--
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd663f83e4f500c3e9c7a5bf6c1498fbd225ec75e7f7ee38006f1889d5db9d00
3
  size 44814856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a7f2791a6ae8c6c07c51f95d67f52c7514cecf0fe59f0381969e3add0751f9d
3
  size 44814856
tokenizer_config.json CHANGED
@@ -48,7 +48,7 @@
48
  "extra_special_tokens": {},
49
  "mask_token": "[MASK]",
50
  "max_length": 512,
51
- "model_max_length": 1000000000000000019884624838656,
52
  "never_split": null,
53
  "pad_to_multiple_of": null,
54
  "pad_token": "[PAD]",
 
48
  "extra_special_tokens": {},
49
  "mask_token": "[MASK]",
50
  "max_length": 512,
51
+ "model_max_length": 512,
52
  "never_split": null,
53
  "pad_to_multiple_of": null,
54
  "pad_token": "[PAD]",