Pongsasit's picture
Update model metadata to set pipeline tag to the new `text-ranking` and tags to `sentence-transformers` (#1)
a191b85 verified
metadata
library_name: transformers
tags:
  - sentence-transformers
pipeline_tag: text-ranking

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

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([["อาหารตามสั่ง", "หมู เห็ด เป็ด ไก่"], ["อาหารตามสั่ง", "รถ เรือ เครื่องบิน จักรยาน"]])