XuandongZhao commited on
Commit
c395d99
1 Parent(s): 018ba30

update readme

Browse files
Files changed (1) hide show
  1. README.md +8 -6
README.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  # HPD-TinyBERT-F128
3
 
4
  This repository contains the pre-trained models for our paper [Compressing Sentence Representation for Semantic Retrieval via Homomorphic Projective Distillation](https://arxiv.org/abs/2203.07687).
@@ -29,7 +33,7 @@ model = SentenceTransformer('Xuandong/HPD-TinyBERT-F128')
29
 
30
  Then you can use our model for **encoding sentences into embeddings**
31
  ```python
32
- sentences = ['He plays guitar.', 'A street vendor is outside.', 'A woman is reading.']
33
  sentence_embeddings = model.encode(sentences)
34
 
35
  for sentence, embedding in zip(sentences, sentence_embeddings):
@@ -42,13 +46,11 @@ for sentence, embedding in zip(sentences, sentence_embeddings):
42
 
43
  We evaluate our model on semantic textual similarity (STS) tasks. The results are:
44
 
45
- ```
46
- +-------+-------+-------+-------+-------+--------------+-----------------+-------+
47
  | STS12 | STS13 | STS14 | STS15 | STS16 | STSBenchmark | SICKRelatedness | Avg. |
48
- +-------+-------+-------+-------+-------+--------------+-----------------+-------+
49
  | 74.29 | 83.05 | 78.80 | 84.62 | 81.17 | 84.36 | 80.83 | 81.02 |
50
- +-------+-------+-------+-------+-------+--------------+-----------------+-------+
51
- ```
52
 
53
  ## Training
54
 
 
1
 
2
+ ---
3
+ license: apache-2.0
4
+ ---
5
+
6
  # HPD-TinyBERT-F128
7
 
8
  This repository contains the pre-trained models for our paper [Compressing Sentence Representation for Semantic Retrieval via Homomorphic Projective Distillation](https://arxiv.org/abs/2203.07687).
 
33
 
34
  Then you can use our model for **encoding sentences into embeddings**
35
  ```python
36
+ sentences = ['He plays guitar.', 'A street vendor is outside.']
37
  sentence_embeddings = model.encode(sentences)
38
 
39
  for sentence, embedding in zip(sentences, sentence_embeddings):
 
46
 
47
  We evaluate our model on semantic textual similarity (STS) tasks. The results are:
48
 
49
+
 
50
  | STS12 | STS13 | STS14 | STS15 | STS16 | STSBenchmark | SICKRelatedness | Avg. |
51
+ |-------|-------|-------|-------|-------|--------------|-----------------|-------|
52
  | 74.29 | 83.05 | 78.80 | 84.62 | 81.17 | 84.36 | 80.83 | 81.02 |
53
+
 
54
 
55
  ## Training
56