Add new CrossEncoder model
Browse files- README.md +525 -0
- config.json +34 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +65 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,525 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- sentence-transformers
|
6 |
+
- cross-encoder
|
7 |
+
- generated_from_trainer
|
8 |
+
- dataset_size:78704
|
9 |
+
- loss:PListMLELoss
|
10 |
+
base_model: microsoft/MiniLM-L12-H384-uncased
|
11 |
+
datasets:
|
12 |
+
- microsoft/ms_marco
|
13 |
+
pipeline_tag: text-ranking
|
14 |
+
library_name: sentence-transformers
|
15 |
+
metrics:
|
16 |
+
- map
|
17 |
+
- mrr@10
|
18 |
+
- ndcg@10
|
19 |
+
co2_eq_emissions:
|
20 |
+
emissions: 91.76522350814476
|
21 |
+
energy_consumed: 0.2360811714581987
|
22 |
+
source: codecarbon
|
23 |
+
training_type: fine-tuning
|
24 |
+
on_cloud: false
|
25 |
+
cpu_model: 13th Gen Intel(R) Core(TM) i7-13700K
|
26 |
+
ram_total_size: 31.777088165283203
|
27 |
+
hours_used: 0.882
|
28 |
+
hardware_used: 1 x NVIDIA GeForce RTX 3090
|
29 |
+
model-index:
|
30 |
+
- name: CrossEncoder based on microsoft/MiniLM-L12-H384-uncased
|
31 |
+
results:
|
32 |
+
- task:
|
33 |
+
type: cross-encoder-reranking
|
34 |
+
name: Cross Encoder Reranking
|
35 |
+
dataset:
|
36 |
+
name: NanoMSMARCO R100
|
37 |
+
type: NanoMSMARCO_R100
|
38 |
+
metrics:
|
39 |
+
- type: map
|
40 |
+
value: 0.5177
|
41 |
+
name: Map
|
42 |
+
- type: mrr@10
|
43 |
+
value: 0.5097
|
44 |
+
name: Mrr@10
|
45 |
+
- type: ndcg@10
|
46 |
+
value: 0.5896
|
47 |
+
name: Ndcg@10
|
48 |
+
- task:
|
49 |
+
type: cross-encoder-reranking
|
50 |
+
name: Cross Encoder Reranking
|
51 |
+
dataset:
|
52 |
+
name: NanoNFCorpus R100
|
53 |
+
type: NanoNFCorpus_R100
|
54 |
+
metrics:
|
55 |
+
- type: map
|
56 |
+
value: 0.3178
|
57 |
+
name: Map
|
58 |
+
- type: mrr@10
|
59 |
+
value: 0.5947
|
60 |
+
name: Mrr@10
|
61 |
+
- type: ndcg@10
|
62 |
+
value: 0.3558
|
63 |
+
name: Ndcg@10
|
64 |
+
- task:
|
65 |
+
type: cross-encoder-reranking
|
66 |
+
name: Cross Encoder Reranking
|
67 |
+
dataset:
|
68 |
+
name: NanoNQ R100
|
69 |
+
type: NanoNQ_R100
|
70 |
+
metrics:
|
71 |
+
- type: map
|
72 |
+
value: 0.6038
|
73 |
+
name: Map
|
74 |
+
- type: mrr@10
|
75 |
+
value: 0.6118
|
76 |
+
name: Mrr@10
|
77 |
+
- type: ndcg@10
|
78 |
+
value: 0.6704
|
79 |
+
name: Ndcg@10
|
80 |
+
- task:
|
81 |
+
type: cross-encoder-nano-beir
|
82 |
+
name: Cross Encoder Nano BEIR
|
83 |
+
dataset:
|
84 |
+
name: NanoBEIR R100 mean
|
85 |
+
type: NanoBEIR_R100_mean
|
86 |
+
metrics:
|
87 |
+
- type: map
|
88 |
+
value: 0.4797
|
89 |
+
name: Map
|
90 |
+
- type: mrr@10
|
91 |
+
value: 0.5721
|
92 |
+
name: Mrr@10
|
93 |
+
- type: ndcg@10
|
94 |
+
value: 0.5386
|
95 |
+
name: Ndcg@10
|
96 |
+
---
|
97 |
+
|
98 |
+
# CrossEncoder based on microsoft/MiniLM-L12-H384-uncased
|
99 |
+
|
100 |
+
This is a [Cross Encoder](https://www.sbert.net/docs/cross_encoder/usage/usage.html) model finetuned from [microsoft/MiniLM-L12-H384-uncased](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased) on the [ms_marco](https://huggingface.co/datasets/microsoft/ms_marco) dataset using the [sentence-transformers](https://www.SBERT.net) library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
|
101 |
+
|
102 |
+
## Model Details
|
103 |
+
|
104 |
+
### Model Description
|
105 |
+
- **Model Type:** Cross Encoder
|
106 |
+
- **Base model:** [microsoft/MiniLM-L12-H384-uncased](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased) <!-- at revision 44acabbec0ef496f6dbc93adadea57f376b7c0ec -->
|
107 |
+
- **Maximum Sequence Length:** 512 tokens
|
108 |
+
- **Number of Output Labels:** 1 label
|
109 |
+
- **Training Dataset:**
|
110 |
+
- [ms_marco](https://huggingface.co/datasets/microsoft/ms_marco)
|
111 |
+
- **Language:** en
|
112 |
+
<!-- - **License:** Unknown -->
|
113 |
+
|
114 |
+
### Model Sources
|
115 |
+
|
116 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
117 |
+
- **Documentation:** [Cross Encoder Documentation](https://www.sbert.net/docs/cross_encoder/usage/usage.html)
|
118 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
119 |
+
- **Hugging Face:** [Cross Encoders on Hugging Face](https://huggingface.co/models?library=sentence-transformers&other=cross-encoder)
|
120 |
+
|
121 |
+
## Usage
|
122 |
+
|
123 |
+
### Direct Usage (Sentence Transformers)
|
124 |
+
|
125 |
+
First install the Sentence Transformers library:
|
126 |
+
|
127 |
+
```bash
|
128 |
+
pip install -U sentence-transformers
|
129 |
+
```
|
130 |
+
|
131 |
+
Then you can load this model and run inference.
|
132 |
+
```python
|
133 |
+
from sentence_transformers import CrossEncoder
|
134 |
+
|
135 |
+
# Download from the 🤗 Hub
|
136 |
+
model = CrossEncoder("tomaarsen/reranker-msmarco-v1.1-MiniLM-L12-H384-uncased-plistmle-softmax")
|
137 |
+
# Get scores for pairs of texts
|
138 |
+
pairs = [
|
139 |
+
['How many calories in an egg', 'There are on average between 55 and 80 calories in an egg depending on its size.'],
|
140 |
+
['How many calories in an egg', 'Egg whites are very low in calories, have no fat, no cholesterol, and are loaded with protein.'],
|
141 |
+
['How many calories in an egg', 'Most of the calories in an egg come from the yellow yolk in the center.'],
|
142 |
+
]
|
143 |
+
scores = model.predict(pairs)
|
144 |
+
print(scores.shape)
|
145 |
+
# (3,)
|
146 |
+
|
147 |
+
# Or rank different texts based on similarity to a single text
|
148 |
+
ranks = model.rank(
|
149 |
+
'How many calories in an egg',
|
150 |
+
[
|
151 |
+
'There are on average between 55 and 80 calories in an egg depending on its size.',
|
152 |
+
'Egg whites are very low in calories, have no fat, no cholesterol, and are loaded with protein.',
|
153 |
+
'Most of the calories in an egg come from the yellow yolk in the center.',
|
154 |
+
]
|
155 |
+
)
|
156 |
+
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
|
157 |
+
```
|
158 |
+
|
159 |
+
<!--
|
160 |
+
### Direct Usage (Transformers)
|
161 |
+
|
162 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
163 |
+
|
164 |
+
</details>
|
165 |
+
-->
|
166 |
+
|
167 |
+
<!--
|
168 |
+
### Downstream Usage (Sentence Transformers)
|
169 |
+
|
170 |
+
You can finetune this model on your own dataset.
|
171 |
+
|
172 |
+
<details><summary>Click to expand</summary>
|
173 |
+
|
174 |
+
</details>
|
175 |
+
-->
|
176 |
+
|
177 |
+
<!--
|
178 |
+
### Out-of-Scope Use
|
179 |
+
|
180 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
181 |
+
-->
|
182 |
+
|
183 |
+
## Evaluation
|
184 |
+
|
185 |
+
### Metrics
|
186 |
+
|
187 |
+
#### Cross Encoder Reranking
|
188 |
+
|
189 |
+
* Datasets: `NanoMSMARCO_R100`, `NanoNFCorpus_R100` and `NanoNQ_R100`
|
190 |
+
* Evaluated with [<code>CrossEncoderRerankingEvaluator</code>](https://sbert.net/docs/package_reference/cross_encoder/evaluation.html#sentence_transformers.cross_encoder.evaluation.CrossEncoderRerankingEvaluator) with these parameters:
|
191 |
+
```json
|
192 |
+
{
|
193 |
+
"at_k": 10,
|
194 |
+
"always_rerank_positives": true
|
195 |
+
}
|
196 |
+
```
|
197 |
+
|
198 |
+
| Metric | NanoMSMARCO_R100 | NanoNFCorpus_R100 | NanoNQ_R100 |
|
199 |
+
|:------------|:---------------------|:---------------------|:---------------------|
|
200 |
+
| map | 0.5177 (+0.0281) | 0.3178 (+0.0568) | 0.6038 (+0.1842) |
|
201 |
+
| mrr@10 | 0.5097 (+0.0322) | 0.5947 (+0.0949) | 0.6118 (+0.1851) |
|
202 |
+
| **ndcg@10** | **0.5896 (+0.0492)** | **0.3558 (+0.0308)** | **0.6704 (+0.1697)** |
|
203 |
+
|
204 |
+
#### Cross Encoder Nano BEIR
|
205 |
+
|
206 |
+
* Dataset: `NanoBEIR_R100_mean`
|
207 |
+
* Evaluated with [<code>CrossEncoderNanoBEIREvaluator</code>](https://sbert.net/docs/package_reference/cross_encoder/evaluation.html#sentence_transformers.cross_encoder.evaluation.CrossEncoderNanoBEIREvaluator) with these parameters:
|
208 |
+
```json
|
209 |
+
{
|
210 |
+
"dataset_names": [
|
211 |
+
"msmarco",
|
212 |
+
"nfcorpus",
|
213 |
+
"nq"
|
214 |
+
],
|
215 |
+
"rerank_k": 100,
|
216 |
+
"at_k": 10,
|
217 |
+
"always_rerank_positives": true
|
218 |
+
}
|
219 |
+
```
|
220 |
+
|
221 |
+
| Metric | Value |
|
222 |
+
|:------------|:---------------------|
|
223 |
+
| map | 0.4797 (+0.0897) |
|
224 |
+
| mrr@10 | 0.5721 (+0.1040) |
|
225 |
+
| **ndcg@10** | **0.5386 (+0.0832)** |
|
226 |
+
|
227 |
+
<!--
|
228 |
+
## Bias, Risks and Limitations
|
229 |
+
|
230 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
231 |
+
-->
|
232 |
+
|
233 |
+
<!--
|
234 |
+
### Recommendations
|
235 |
+
|
236 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
237 |
+
-->
|
238 |
+
|
239 |
+
## Training Details
|
240 |
+
|
241 |
+
### Training Dataset
|
242 |
+
|
243 |
+
#### ms_marco
|
244 |
+
|
245 |
+
* Dataset: [ms_marco](https://huggingface.co/datasets/microsoft/ms_marco) at [a47ee7a](https://huggingface.co/datasets/microsoft/ms_marco/tree/a47ee7aae8d7d466ba15f9f0bfac3b3681087b3a)
|
246 |
+
* Size: 78,704 training samples
|
247 |
+
* Columns: <code>query</code>, <code>docs</code>, and <code>labels</code>
|
248 |
+
* Approximate statistics based on the first 1000 samples:
|
249 |
+
| | query | docs | labels |
|
250 |
+
|:--------|:------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|
|
251 |
+
| type | string | list | list |
|
252 |
+
| details | <ul><li>min: 10 characters</li><li>mean: 34.08 characters</li><li>max: 109 characters</li></ul> | <ul><li>min: 3 elements</li><li>mean: 6.50 elements</li><li>max: 10 elements</li></ul> | <ul><li>min: 3 elements</li><li>mean: 6.50 elements</li><li>max: 10 elements</li></ul> |
|
253 |
+
* Samples:
|
254 |
+
| query | docs | labels |
|
255 |
+
|:-----------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------|
|
256 |
+
| <code>what is ha</code> | <code>['1 ha. interjection \\ˈhae\\. ˈhä. —tweet used especially to express surprise or a feeling of pleasure that you have when you do something or find out about. something Full Definition of HA. —used especially to express surprise, joy, or triumph. See ha defined for English-language learners.', 'Ha-ha protecting the lawn at Heaton Hall, Manchester. Note how the wall disappears as it curves away to the right of the picture. A ha-ha is a recessed landscape design element that creates a vertical barrier whilst preserving an uninterrupted view of the landscape beyond. The design includes a turfed incline which slopes downward to a sharply vertical face, typically a masonry retaining wall. Ha-has are used in landscape design to prevent access to a garden, for example by grazing livestock, without obstructing views. In security design, the element is used to deter vehicular access to a site while minimizing visual obstruction', 'The doctors said they are afraid of HA-MRSA. Why is it so scary?...</code> | <code>[1, 0, 0, 0, 0, ...]</code> |
|
257 |
+
| <code>salary for kinesiology degree</code> | <code>['Coaches. Coaching is another common career option for those holding a degree in kinesiology. Athletic coaches made an average annual salary of $35,950, as of May 2010, according to the bureau, while the middle 50 percent made between $18,800 and $43,930 annually.', "Athletic Trainers. One common career option for those holding a bachelor's degree in kinesiology is a career in the athletic training field. Athletic trainers made an average annual salary of $44,030, as of May 2010, according to the U.S. Bureau of Labor Statistics.", 'Kinesiologist salary. A newly graduated kinesiologist may receive a yearly minimum pay of around $20,000. This average will increase significantly after a year. As a matter of fact a kinesiologist can receive up to around $80,000 yearly. The median average salary of all kinesiologists is around $46,000 per annum.', 'Salary of starting kinesiologist in Georgia ranges from $29,592 – $44,387. The average kinesiology wage ranges from $35,933 – $53,899 and the t...</code> | <code>[1, 0, 0, 0, 0, ...]</code> |
|
258 |
+
| <code>average temperatures owensboro ky</code> | <code>['2.8. The highest average temperature in Owensboro is August at 79.5 degrees. The coldest average temperature in Owensboro is February at 37 degrees. The most monthly precipitation in Owensboro occurs in September with 4 inches. The Owensboro weather information is based on the average of the previous 3-7 years of data. Loading...', 'Most / Least Educated Cities in KY. The average temperature of Owensboro is 56.97°F, which is higher than the Kentucky average temperature of 55.62°F and is higher than the national average temperature of 54.45°F.', 'Owensboro, Kentucky, gets 45 inches of rain per year. The US average is 37. Snowfall is 10 inches. The average US city gets 25 inches of snow per year. The number of days with any measurable precipitation is 103. On average, there are 202 sunny days per year in Owensboro, Kentucky. The July high is around 90 degrees. The January low is 25.']</code> | <code>[1, 0, 0]</code> |
|
259 |
+
* Loss: [<code>PListMLELoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#plistmleloss) with these parameters:
|
260 |
+
```json
|
261 |
+
{
|
262 |
+
"lambda_weight": "sentence_transformers.cross_encoder.losses.PListMLELoss.PListMLELambdaWeight",
|
263 |
+
"activation_fct": "torch.nn.modules.linear.Identity",
|
264 |
+
"mini_batch_size": 16,
|
265 |
+
"respect_input_order": true
|
266 |
+
}
|
267 |
+
```
|
268 |
+
|
269 |
+
### Evaluation Dataset
|
270 |
+
|
271 |
+
#### ms_marco
|
272 |
+
|
273 |
+
* Dataset: [ms_marco](https://huggingface.co/datasets/microsoft/ms_marco) at [a47ee7a](https://huggingface.co/datasets/microsoft/ms_marco/tree/a47ee7aae8d7d466ba15f9f0bfac3b3681087b3a)
|
274 |
+
* Size: 1,000 evaluation samples
|
275 |
+
* Columns: <code>query</code>, <code>docs</code>, and <code>labels</code>
|
276 |
+
* Approximate statistics based on the first 1000 samples:
|
277 |
+
| | query | docs | labels |
|
278 |
+
|:--------|:----------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|
|
279 |
+
| type | string | list | list |
|
280 |
+
| details | <ul><li>min: 8 characters</li><li>mean: 33.76 characters</li><li>max: 90 characters</li></ul> | <ul><li>min: 2 elements</li><li>mean: 6.00 elements</li><li>max: 10 elements</li></ul> | <ul><li>min: 2 elements</li><li>mean: 6.00 elements</li><li>max: 10 elements</li></ul> |
|
281 |
+
* Samples:
|
282 |
+
| query | docs | labels |
|
283 |
+
|:--------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------|
|
284 |
+
| <code>meaning of regional value content</code> | <code>['Regional Value Content Some specific rules of origin require that a good have a minimum regional value content, meaning that a certain percentage of the value of the goods must be from North America. There are two formulas for calculating the regional value content. TV. Where RVC is the regional value content, expressed as a percentage; TV is the transaction value of the good adjusted to an FOB basis; and VNM is the value of non-originating material used by the producer in the production of the good.', 'Regional Value Content: For goods subject to a regional value content rule of origin, please refer to Regional Value content (Explanatory Material and Article 402), for an explanation of regional value content rules of origin. In the two above situations, no tariff shift is possible because of how the goods were classified. Goods in this situation may obtain NAFTA tariff preference if they have 50 or 60 percent North American value content, depending on method used. Refer to Regional ...</code> | <code>[1, 0, 0, 0, 0, ...]</code> |
|
285 |
+
| <code>how long does it take to get an irs refund</code> | <code>['Essentially, they’re saying most people will get their refunds in less than 21 days, but there won’t be any schedules they will follow this year. The IRS provides these tips to tax preparers to get the fastest tax refund: 1 File an accurate tax return. 2 Efile your tax return. The IRS eliminated the refund schedules that were used in prior years for both direct deposit and mailed refunds. The guideline the IRS is using in 2015 for filing your 2014 tax return is: Don’t count on getting your refund by a certain date to make major purchases or pay other financial obligations. Even though the IRS issues most refunds in less than 21 days, it’s possible your tax return may require additional review and take longer', 'If you file a paper return, the IRS says you should allow about six weeks to receive your refund. If you file Form 8379, Injured Spouse Allocation, it could take up to 14 weeks to process your tax return. ', 'Tax refunds are normally issued within approximately 21 days if yo...</code> | <code>[1, 0, 0, 0, 0, ...]</code> |
|
286 |
+
| <code>calculate margin on cost to retail</code> | <code>['The formula for calculating retail margin is the sales price of an item minus COGS, divided by the sales price, multiplied by 100. If you sell an item at $20 and paid $10 to acquire it and sell it, your retail margin is $10 divided by $20, or 50 percent. You subtract your COGS from your desired sales price in the same way, but then divide that amount by your COGS. If your target price is $20 and your COGS are $10, your markup is $10 divided by $10, or 100 percent. Thus, to achieve a 50 percent margin on an item that costs you $10, you need a 100 percent markup.', 'This gives you a 70 percent cost-to-retail ratio. For the year, you book $336,000 in net sales. Your cost of goods sold under the retail method is 70 percent of net sales, or $235,200. Your gross profit is $100,800, which is 30 percent of net sales. You can shortcut the calculation of gross profit margin by subtracting your cost-to-retail percentage of 70 percent from 100 percent. While easy enough to calculate, the gross m...</code> | <code>[1, 1, 0, 0, 0, ...]</code> |
|
287 |
+
* Loss: [<code>PListMLELoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#plistmleloss) with these parameters:
|
288 |
+
```json
|
289 |
+
{
|
290 |
+
"lambda_weight": "sentence_transformers.cross_encoder.losses.PListMLELoss.PListMLELambdaWeight",
|
291 |
+
"activation_fct": "torch.nn.modules.linear.Identity",
|
292 |
+
"mini_batch_size": 16,
|
293 |
+
"respect_input_order": true
|
294 |
+
}
|
295 |
+
```
|
296 |
+
|
297 |
+
### Training Hyperparameters
|
298 |
+
#### Non-Default Hyperparameters
|
299 |
+
|
300 |
+
- `eval_strategy`: steps
|
301 |
+
- `per_device_train_batch_size`: 16
|
302 |
+
- `per_device_eval_batch_size`: 16
|
303 |
+
- `learning_rate`: 2e-05
|
304 |
+
- `num_train_epochs`: 1
|
305 |
+
- `warmup_ratio`: 0.1
|
306 |
+
- `seed`: 12
|
307 |
+
- `bf16`: True
|
308 |
+
- `load_best_model_at_end`: True
|
309 |
+
|
310 |
+
#### All Hyperparameters
|
311 |
+
<details><summary>Click to expand</summary>
|
312 |
+
|
313 |
+
- `overwrite_output_dir`: False
|
314 |
+
- `do_predict`: False
|
315 |
+
- `eval_strategy`: steps
|
316 |
+
- `prediction_loss_only`: True
|
317 |
+
- `per_device_train_batch_size`: 16
|
318 |
+
- `per_device_eval_batch_size`: 16
|
319 |
+
- `per_gpu_train_batch_size`: None
|
320 |
+
- `per_gpu_eval_batch_size`: None
|
321 |
+
- `gradient_accumulation_steps`: 1
|
322 |
+
- `eval_accumulation_steps`: None
|
323 |
+
- `torch_empty_cache_steps`: None
|
324 |
+
- `learning_rate`: 2e-05
|
325 |
+
- `weight_decay`: 0.0
|
326 |
+
- `adam_beta1`: 0.9
|
327 |
+
- `adam_beta2`: 0.999
|
328 |
+
- `adam_epsilon`: 1e-08
|
329 |
+
- `max_grad_norm`: 1.0
|
330 |
+
- `num_train_epochs`: 1
|
331 |
+
- `max_steps`: -1
|
332 |
+
- `lr_scheduler_type`: linear
|
333 |
+
- `lr_scheduler_kwargs`: {}
|
334 |
+
- `warmup_ratio`: 0.1
|
335 |
+
- `warmup_steps`: 0
|
336 |
+
- `log_level`: passive
|
337 |
+
- `log_level_replica`: warning
|
338 |
+
- `log_on_each_node`: True
|
339 |
+
- `logging_nan_inf_filter`: True
|
340 |
+
- `save_safetensors`: True
|
341 |
+
- `save_on_each_node`: False
|
342 |
+
- `save_only_model`: False
|
343 |
+
- `restore_callback_states_from_checkpoint`: False
|
344 |
+
- `no_cuda`: False
|
345 |
+
- `use_cpu`: False
|
346 |
+
- `use_mps_device`: False
|
347 |
+
- `seed`: 12
|
348 |
+
- `data_seed`: None
|
349 |
+
- `jit_mode_eval`: False
|
350 |
+
- `use_ipex`: False
|
351 |
+
- `bf16`: True
|
352 |
+
- `fp16`: False
|
353 |
+
- `fp16_opt_level`: O1
|
354 |
+
- `half_precision_backend`: auto
|
355 |
+
- `bf16_full_eval`: False
|
356 |
+
- `fp16_full_eval`: False
|
357 |
+
- `tf32`: None
|
358 |
+
- `local_rank`: 0
|
359 |
+
- `ddp_backend`: None
|
360 |
+
- `tpu_num_cores`: None
|
361 |
+
- `tpu_metrics_debug`: False
|
362 |
+
- `debug`: []
|
363 |
+
- `dataloader_drop_last`: False
|
364 |
+
- `dataloader_num_workers`: 0
|
365 |
+
- `dataloader_prefetch_factor`: None
|
366 |
+
- `past_index`: -1
|
367 |
+
- `disable_tqdm`: False
|
368 |
+
- `remove_unused_columns`: True
|
369 |
+
- `label_names`: None
|
370 |
+
- `load_best_model_at_end`: True
|
371 |
+
- `ignore_data_skip`: False
|
372 |
+
- `fsdp`: []
|
373 |
+
- `fsdp_min_num_params`: 0
|
374 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
375 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
376 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
377 |
+
- `deepspeed`: None
|
378 |
+
- `label_smoothing_factor`: 0.0
|
379 |
+
- `optim`: adamw_torch
|
380 |
+
- `optim_args`: None
|
381 |
+
- `adafactor`: False
|
382 |
+
- `group_by_length`: False
|
383 |
+
- `length_column_name`: length
|
384 |
+
- `ddp_find_unused_parameters`: None
|
385 |
+
- `ddp_bucket_cap_mb`: None
|
386 |
+
- `ddp_broadcast_buffers`: False
|
387 |
+
- `dataloader_pin_memory`: True
|
388 |
+
- `dataloader_persistent_workers`: False
|
389 |
+
- `skip_memory_metrics`: True
|
390 |
+
- `use_legacy_prediction_loop`: False
|
391 |
+
- `push_to_hub`: False
|
392 |
+
- `resume_from_checkpoint`: None
|
393 |
+
- `hub_model_id`: None
|
394 |
+
- `hub_strategy`: every_save
|
395 |
+
- `hub_private_repo`: None
|
396 |
+
- `hub_always_push`: False
|
397 |
+
- `gradient_checkpointing`: False
|
398 |
+
- `gradient_checkpointing_kwargs`: None
|
399 |
+
- `include_inputs_for_metrics`: False
|
400 |
+
- `include_for_metrics`: []
|
401 |
+
- `eval_do_concat_batches`: True
|
402 |
+
- `fp16_backend`: auto
|
403 |
+
- `push_to_hub_model_id`: None
|
404 |
+
- `push_to_hub_organization`: None
|
405 |
+
- `mp_parameters`:
|
406 |
+
- `auto_find_batch_size`: False
|
407 |
+
- `full_determinism`: False
|
408 |
+
- `torchdynamo`: None
|
409 |
+
- `ray_scope`: last
|
410 |
+
- `ddp_timeout`: 1800
|
411 |
+
- `torch_compile`: False
|
412 |
+
- `torch_compile_backend`: None
|
413 |
+
- `torch_compile_mode`: None
|
414 |
+
- `dispatch_batches`: None
|
415 |
+
- `split_batches`: None
|
416 |
+
- `include_tokens_per_second`: False
|
417 |
+
- `include_num_input_tokens_seen`: False
|
418 |
+
- `neftune_noise_alpha`: None
|
419 |
+
- `optim_target_modules`: None
|
420 |
+
- `batch_eval_metrics`: False
|
421 |
+
- `eval_on_start`: False
|
422 |
+
- `use_liger_kernel`: False
|
423 |
+
- `eval_use_gather_object`: False
|
424 |
+
- `average_tokens_across_devices`: False
|
425 |
+
- `prompts`: None
|
426 |
+
- `batch_sampler`: batch_sampler
|
427 |
+
- `multi_dataset_batch_sampler`: proportional
|
428 |
+
|
429 |
+
</details>
|
430 |
+
|
431 |
+
### Training Logs
|
432 |
+
| Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_R100_ndcg@10 | NanoNFCorpus_R100_ndcg@10 | NanoNQ_R100_ndcg@10 | NanoBEIR_R100_mean_ndcg@10 |
|
433 |
+
|:----------:|:--------:|:-------------:|:---------------:|:------------------------:|:-------------------------:|:--------------------:|:--------------------------:|
|
434 |
+
| -1 | -1 | - | - | 0.0785 (-0.4620) | 0.2441 (-0.0809) | 0.0473 (-0.4533) | 0.1233 (-0.3321) |
|
435 |
+
| 0.0002 | 1 | 2.2881 | - | - | - | - | - |
|
436 |
+
| 0.0508 | 250 | 2.2177 | - | - | - | - | - |
|
437 |
+
| 0.1016 | 500 | 2.0172 | 1.8991 | 0.3929 (-0.1475) | 0.2715 (-0.0535) | 0.3910 (-0.1096) | 0.3518 (-0.1036) |
|
438 |
+
| 0.1525 | 750 | 1.8769 | - | - | - | - | - |
|
439 |
+
| 0.2033 | 1000 | 1.8053 | 1.7602 | 0.5109 (-0.0296) | 0.3391 (+0.0140) | 0.6059 (+0.1052) | 0.4853 (+0.0299) |
|
440 |
+
| 0.2541 | 1250 | 1.7566 | - | - | - | - | - |
|
441 |
+
| 0.3049 | 1500 | 1.7298 | 1.7028 | 0.5152 (-0.0253) | 0.3334 (+0.0084) | 0.6332 (+0.1326) | 0.4939 (+0.0385) |
|
442 |
+
| 0.3558 | 1750 | 1.7261 | - | - | - | - | - |
|
443 |
+
| 0.4066 | 2000 | 1.6907 | 1.7166 | 0.5441 (+0.0037) | 0.3571 (+0.0321) | 0.6231 (+0.1224) | 0.5081 (+0.0527) |
|
444 |
+
| 0.4574 | 2250 | 1.6579 | - | - | - | - | - |
|
445 |
+
| 0.5082 | 2500 | 1.6599 | 1.6482 | 0.5434 (+0.0030) | 0.3284 (+0.0034) | 0.6008 (+0.1001) | 0.4909 (+0.0355) |
|
446 |
+
| 0.5591 | 2750 | 1.6467 | - | - | - | - | - |
|
447 |
+
| 0.6099 | 3000 | 1.6489 | 1.6266 | 0.5541 (+0.0137) | 0.3514 (+0.0264) | 0.6354 (+0.1347) | 0.5136 (+0.0583) |
|
448 |
+
| 0.6607 | 3250 | 1.6538 | - | - | - | - | - |
|
449 |
+
| **0.7115** | **3500** | **1.6246** | **1.6389** | **0.5896 (+0.0492)** | **0.3558 (+0.0308)** | **0.6704 (+0.1697)** | **0.5386 (+0.0832)** |
|
450 |
+
| 0.7624 | 3750 | 1.6164 | - | - | - | - | - |
|
451 |
+
| 0.8132 | 4000 | 1.6139 | 1.6174 | 0.5639 (+0.0235) | 0.3358 (+0.0108) | 0.5988 (+0.0981) | 0.4995 (+0.0441) |
|
452 |
+
| 0.8640 | 4250 | 1.6283 | - | - | - | - | - |
|
453 |
+
| 0.9148 | 4500 | 1.6265 | 1.5999 | 0.5737 (+0.0333) | 0.3412 (+0.0161) | 0.6161 (+0.1154) | 0.5103 (+0.0550) |
|
454 |
+
| 0.9656 | 4750 | 1.5755 | - | - | - | - | - |
|
455 |
+
| -1 | -1 | - | - | 0.5896 (+0.0492) | 0.3558 (+0.0308) | 0.6704 (+0.1697) | 0.5386 (+0.0832) |
|
456 |
+
|
457 |
+
* The bold row denotes the saved checkpoint.
|
458 |
+
|
459 |
+
### Environmental Impact
|
460 |
+
Carbon emissions were measured using [CodeCarbon](https://github.com/mlco2/codecarbon).
|
461 |
+
- **Energy Consumed**: 0.236 kWh
|
462 |
+
- **Carbon Emitted**: 0.092 kg of CO2
|
463 |
+
- **Hours Used**: 0.882 hours
|
464 |
+
|
465 |
+
### Training Hardware
|
466 |
+
- **On Cloud**: No
|
467 |
+
- **GPU Model**: 1 x NVIDIA GeForce RTX 3090
|
468 |
+
- **CPU Model**: 13th Gen Intel(R) Core(TM) i7-13700K
|
469 |
+
- **RAM Size**: 31.78 GB
|
470 |
+
|
471 |
+
### Framework Versions
|
472 |
+
- Python: 3.11.6
|
473 |
+
- Sentence Transformers: 3.5.0.dev0
|
474 |
+
- Transformers: 4.49.0
|
475 |
+
- PyTorch: 2.6.0+cu124
|
476 |
+
- Accelerate: 1.5.1
|
477 |
+
- Datasets: 3.3.2
|
478 |
+
- Tokenizers: 0.21.0
|
479 |
+
|
480 |
+
## Citation
|
481 |
+
|
482 |
+
### BibTeX
|
483 |
+
|
484 |
+
#### Sentence Transformers
|
485 |
+
```bibtex
|
486 |
+
@inproceedings{reimers-2019-sentence-bert,
|
487 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
488 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
489 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
490 |
+
month = "11",
|
491 |
+
year = "2019",
|
492 |
+
publisher = "Association for Computational Linguistics",
|
493 |
+
url = "https://arxiv.org/abs/1908.10084",
|
494 |
+
}
|
495 |
+
```
|
496 |
+
|
497 |
+
#### PListMLELoss
|
498 |
+
```bibtex
|
499 |
+
@inproceedings{lan2014position,
|
500 |
+
title={Position-Aware ListMLE: A Sequential Learning Process for Ranking.},
|
501 |
+
author={Lan, Yanyan and Zhu, Yadong and Guo, Jiafeng and Niu, Shuzi and Cheng, Xueqi},
|
502 |
+
booktitle={UAI},
|
503 |
+
volume={14},
|
504 |
+
pages={449--458},
|
505 |
+
year={2014}
|
506 |
+
}
|
507 |
+
```
|
508 |
+
|
509 |
+
<!--
|
510 |
+
## Glossary
|
511 |
+
|
512 |
+
*Clearly define terms in order to be accessible across audiences.*
|
513 |
+
-->
|
514 |
+
|
515 |
+
<!--
|
516 |
+
## Model Card Authors
|
517 |
+
|
518 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
519 |
+
-->
|
520 |
+
|
521 |
+
<!--
|
522 |
+
## Model Card Contact
|
523 |
+
|
524 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
525 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models/reranker-msmarco-v1.1-MiniLM-L12-H384-uncased-plistmle/final",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 384,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 1536,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "bert",
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_layers": 12,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"sentence_transformers": {
|
27 |
+
"activation_fn": "torch.nn.modules.activation.Sigmoid"
|
28 |
+
},
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.49.0",
|
31 |
+
"type_vocab_size": 2,
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 30522
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49c4bdef0ea3c63b04a6df6045fc44867ff7d1946d8c7668f3387afa572fc895
|
3 |
+
size 133464836
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
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 |
+
"extra_special_tokens": {},
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"max_length": 512,
|
51 |
+
"model_max_length": 512,
|
52 |
+
"never_split": null,
|
53 |
+
"pad_to_multiple_of": null,
|
54 |
+
"pad_token": "[PAD]",
|
55 |
+
"pad_token_type_id": 0,
|
56 |
+
"padding_side": "right",
|
57 |
+
"sep_token": "[SEP]",
|
58 |
+
"stride": 0,
|
59 |
+
"strip_accents": null,
|
60 |
+
"tokenize_chinese_chars": true,
|
61 |
+
"tokenizer_class": "BertTokenizer",
|
62 |
+
"truncation_side": "right",
|
63 |
+
"truncation_strategy": "longest_first",
|
64 |
+
"unk_token": "[UNK]"
|
65 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|