mrp commited on
Commit
032a8fa
1 Parent(s): c5cc9fc

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sentence representation plays a crucial role in NLP downstream tasks such as NLI, text classification, and STS. Recent sentence representation training techniques require NLI or STS datasets. However, there are no equivalent Thai NLI or STS datasets for sentence representation training.
2
+ To address this problem we provide the Thai sentence vector benchmark. We evaluate the Spearman correlation score of the sentence representations’ performance on Thai STS-B (translated version of [STS-B](https://github.com/facebookresearch/SentEval)).
3
+
4
+ # Thai semantic textual similarity benchmark
5
+ - We use [STS-B translated ver.](https://github.com/mrpeerat/Thai-Sentence-Vector-Benchmark/blob/main/sts-test_th.csv) in which we translate STS-B from [SentEval](https://github.com/facebookresearch/SentEval) by using google-translate.
6
+ - How to evaluate sentence representation: [SentEval.ipynb](https://github.com/mrpeerat/Thai-Sentence-Vector-Benchmark/blob/main/SentEval.ipynb)
7
+ - How to evaluate sentence representation on Google Colab: https://colab.research.google.com/github/mrpeerat/Thai-Sentence-Vector-Benchmark/blob/main/SentEval.ipynb
8
+
9
+ | Base Model | Spearman's Correlation (*100) | Supervised? |
10
+ | ------------- | :-------------: | :-------------: |
11
+ | [simcse-model-distil-m-bert](https://huggingface.co/mrp/simcse-model-distil-m-bert) | 38.84 |
12
+ | [simcse-model-m-bert-thai-cased](https://huggingface.co/mrp/simcse-model-m-bert-thai-cased) | 39.26 |
13
+ | [simcse-model-roberta-base-thai](https://huggingface.co/mrp/simcse-model-roberta-base-thai) | 62.60 |
14
+ | [distiluse-base-multilingual-cased-v2](https://huggingface.co/sentence-transformers/distiluse-base-multilingual-cased-v2) | 63.50 | :heavy_check_mark:
15
+ | [paraphrase-multilingual-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2) | 80.11 | :heavy_check_mark: