|
--- |
|
library_name: transformers |
|
tags: [] |
|
--- |
|
# 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 |
|
- **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. |
|
```python |
|
|
|
from sentence_transformers.cross_encoder import CrossEncoder |
|
|
|
model = CrossEncoder("Pongsasit/mod-th-cross-encoder") |
|
|
|
scores = model.predict([["อาหารตามสั่ง", "หมู เห็ด เป็ด ไก่"], ["อาหารตามสั่ง", "รถ เรือ เครื่องบิน จักรยาน"]]) |
|
|
|
``` |