BalaRajesh1 commited on
Commit
cc446c7
·
verified ·
1 Parent(s): 11208d1

Final model — mmBERT-small comprehensive NLI

Browse files
Files changed (2) hide show
  1. README.md +129 -195
  2. model.safetensors +1 -1
README.md CHANGED
@@ -1,199 +1,133 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
1
  ---
2
  library_name: transformers
3
+ license: mit
4
+ base_model: jhu-clsp/mmBERT-small
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: mmbert-small-nli
11
+ results: []
12
  ---
13
 
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # mmbert-small-nli
18
+
19
+ This model is a fine-tuned version of [jhu-clsp/mmBERT-small](https://huggingface.co/jhu-clsp/mmBERT-small) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5527
22
+ - Accuracy: 0.7772
23
+ - F1 Macro: 0.7771
24
+ - F1 Entailment: 0.7752
25
+ - F1 Neutral: 0.7431
26
+ - F1 Contradiction: 0.8129
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 32
47
+ - eval_batch_size: 64
48
+ - seed: 42
49
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_steps: 0.06
52
+ - num_epochs: 3
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Entailment | F1 Neutral | F1 Contradiction |
58
+ |:-------------:|:------:|:------:|:---------------:|:--------:|:--------:|:-------------:|:----------:|:----------------:|
59
+ | 1.0734 | 0.0087 | 2000 | 1.1464 | 0.402 | 0.3901 | 0.4706 | 0.4137 | 0.2862 |
60
+ | 0.8248 | 0.0174 | 4000 | 0.8942 | 0.5951 | 0.5953 | 0.6249 | 0.5604 | 0.6006 |
61
+ | 0.7294 | 0.0261 | 6000 | 0.8418 | 0.6394 | 0.6375 | 0.6719 | 0.5932 | 0.6475 |
62
+ | 0.6950 | 0.0348 | 8000 | 0.7324 | 0.6886 | 0.6886 | 0.7207 | 0.6389 | 0.7063 |
63
+ | 0.6517 | 0.0435 | 10000 | 0.7094 | 0.7052 | 0.7034 | 0.7439 | 0.6444 | 0.7219 |
64
+ | 0.6550 | 0.0522 | 12000 | 0.7001 | 0.7037 | 0.7039 | 0.7306 | 0.6535 | 0.7277 |
65
+ | 0.6181 | 0.0609 | 14000 | 0.6918 | 0.7205 | 0.7198 | 0.7564 | 0.672 | 0.7309 |
66
+ | 0.6304 | 0.0696 | 16000 | 0.6628 | 0.7269 | 0.7254 | 0.7649 | 0.672 | 0.7392 |
67
+ | 0.6088 | 0.0783 | 18000 | 0.6486 | 0.7277 | 0.7285 | 0.7499 | 0.684 | 0.7517 |
68
+ | 0.6096 | 0.0871 | 20000 | 0.6527 | 0.7342 | 0.7345 | 0.7684 | 0.6945 | 0.7408 |
69
+ | 0.5949 | 0.0958 | 22000 | 0.6820 | 0.7261 | 0.7274 | 0.7446 | 0.6856 | 0.7522 |
70
+ | 0.6165 | 0.1045 | 24000 | 0.6378 | 0.7347 | 0.7353 | 0.7579 | 0.6894 | 0.7584 |
71
+ | 0.6145 | 0.1132 | 26000 | 0.6274 | 0.7415 | 0.7422 | 0.7627 | 0.6994 | 0.7645 |
72
+ | 0.6049 | 0.1219 | 28000 | 0.6515 | 0.7436 | 0.7437 | 0.7709 | 0.7019 | 0.7581 |
73
+ | 0.5834 | 0.1306 | 30000 | 0.6514 | 0.7427 | 0.7435 | 0.7704 | 0.7041 | 0.756 |
74
+ | 0.6031 | 0.1393 | 32000 | 0.6432 | 0.7494 | 0.7491 | 0.7797 | 0.706 | 0.7617 |
75
+ | 0.5783 | 0.1480 | 34000 | 0.6438 | 0.7399 | 0.7419 | 0.7618 | 0.7087 | 0.7553 |
76
+ | 0.5933 | 0.1567 | 36000 | 0.6420 | 0.7444 | 0.7434 | 0.7721 | 0.6929 | 0.765 |
77
+ | 0.5766 | 0.1654 | 38000 | 0.6495 | 0.7318 | 0.7342 | 0.7374 | 0.7032 | 0.7621 |
78
+ | 0.5698 | 0.1741 | 40000 | 0.6150 | 0.7525 | 0.7525 | 0.7833 | 0.7072 | 0.767 |
79
+ | 0.5783 | 0.1828 | 42000 | 0.6490 | 0.7364 | 0.7385 | 0.7473 | 0.7087 | 0.7593 |
80
+ | 0.5710 | 0.1915 | 44000 | 0.6284 | 0.7483 | 0.7467 | 0.7784 | 0.6938 | 0.768 |
81
+ | 0.5647 | 0.2002 | 46000 | 0.6516 | 0.7439 | 0.7453 | 0.7653 | 0.7056 | 0.7649 |
82
+ | 0.5625 | 0.2089 | 48000 | 0.6303 | 0.7529 | 0.7541 | 0.7776 | 0.7136 | 0.771 |
83
+ | 0.5542 | 0.2176 | 50000 | 0.6285 | 0.7497 | 0.7507 | 0.7715 | 0.7107 | 0.7698 |
84
+ | 0.5787 | 0.2263 | 52000 | 0.6306 | 0.7482 | 0.7482 | 0.7742 | 0.7007 | 0.7697 |
85
+ | 0.5632 | 0.2350 | 54000 | 0.6289 | 0.7493 | 0.7496 | 0.7699 | 0.712 | 0.767 |
86
+ | 0.5453 | 0.2438 | 56000 | 0.6133 | 0.7522 | 0.7539 | 0.7777 | 0.7145 | 0.7695 |
87
+ | 0.5488 | 0.2525 | 58000 | 0.6306 | 0.7528 | 0.7543 | 0.7728 | 0.7163 | 0.7737 |
88
+ | 0.5558 | 0.2612 | 60000 | 0.6306 | 0.7502 | 0.7477 | 0.7817 | 0.6851 | 0.7763 |
89
+ | 0.5452 | 0.2699 | 62000 | 0.6250 | 0.7558 | 0.7576 | 0.7745 | 0.7226 | 0.7757 |
90
+ | 0.5516 | 0.2786 | 64000 | 0.6121 | 0.7581 | 0.7592 | 0.7803 | 0.7194 | 0.7777 |
91
+ | 0.5295 | 0.2873 | 66000 | 0.6206 | 0.7587 | 0.7597 | 0.7792 | 0.7205 | 0.7795 |
92
+ | 0.5242 | 0.2960 | 68000 | 0.6028 | 0.7593 | 0.7607 | 0.7825 | 0.7252 | 0.7744 |
93
+ | 0.5341 | 0.3047 | 70000 | 0.6173 | 0.7597 | 0.7582 | 0.7907 | 0.7023 | 0.7816 |
94
+ | 0.5346 | 0.3134 | 72000 | 0.6258 | 0.7583 | 0.759 | 0.7812 | 0.7172 | 0.7785 |
95
+ | 0.5194 | 0.3221 | 74000 | 0.6266 | 0.7622 | 0.7622 | 0.7891 | 0.7161 | 0.7815 |
96
+ | 0.5392 | 0.3308 | 76000 | 0.6441 | 0.7531 | 0.7549 | 0.7749 | 0.7232 | 0.7667 |
97
+ | 0.5208 | 0.3395 | 78000 | 0.6283 | 0.7556 | 0.7569 | 0.7695 | 0.7189 | 0.7824 |
98
+ | 0.5306 | 0.3482 | 80000 | 0.6062 | 0.7656 | 0.7667 | 0.7843 | 0.7259 | 0.7899 |
99
+ | 0.5271 | 0.3569 | 82000 | 0.6332 | 0.7644 | 0.7638 | 0.7929 | 0.7115 | 0.7871 |
100
+ | 0.5088 | 0.3656 | 84000 | 0.6253 | 0.7612 | 0.761 | 0.7863 | 0.7131 | 0.7836 |
101
+ | 0.5227 | 0.3743 | 86000 | 0.6285 | 0.7552 | 0.7571 | 0.7671 | 0.7205 | 0.7836 |
102
+ | 0.5147 | 0.3830 | 88000 | 0.6199 | 0.7646 | 0.7631 | 0.7926 | 0.7073 | 0.7894 |
103
+ | 0.5091 | 0.3917 | 90000 | 0.6220 | 0.7644 | 0.7655 | 0.7855 | 0.7262 | 0.7848 |
104
+ | 0.5026 | 0.4005 | 92000 | 0.6216 | 0.766 | 0.7651 | 0.7936 | 0.7104 | 0.7913 |
105
+ | 0.5221 | 0.4092 | 94000 | 0.6211 | 0.7653 | 0.7665 | 0.7869 | 0.7261 | 0.7866 |
106
+ | 0.5081 | 0.4179 | 96000 | 0.6238 | 0.7622 | 0.7635 | 0.7877 | 0.7261 | 0.7768 |
107
+ | 0.5163 | 0.4266 | 98000 | 0.6352 | 0.7702 | 0.7702 | 0.7974 | 0.7215 | 0.7916 |
108
+ | 0.5063 | 0.4353 | 100000 | 0.6075 | 0.7652 | 0.7664 | 0.7874 | 0.7226 | 0.7891 |
109
+ | 0.5023 | 0.4440 | 102000 | 0.6153 | 0.7674 | 0.7681 | 0.7941 | 0.7262 | 0.784 |
110
+ | 0.4876 | 0.4527 | 104000 | 0.6140 | 0.7639 | 0.7645 | 0.7898 | 0.7163 | 0.7872 |
111
+ | 0.5104 | 0.4614 | 106000 | 0.6174 | 0.7638 | 0.7655 | 0.7809 | 0.725 | 0.7906 |
112
+ | 0.5122 | 0.4701 | 108000 | 0.6174 | 0.7634 | 0.7636 | 0.786 | 0.7149 | 0.7898 |
113
+ | 0.4944 | 0.4788 | 110000 | 0.6240 | 0.7717 | 0.7721 | 0.7946 | 0.729 | 0.7929 |
114
+ | 0.4873 | 0.4875 | 112000 | 0.6033 | 0.7682 | 0.7687 | 0.7917 | 0.7236 | 0.7907 |
115
+ | 0.4871 | 0.4962 | 114000 | 0.5942 | 0.7719 | 0.7722 | 0.7955 | 0.7271 | 0.7941 |
116
+ | 0.4954 | 0.5049 | 116000 | 0.5927 | 0.7707 | 0.7717 | 0.7925 | 0.7298 | 0.7927 |
117
+ | 0.4852 | 0.5136 | 118000 | 0.6312 | 0.7701 | 0.7713 | 0.7888 | 0.7285 | 0.7965 |
118
+ | 0.4782 | 0.5223 | 120000 | 0.6233 | 0.7682 | 0.7685 | 0.7912 | 0.7245 | 0.7898 |
119
+ | 0.4915 | 0.5310 | 122000 | 0.6213 | 0.7672 | 0.7676 | 0.7874 | 0.7257 | 0.7898 |
120
+ | 0.4776 | 0.5397 | 124000 | 0.6188 | 0.7714 | 0.7721 | 0.7934 | 0.7286 | 0.7944 |
121
+ | 0.4658 | 0.5484 | 126000 | 0.6559 | 0.7702 | 0.7712 | 0.7937 | 0.7283 | 0.7916 |
122
+ | 0.4830 | 0.5572 | 128000 | 0.6215 | 0.7689 | 0.7699 | 0.7917 | 0.7286 | 0.7896 |
123
+ | 0.4777 | 0.5659 | 130000 | 0.6626 | 0.7677 | 0.7692 | 0.7874 | 0.7319 | 0.7882 |
124
+ | 0.4645 | 0.5746 | 132000 | 0.6406 | 0.7703 | 0.7718 | 0.7947 | 0.7349 | 0.7857 |
125
+ | 0.4887 | 0.5833 | 134000 | 0.6173 | 0.7684 | 0.7688 | 0.7934 | 0.7229 | 0.7901 |
126
+
127
+
128
+ ### Framework versions
129
+
130
+ - Transformers 5.2.0
131
+ - Pytorch 2.10.0+cu128
132
+ - Datasets 4.6.1
133
+ - Tokenizers 0.22.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d723ecb711bac15abc4ac116d1d1252d26e38fb787e2a31d268e26345057f4f4
3
  size 562584932
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:994ffeb33c6e6831f62ddbb4e6e353d2972f97633fddec0a1f2d590bccadcdab
3
  size 562584932