Pongsasit's picture
Update README.md
2674f73 verified
|
raw
history blame
997 Bytes
metadata
library_name: transformers
tags: []

Model Card for Model ID

Model Details

Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: Pongsasit Thongpramoon
  • Model type: Cross Encoder
  • Language(s) (NLP): Thai
  • Finetuned from model: cross-encoder/ms-marco-MiniLM-L-12-v2

How to Get Started with the Model

Use the code below to get started with the model.


from sentence_transformers.cross_encoder import CrossEncoder

model = CrossEncoder("Pongsasit/mod-th-cross-encoder")

scores = model.predict([["อาหารตามสั่ง", "หมู เห็ด เป็ด ไก่"], ["อาหารตามสั่ง", "รถ เรือ เครื่องบิน จักรยาน"]])