Add new SentenceTransformer model.
Browse files- 1_Pooling/config.json +10 -0
- README.md +571 -0
- config.json +47 -0
- config_sentence_transformers.json +10 -0
- model.safetensors +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
ADDED
@@ -0,0 +1,571 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: indobenchmark/indobert-base-p2
|
3 |
+
datasets:
|
4 |
+
- afaji/indonli
|
5 |
+
language:
|
6 |
+
- id
|
7 |
+
library_name: sentence-transformers
|
8 |
+
metrics:
|
9 |
+
- pearson_cosine
|
10 |
+
- spearman_cosine
|
11 |
+
- pearson_manhattan
|
12 |
+
- spearman_manhattan
|
13 |
+
- pearson_euclidean
|
14 |
+
- spearman_euclidean
|
15 |
+
- pearson_dot
|
16 |
+
- spearman_dot
|
17 |
+
- pearson_max
|
18 |
+
- spearman_max
|
19 |
+
pipeline_tag: sentence-similarity
|
20 |
+
tags:
|
21 |
+
- sentence-transformers
|
22 |
+
- sentence-similarity
|
23 |
+
- feature-extraction
|
24 |
+
- generated_from_trainer
|
25 |
+
- dataset_size:6915
|
26 |
+
- loss:MultipleNegativesRankingLoss
|
27 |
+
widget:
|
28 |
+
- source_sentence: Pesta Olahraga Asia Tenggara atau Southeast Asian Games, biasa
|
29 |
+
disingkat SEA Games, adalah ajang olahraga yang diadakan setiap dua tahun dan
|
30 |
+
melibatkan 11 negara Asia Tenggara.
|
31 |
+
sentences:
|
32 |
+
- Sekarang tahun 2017.
|
33 |
+
- Warna kulit tidak mempengaruhi waktu berjemur yang baik untuk mengatifkan pro-vitamin
|
34 |
+
D3.
|
35 |
+
- Pesta Olahraga Asia Tenggara diadakan setiap tahun.
|
36 |
+
- source_sentence: Menjalani aktivitas Ramadhan di tengah wabah Corona tentunya tidak
|
37 |
+
mudah.
|
38 |
+
sentences:
|
39 |
+
- Tidak ada observasi yang pernah dilansir oleh Business Insider.
|
40 |
+
- Wabah Corona membuat aktivitas Ramadhan tidak mudah dijalani.
|
41 |
+
- Piala Sudirman pertama digelar pada tahun 1989.
|
42 |
+
- source_sentence: Dalam bidang politik, partai ini memperjuangkan agar kekuasaan
|
43 |
+
sepenuhnya berada di tangan rakyat.
|
44 |
+
sentences:
|
45 |
+
- Galileo tidak berhasil mengetes hasil dari Hukum Inert.
|
46 |
+
- Kudeta 14 Februari 1946 gagal merebut kekuasaan Belanda.
|
47 |
+
- Partai ini berusaha agar kekuasaan sepenuhnya berada di tangan rakyat.
|
48 |
+
- source_sentence: Keluarga mendiang Prince menuduh layanan musik streaming Tidal
|
49 |
+
memasukkan karya milik sang penyanyi legendaris tanpa izin .
|
50 |
+
sentences:
|
51 |
+
- Rosier adalah pelayan setia Lord Voldemort.
|
52 |
+
- Bangunan ini digunakan untuk penjualan.
|
53 |
+
- Keluarga mendiang Prince sudah memberi izin kepada TImbal untuk menggunakan lagu
|
54 |
+
milik Prince.
|
55 |
+
- source_sentence: Tujuan dari acara dengar pendapat CRTC adalah untuk mengumpulkan
|
56 |
+
respons dari pada pemangku kepentingan industri ini dan dari masyarakat umum.
|
57 |
+
sentences:
|
58 |
+
- Pembuat Rooms hanya bisa membuat meeting yang terbuka.
|
59 |
+
- Masyarakat umum dilibatkan untuk memberikan respon dalam acara dengar pendapat
|
60 |
+
CRTC.
|
61 |
+
- Eminem dirasa tidak akan memulai kembali kariernya tahun ini.
|
62 |
+
model-index:
|
63 |
+
- name: SentenceTransformer based on indobenchmark/indobert-base-p2
|
64 |
+
results:
|
65 |
+
- task:
|
66 |
+
type: semantic-similarity
|
67 |
+
name: Semantic Similarity
|
68 |
+
dataset:
|
69 |
+
name: IndoNLI dev
|
70 |
+
type: IndoNLI-dev
|
71 |
+
metrics:
|
72 |
+
- type: pearson_cosine
|
73 |
+
value: 0.054645724410651776
|
74 |
+
name: Pearson Cosine
|
75 |
+
- type: spearman_cosine
|
76 |
+
value: 0.05813131922360566
|
77 |
+
name: Spearman Cosine
|
78 |
+
- type: pearson_manhattan
|
79 |
+
value: 0.06440629731537877
|
80 |
+
name: Pearson Manhattan
|
81 |
+
- type: spearman_manhattan
|
82 |
+
value: 0.06617214306439209
|
83 |
+
name: Spearman Manhattan
|
84 |
+
- type: pearson_euclidean
|
85 |
+
value: 0.06472911547924179
|
86 |
+
name: Pearson Euclidean
|
87 |
+
- type: spearman_euclidean
|
88 |
+
value: 0.06670189814323607
|
89 |
+
name: Spearman Euclidean
|
90 |
+
- type: pearson_dot
|
91 |
+
value: 0.02146795646141896
|
92 |
+
name: Pearson Dot
|
93 |
+
- type: spearman_dot
|
94 |
+
value: 0.014015602655765296
|
95 |
+
name: Spearman Dot
|
96 |
+
- type: pearson_max
|
97 |
+
value: 0.06472911547924179
|
98 |
+
name: Pearson Max
|
99 |
+
- type: spearman_max
|
100 |
+
value: 0.06670189814323607
|
101 |
+
name: Spearman Max
|
102 |
+
- task:
|
103 |
+
type: semantic-similarity
|
104 |
+
name: Semantic Similarity
|
105 |
+
dataset:
|
106 |
+
name: IndoNLI test
|
107 |
+
type: IndoNLI-test
|
108 |
+
metrics:
|
109 |
+
- type: pearson_cosine
|
110 |
+
value: -0.027420454797600895
|
111 |
+
name: Pearson Cosine
|
112 |
+
- type: spearman_cosine
|
113 |
+
value: -0.03327545125556324
|
114 |
+
name: Spearman Cosine
|
115 |
+
- type: pearson_manhattan
|
116 |
+
value: -0.04660713875385687
|
117 |
+
name: Pearson Manhattan
|
118 |
+
- type: spearman_manhattan
|
119 |
+
value: -0.0317801498705458
|
120 |
+
name: Spearman Manhattan
|
121 |
+
- type: pearson_euclidean
|
122 |
+
value: -0.04697128223611728
|
123 |
+
name: Pearson Euclidean
|
124 |
+
- type: spearman_euclidean
|
125 |
+
value: -0.03186507233227842
|
126 |
+
name: Spearman Euclidean
|
127 |
+
- type: pearson_dot
|
128 |
+
value: -0.014150904875791395
|
129 |
+
name: Pearson Dot
|
130 |
+
- type: spearman_dot
|
131 |
+
value: -0.01615774720436149
|
132 |
+
name: Spearman Dot
|
133 |
+
- type: pearson_max
|
134 |
+
value: -0.014150904875791395
|
135 |
+
name: Pearson Max
|
136 |
+
- type: spearman_max
|
137 |
+
value: -0.01615774720436149
|
138 |
+
name: Spearman Max
|
139 |
+
---
|
140 |
+
|
141 |
+
# SentenceTransformer based on indobenchmark/indobert-base-p2
|
142 |
+
|
143 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [indobenchmark/indobert-base-p2](https://huggingface.co/indobenchmark/indobert-base-p2) on the [afaji/indonli](https://huggingface.co/datasets/afaji/indonli) dataset. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
144 |
+
|
145 |
+
## Model Details
|
146 |
+
|
147 |
+
### Model Description
|
148 |
+
- **Model Type:** Sentence Transformer
|
149 |
+
- **Base model:** [indobenchmark/indobert-base-p2](https://huggingface.co/indobenchmark/indobert-base-p2) <!-- at revision 94b4e0a82081fa57f227fcc2024d1ea89b57ac1f -->
|
150 |
+
- **Maximum Sequence Length:** 512 tokens
|
151 |
+
- **Output Dimensionality:** 768 tokens
|
152 |
+
- **Similarity Function:** Cosine Similarity
|
153 |
+
- **Training Dataset:**
|
154 |
+
- [afaji/indonli](https://huggingface.co/datasets/afaji/indonli)
|
155 |
+
- **Language:** id
|
156 |
+
<!-- - **License:** Unknown -->
|
157 |
+
|
158 |
+
### Model Sources
|
159 |
+
|
160 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
161 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
162 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
163 |
+
|
164 |
+
### Full Model Architecture
|
165 |
+
|
166 |
+
```
|
167 |
+
SentenceTransformer(
|
168 |
+
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
|
169 |
+
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
170 |
+
)
|
171 |
+
```
|
172 |
+
|
173 |
+
## Usage
|
174 |
+
|
175 |
+
### Direct Usage (Sentence Transformers)
|
176 |
+
|
177 |
+
First install the Sentence Transformers library:
|
178 |
+
|
179 |
+
```bash
|
180 |
+
pip install -U sentence-transformers
|
181 |
+
```
|
182 |
+
|
183 |
+
Then you can load this model and run inference.
|
184 |
+
```python
|
185 |
+
from sentence_transformers import SentenceTransformer
|
186 |
+
|
187 |
+
# Download from the 🤗 Hub
|
188 |
+
model = SentenceTransformer("cassador/3bs4lr2")
|
189 |
+
# Run inference
|
190 |
+
sentences = [
|
191 |
+
'Tujuan dari acara dengar pendapat CRTC adalah untuk mengumpulkan respons dari pada pemangku kepentingan industri ini dan dari masyarakat umum.',
|
192 |
+
'Masyarakat umum dilibatkan untuk memberikan respon dalam acara dengar pendapat CRTC.',
|
193 |
+
'Pembuat Rooms hanya bisa membuat meeting yang terbuka.',
|
194 |
+
]
|
195 |
+
embeddings = model.encode(sentences)
|
196 |
+
print(embeddings.shape)
|
197 |
+
# [3, 768]
|
198 |
+
|
199 |
+
# Get the similarity scores for the embeddings
|
200 |
+
similarities = model.similarity(embeddings, embeddings)
|
201 |
+
print(similarities.shape)
|
202 |
+
# [3, 3]
|
203 |
+
```
|
204 |
+
|
205 |
+
<!--
|
206 |
+
### Direct Usage (Transformers)
|
207 |
+
|
208 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
209 |
+
|
210 |
+
</details>
|
211 |
+
-->
|
212 |
+
|
213 |
+
<!--
|
214 |
+
### Downstream Usage (Sentence Transformers)
|
215 |
+
|
216 |
+
You can finetune this model on your own dataset.
|
217 |
+
|
218 |
+
<details><summary>Click to expand</summary>
|
219 |
+
|
220 |
+
</details>
|
221 |
+
-->
|
222 |
+
|
223 |
+
<!--
|
224 |
+
### Out-of-Scope Use
|
225 |
+
|
226 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
227 |
+
-->
|
228 |
+
|
229 |
+
## Evaluation
|
230 |
+
|
231 |
+
### Metrics
|
232 |
+
|
233 |
+
#### Semantic Similarity
|
234 |
+
* Dataset: `IndoNLI-dev`
|
235 |
+
* Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
|
236 |
+
|
237 |
+
| Metric | Value |
|
238 |
+
|:--------------------|:-----------|
|
239 |
+
| pearson_cosine | 0.0546 |
|
240 |
+
| **spearman_cosine** | **0.0581** |
|
241 |
+
| pearson_manhattan | 0.0644 |
|
242 |
+
| spearman_manhattan | 0.0662 |
|
243 |
+
| pearson_euclidean | 0.0647 |
|
244 |
+
| spearman_euclidean | 0.0667 |
|
245 |
+
| pearson_dot | 0.0215 |
|
246 |
+
| spearman_dot | 0.014 |
|
247 |
+
| pearson_max | 0.0647 |
|
248 |
+
| spearman_max | 0.0667 |
|
249 |
+
|
250 |
+
#### Semantic Similarity
|
251 |
+
* Dataset: `IndoNLI-test`
|
252 |
+
* Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
|
253 |
+
|
254 |
+
| Metric | Value |
|
255 |
+
|:--------------------|:------------|
|
256 |
+
| pearson_cosine | -0.0274 |
|
257 |
+
| **spearman_cosine** | **-0.0333** |
|
258 |
+
| pearson_manhattan | -0.0466 |
|
259 |
+
| spearman_manhattan | -0.0318 |
|
260 |
+
| pearson_euclidean | -0.047 |
|
261 |
+
| spearman_euclidean | -0.0319 |
|
262 |
+
| pearson_dot | -0.0142 |
|
263 |
+
| spearman_dot | -0.0162 |
|
264 |
+
| pearson_max | -0.0142 |
|
265 |
+
| spearman_max | -0.0162 |
|
266 |
+
|
267 |
+
<!--
|
268 |
+
## Bias, Risks and Limitations
|
269 |
+
|
270 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
271 |
+
-->
|
272 |
+
|
273 |
+
<!--
|
274 |
+
### Recommendations
|
275 |
+
|
276 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
277 |
+
-->
|
278 |
+
|
279 |
+
## Training Details
|
280 |
+
|
281 |
+
### Training Dataset
|
282 |
+
|
283 |
+
#### afaji/indonli
|
284 |
+
|
285 |
+
* Dataset: [afaji/indonli](https://huggingface.co/datasets/afaji/indonli)
|
286 |
+
* Size: 6,915 training samples
|
287 |
+
* Columns: <code>premise</code>, <code>hypothesis</code>, and <code>label</code>
|
288 |
+
* Approximate statistics based on the first 1000 samples:
|
289 |
+
| | premise | hypothesis | label |
|
290 |
+
|:--------|:------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:------------------------------------------------|
|
291 |
+
| type | string | string | int |
|
292 |
+
| details | <ul><li>min: 12 tokens</li><li>mean: 29.26 tokens</li><li>max: 135 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 12.13 tokens</li><li>max: 36 tokens</li></ul> | <ul><li>0: ~51.00%</li><li>1: ~49.00%</li></ul> |
|
293 |
+
* Samples:
|
294 |
+
| premise | hypothesis | label |
|
295 |
+
|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------|:---------------|
|
296 |
+
| <code>Presiden Joko Widodo (Jokowi) menyampaikan prediksi bahwa wabah virus Corona (COVID-19) di Indonesia akan selesai akhir tahun ini.</code> | <code>Prediksi akhir wabah tidak disampaikan Jokowi.</code> | <code>0</code> |
|
297 |
+
| <code>Meski biasanya hanya digunakan di fasilitas kesehatan, saat ini masker dan sarung tangan sekali pakai banyak dipakai di tingkat rumah tangga.</code> | <code>Masker sekali pakai banyak dipakai di tingkat rumah tangga.</code> | <code>1</code> |
|
298 |
+
| <code>Seperti namanya, paket internet sahur Telkomsel ini ditujukan bagi pengguna yang menginginkan kuota ekstra, untuk menemani momen sahur sepanjang bulan puasa.</code> | <code>Paket internet sahur tidak ditujukan untuk saat sahur.</code> | <code>0</code> |
|
299 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
300 |
+
```json
|
301 |
+
{
|
302 |
+
"scale": 20.0,
|
303 |
+
"similarity_fct": "cos_sim"
|
304 |
+
}
|
305 |
+
```
|
306 |
+
|
307 |
+
### Evaluation Dataset
|
308 |
+
|
309 |
+
#### afaji/indonli
|
310 |
+
|
311 |
+
* Dataset: [afaji/indonli](https://huggingface.co/datasets/afaji/indonli)
|
312 |
+
* Size: 1,556 evaluation samples
|
313 |
+
* Columns: <code>premise</code>, <code>hypothesis</code>, and <code>label</code>
|
314 |
+
* Approximate statistics based on the first 1000 samples:
|
315 |
+
| | premise | hypothesis | label |
|
316 |
+
|:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:------------------------------------------------|
|
317 |
+
| type | string | string | int |
|
318 |
+
| details | <ul><li>min: 9 tokens</li><li>mean: 28.07 tokens</li><li>max: 179 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 12.15 tokens</li><li>max: 25 tokens</li></ul> | <ul><li>0: ~47.90%</li><li>1: ~52.10%</li></ul> |
|
319 |
+
* Samples:
|
320 |
+
| premise | hypothesis | label |
|
321 |
+
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------|:---------------|
|
322 |
+
| <code>Manuskrip tersebut berisi tiga catatan yang menceritakan bagaimana peristiwa jatuhnya meteorit serta laporan kematian akibat kejadian tersebut seperti dilansir dari Science Alert, Sabtu (25/4/2020).</code> | <code>Manuskrip tersebut tidak mencatat laporan kematian.</code> | <code>0</code> |
|
323 |
+
| <code>Dilansir dari Business Insider, menurut observasi dari Mauna Loa Observatory di Hawaii pada karbon dioksida (CO2) di level mencapai 410 ppm tidak langsung memberikan efek pada pernapasan, karena tubuh manusia juga masih membutuhkan CO2 dalam kadar tertentu.</code> | <code>Tidak ada observasi yang pernah dilansir oleh Business Insider.</code> | <code>0</code> |
|
324 |
+
| <code>Seorang wanita asal New York mengaku sangat benci air putih.</code> | <code>Tidak ada orang dari New York yang membenci air putih.</code> | <code>0</code> |
|
325 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
326 |
+
```json
|
327 |
+
{
|
328 |
+
"scale": 20.0,
|
329 |
+
"similarity_fct": "cos_sim"
|
330 |
+
}
|
331 |
+
```
|
332 |
+
|
333 |
+
### Training Hyperparameters
|
334 |
+
#### Non-Default Hyperparameters
|
335 |
+
|
336 |
+
- `eval_strategy`: epoch
|
337 |
+
- `per_device_train_batch_size`: 4
|
338 |
+
- `per_device_eval_batch_size`: 4
|
339 |
+
- `learning_rate`: 2e-05
|
340 |
+
- `warmup_ratio`: 0.1
|
341 |
+
- `fp16`: True
|
342 |
+
|
343 |
+
#### All Hyperparameters
|
344 |
+
<details><summary>Click to expand</summary>
|
345 |
+
|
346 |
+
- `overwrite_output_dir`: False
|
347 |
+
- `do_predict`: False
|
348 |
+
- `eval_strategy`: epoch
|
349 |
+
- `prediction_loss_only`: True
|
350 |
+
- `per_device_train_batch_size`: 4
|
351 |
+
- `per_device_eval_batch_size`: 4
|
352 |
+
- `per_gpu_train_batch_size`: None
|
353 |
+
- `per_gpu_eval_batch_size`: None
|
354 |
+
- `gradient_accumulation_steps`: 1
|
355 |
+
- `eval_accumulation_steps`: None
|
356 |
+
- `learning_rate`: 2e-05
|
357 |
+
- `weight_decay`: 0.0
|
358 |
+
- `adam_beta1`: 0.9
|
359 |
+
- `adam_beta2`: 0.999
|
360 |
+
- `adam_epsilon`: 1e-08
|
361 |
+
- `max_grad_norm`: 1.0
|
362 |
+
- `num_train_epochs`: 3
|
363 |
+
- `max_steps`: -1
|
364 |
+
- `lr_scheduler_type`: linear
|
365 |
+
- `lr_scheduler_kwargs`: {}
|
366 |
+
- `warmup_ratio`: 0.1
|
367 |
+
- `warmup_steps`: 0
|
368 |
+
- `log_level`: passive
|
369 |
+
- `log_level_replica`: warning
|
370 |
+
- `log_on_each_node`: True
|
371 |
+
- `logging_nan_inf_filter`: True
|
372 |
+
- `save_safetensors`: True
|
373 |
+
- `save_on_each_node`: False
|
374 |
+
- `save_only_model`: False
|
375 |
+
- `restore_callback_states_from_checkpoint`: False
|
376 |
+
- `no_cuda`: False
|
377 |
+
- `use_cpu`: False
|
378 |
+
- `use_mps_device`: False
|
379 |
+
- `seed`: 42
|
380 |
+
- `data_seed`: None
|
381 |
+
- `jit_mode_eval`: False
|
382 |
+
- `use_ipex`: False
|
383 |
+
- `bf16`: False
|
384 |
+
- `fp16`: True
|
385 |
+
- `fp16_opt_level`: O1
|
386 |
+
- `half_precision_backend`: auto
|
387 |
+
- `bf16_full_eval`: False
|
388 |
+
- `fp16_full_eval`: False
|
389 |
+
- `tf32`: None
|
390 |
+
- `local_rank`: 0
|
391 |
+
- `ddp_backend`: None
|
392 |
+
- `tpu_num_cores`: None
|
393 |
+
- `tpu_metrics_debug`: False
|
394 |
+
- `debug`: []
|
395 |
+
- `dataloader_drop_last`: False
|
396 |
+
- `dataloader_num_workers`: 0
|
397 |
+
- `dataloader_prefetch_factor`: None
|
398 |
+
- `past_index`: -1
|
399 |
+
- `disable_tqdm`: False
|
400 |
+
- `remove_unused_columns`: True
|
401 |
+
- `label_names`: None
|
402 |
+
- `load_best_model_at_end`: False
|
403 |
+
- `ignore_data_skip`: False
|
404 |
+
- `fsdp`: []
|
405 |
+
- `fsdp_min_num_params`: 0
|
406 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
407 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
408 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
409 |
+
- `deepspeed`: None
|
410 |
+
- `label_smoothing_factor`: 0.0
|
411 |
+
- `optim`: adamw_torch
|
412 |
+
- `optim_args`: None
|
413 |
+
- `adafactor`: False
|
414 |
+
- `group_by_length`: False
|
415 |
+
- `length_column_name`: length
|
416 |
+
- `ddp_find_unused_parameters`: None
|
417 |
+
- `ddp_bucket_cap_mb`: None
|
418 |
+
- `ddp_broadcast_buffers`: False
|
419 |
+
- `dataloader_pin_memory`: True
|
420 |
+
- `dataloader_persistent_workers`: False
|
421 |
+
- `skip_memory_metrics`: True
|
422 |
+
- `use_legacy_prediction_loop`: False
|
423 |
+
- `push_to_hub`: False
|
424 |
+
- `resume_from_checkpoint`: None
|
425 |
+
- `hub_model_id`: None
|
426 |
+
- `hub_strategy`: every_save
|
427 |
+
- `hub_private_repo`: False
|
428 |
+
- `hub_always_push`: False
|
429 |
+
- `gradient_checkpointing`: False
|
430 |
+
- `gradient_checkpointing_kwargs`: None
|
431 |
+
- `include_inputs_for_metrics`: False
|
432 |
+
- `eval_do_concat_batches`: True
|
433 |
+
- `fp16_backend`: auto
|
434 |
+
- `push_to_hub_model_id`: None
|
435 |
+
- `push_to_hub_organization`: None
|
436 |
+
- `mp_parameters`:
|
437 |
+
- `auto_find_batch_size`: False
|
438 |
+
- `full_determinism`: False
|
439 |
+
- `torchdynamo`: None
|
440 |
+
- `ray_scope`: last
|
441 |
+
- `ddp_timeout`: 1800
|
442 |
+
- `torch_compile`: False
|
443 |
+
- `torch_compile_backend`: None
|
444 |
+
- `torch_compile_mode`: None
|
445 |
+
- `dispatch_batches`: None
|
446 |
+
- `split_batches`: None
|
447 |
+
- `include_tokens_per_second`: False
|
448 |
+
- `include_num_input_tokens_seen`: False
|
449 |
+
- `neftune_noise_alpha`: None
|
450 |
+
- `optim_target_modules`: None
|
451 |
+
- `batch_eval_metrics`: False
|
452 |
+
- `batch_sampler`: batch_sampler
|
453 |
+
- `multi_dataset_batch_sampler`: proportional
|
454 |
+
|
455 |
+
</details>
|
456 |
+
|
457 |
+
### Training Logs
|
458 |
+
| Epoch | Step | Training Loss | loss | IndoNLI-dev_spearman_cosine | IndoNLI-test_spearman_cosine |
|
459 |
+
|:------:|:----:|:-------------:|:------:|:---------------------------:|:----------------------------:|
|
460 |
+
| 0 | 0 | - | - | 0.1277 | - |
|
461 |
+
| 0.0578 | 100 | 0.0488 | - | - | - |
|
462 |
+
| 0.1157 | 200 | 0.0403 | - | - | - |
|
463 |
+
| 0.1735 | 300 | 0.0173 | - | - | - |
|
464 |
+
| 0.2313 | 400 | 0.0052 | - | - | - |
|
465 |
+
| 0.2892 | 500 | 0.0077 | - | - | - |
|
466 |
+
| 0.3470 | 600 | 0.0065 | - | - | - |
|
467 |
+
| 0.4049 | 700 | 0.0199 | - | - | - |
|
468 |
+
| 0.4627 | 800 | 0.0318 | - | - | - |
|
469 |
+
| 0.5205 | 900 | 0.019 | - | - | - |
|
470 |
+
| 0.5784 | 1000 | 0.0128 | - | - | - |
|
471 |
+
| 0.6362 | 1100 | 0.0124 | - | - | - |
|
472 |
+
| 0.6940 | 1200 | 0.0224 | - | - | - |
|
473 |
+
| 0.7519 | 1300 | 0.0115 | - | - | - |
|
474 |
+
| 0.8097 | 1400 | 0.0082 | - | - | - |
|
475 |
+
| 0.8676 | 1500 | 0.0132 | - | - | - |
|
476 |
+
| 0.9254 | 1600 | 0.0225 | - | - | - |
|
477 |
+
| 0.9832 | 1700 | 0.0133 | - | - | - |
|
478 |
+
| 1.0 | 1729 | - | 0.0173 | 0.0465 | - |
|
479 |
+
| 1.0411 | 1800 | 0.0056 | - | - | - |
|
480 |
+
| 1.0989 | 1900 | 0.0027 | - | - | - |
|
481 |
+
| 1.1567 | 2000 | 0.0109 | - | - | - |
|
482 |
+
| 1.2146 | 2100 | 0.0021 | - | - | - |
|
483 |
+
| 1.2724 | 2200 | 0.0004 | - | - | - |
|
484 |
+
| 1.3302 | 2300 | 0.0082 | - | - | - |
|
485 |
+
| 1.3881 | 2400 | 0.001 | - | - | - |
|
486 |
+
| 1.4459 | 2500 | 0.0009 | - | - | - |
|
487 |
+
| 1.5038 | 2600 | 0.0021 | - | - | - |
|
488 |
+
| 1.5616 | 2700 | 0.0032 | - | - | - |
|
489 |
+
| 1.6194 | 2800 | 0.0061 | - | - | - |
|
490 |
+
| 1.6773 | 2900 | 0.0057 | - | - | - |
|
491 |
+
| 1.7351 | 3000 | 0.0127 | - | - | - |
|
492 |
+
| 1.7929 | 3100 | 0.0018 | - | - | - |
|
493 |
+
| 1.8508 | 3200 | 0.0007 | - | - | - |
|
494 |
+
| 1.9086 | 3300 | 0.0078 | - | - | - |
|
495 |
+
| 1.9665 | 3400 | 0.0017 | - | - | - |
|
496 |
+
| 2.0 | 3458 | - | 0.0078 | 0.0446 | - |
|
497 |
+
| 2.0243 | 3500 | 0.0003 | - | - | - |
|
498 |
+
| 2.0821 | 3600 | 0.0042 | - | - | - |
|
499 |
+
| 2.1400 | 3700 | 0.0005 | - | - | - |
|
500 |
+
| 2.1978 | 3800 | 0.0002 | - | - | - |
|
501 |
+
| 2.2556 | 3900 | 0.0006 | - | - | - |
|
502 |
+
| 2.3135 | 4000 | 0.0003 | - | - | - |
|
503 |
+
| 2.3713 | 4100 | 0.0048 | - | - | - |
|
504 |
+
| 2.4291 | 4200 | 0.0002 | - | - | - |
|
505 |
+
| 2.4870 | 4300 | 0.0043 | - | - | - |
|
506 |
+
| 2.5448 | 4400 | 0.0011 | - | - | - |
|
507 |
+
| 2.6027 | 4500 | 0.0005 | - | - | - |
|
508 |
+
| 2.6605 | 4600 | 0.0009 | - | - | - |
|
509 |
+
| 2.7183 | 4700 | 0.0013 | - | - | - |
|
510 |
+
| 2.7762 | 4800 | 0.0018 | - | - | - |
|
511 |
+
| 2.8340 | 4900 | 0.0004 | - | - | - |
|
512 |
+
| 2.8918 | 5000 | 0.0014 | - | - | - |
|
513 |
+
| 2.9497 | 5100 | 0.0045 | - | - | - |
|
514 |
+
| 3.0 | 5187 | - | 0.0083 | 0.0581 | -0.0333 |
|
515 |
+
|
516 |
+
|
517 |
+
### Framework Versions
|
518 |
+
- Python: 3.10.12
|
519 |
+
- Sentence Transformers: 3.0.1
|
520 |
+
- Transformers: 4.41.2
|
521 |
+
- PyTorch: 2.3.0+cu121
|
522 |
+
- Accelerate: 0.32.1
|
523 |
+
- Datasets: 2.20.0
|
524 |
+
- Tokenizers: 0.19.1
|
525 |
+
|
526 |
+
## Citation
|
527 |
+
|
528 |
+
### BibTeX
|
529 |
+
|
530 |
+
#### Sentence Transformers
|
531 |
+
```bibtex
|
532 |
+
@inproceedings{reimers-2019-sentence-bert,
|
533 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
534 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
535 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
536 |
+
month = "11",
|
537 |
+
year = "2019",
|
538 |
+
publisher = "Association for Computational Linguistics",
|
539 |
+
url = "https://arxiv.org/abs/1908.10084",
|
540 |
+
}
|
541 |
+
```
|
542 |
+
|
543 |
+
#### MultipleNegativesRankingLoss
|
544 |
+
```bibtex
|
545 |
+
@misc{henderson2017efficient,
|
546 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
547 |
+
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
|
548 |
+
year={2017},
|
549 |
+
eprint={1705.00652},
|
550 |
+
archivePrefix={arXiv},
|
551 |
+
primaryClass={cs.CL}
|
552 |
+
}
|
553 |
+
```
|
554 |
+
|
555 |
+
<!--
|
556 |
+
## Glossary
|
557 |
+
|
558 |
+
*Clearly define terms in order to be accessible across audiences.*
|
559 |
+
-->
|
560 |
+
|
561 |
+
<!--
|
562 |
+
## Model Card Authors
|
563 |
+
|
564 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
565 |
+
-->
|
566 |
+
|
567 |
+
<!--
|
568 |
+
## Model Card Contact
|
569 |
+
|
570 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
571 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indobenchmark/indobert-base-p2",
|
3 |
+
"_num_labels": 5,
|
4 |
+
"architectures": [
|
5 |
+
"BertModel"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"LABEL_0": 0,
|
24 |
+
"LABEL_1": 1,
|
25 |
+
"LABEL_2": 2,
|
26 |
+
"LABEL_3": 3,
|
27 |
+
"LABEL_4": 4
|
28 |
+
},
|
29 |
+
"layer_norm_eps": 1e-12,
|
30 |
+
"max_position_embeddings": 512,
|
31 |
+
"model_type": "bert",
|
32 |
+
"num_attention_heads": 12,
|
33 |
+
"num_hidden_layers": 12,
|
34 |
+
"output_past": true,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"pooler_fc_size": 768,
|
37 |
+
"pooler_num_attention_heads": 12,
|
38 |
+
"pooler_num_fc_layers": 3,
|
39 |
+
"pooler_size_per_head": 128,
|
40 |
+
"pooler_type": "first_token_transform",
|
41 |
+
"position_embedding_type": "absolute",
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.41.2",
|
44 |
+
"type_vocab_size": 2,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 50000
|
47 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.0.1",
|
4 |
+
"transformers": "4.41.2",
|
5 |
+
"pytorch": "2.3.0+cu121"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": null
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02195685dcf1a795faf71f54b6f6dac88b63db27346c4fda55d6048da9725ab8
|
3 |
+
size 497787752
|
modules.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
}
|
14 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|