File size: 505 Bytes
1b110b7
 
 
8d0f1fc
1b110b7
 
 
 
 
5c692f5
1b110b7
 
 
 
 
 
333269f
 
 
 
61198bd
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)
```