File size: 507 Bytes
1b110b7
 
 
8d0f1fc
1b110b7
 
 
 
 
d17b2bd
1b110b7
 
 
 
 
 
333269f
 
 
 
1b110b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
language: zh
tags:
- sbert
datasets:
- dialogue
---

# Data
train data is similarity sentence data from E-commerce dialogue, about 20w sentence pairs。

## Model
model created by [sentence-tansformers](https://www.sbert.net/index.html),model struct is cross-encoder

### Usage
```python
>>> from sentence_transformers.cross_encoder import CrossEncoder
>>> model = CrossEncoder('tuhailong/cross-encoder')
>>> scores = model.predict([["今天天气不错", "今天心情不错"]])
>>> print(scores)
```