from sentence_transformers import CrossEncoder
model = CrossEncoder("bongsoo/kpf-cross-encoder-v1")
scores = model.predict([('오늘 날씨가 좋다', '오늘 등산을 한다'), ('오늘 날씨가 흐리다', '오늘 비가 내린다')])
print(scores)
[0.298039 0.70830244]
The model will predict scores for the pairs
('Sentence 1', 'Sentence 2')
and
('Sentence 3', 'Sentence 4')
.
You can use this model also without sentence_transformers and by just using Transformers
AutoModel
class
Runs of bongsoo kpf-cross-encoder-v1 on huggingface.co
140
Total runs
-2
24-hour runs
-7
3-day runs
-9
7-day runs
-278
30-day runs
More Information About kpf-cross-encoder-v1 huggingface.co Model
kpf-cross-encoder-v1 huggingface.co is an AI model on huggingface.co that provides kpf-cross-encoder-v1's model effect (), which can be used instantly with this bongsoo kpf-cross-encoder-v1 model. huggingface.co supports a free trial of the kpf-cross-encoder-v1 model, and also provides paid use of the kpf-cross-encoder-v1. Support call kpf-cross-encoder-v1 model through api, including Node.js, Python, http.
kpf-cross-encoder-v1 huggingface.co is an online trial and call api platform, which integrates kpf-cross-encoder-v1's modeling effects, including api services, and provides a free online trial of kpf-cross-encoder-v1, you can try kpf-cross-encoder-v1 online for free by clicking the link below.
bongsoo kpf-cross-encoder-v1 online free url in huggingface.co:
kpf-cross-encoder-v1 is an open source model from GitHub that offers a free installation service, and any user can find kpf-cross-encoder-v1 on GitHub to install. At the same time, huggingface.co provides the effect of kpf-cross-encoder-v1 install, users can directly use kpf-cross-encoder-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
kpf-cross-encoder-v1 install url in huggingface.co: