tuhailong's picture
Update README.md
8d0f1fc
|
raw
history blame
478 Bytes
metadata
language: zh
tags:
  - sbert
datasets:
  - dialogue

Data

train data is similarity sentence data from E-commerce dialogue

Model

model created by sentence-tansformers,model struct is cross-encoder

Usage

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