Pongsasit's picture
Update model metadata to set pipeline tag to the new `text-ranking` and tags to `sentence-transformers` (#1)
a191b85 verified
---
library_name: transformers
tags:
- sentence-transformers
pipeline_tag: text-ranking
---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
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.
```python
from sentence_transformers.cross_encoder import CrossEncoder
model = CrossEncoder("Pongsasit/mod-th-cross-encoder")
scores = model.predict([["อาหารตามสั่ง", "หมู เห็ด เป็ด ไก่"], ["อาหารตามสั่ง", "รถ เรือ เครื่องบิน จักรยาน"]])
```