Populate Model Card with Details and Metadata for Self-Calibration Model

#1
by nielsr HF staff - opened
Files changed (1) hide show
  1. README.md +52 -125
README.md CHANGED
@@ -1,199 +1,126 @@
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
+ pipeline_tag: text-generation
4
+ license: apache-2.0
5
+ tags:
6
+ - self-calibration
7
+ - efficient-sampling
8
+ - llm-uncertainty
9
  ---
10
 
11
+ # Model Card for Efficient Test-Time Scaling via Self-Calibration
 
 
 
12
 
13
+ This model implements an efficient test-time scaling method using model confidence for dynamic sampling adjustment. It addresses the challenge of overconfidence in LLMs by introducing a self-calibration framework that generates calibrated confidence scores, improving computational efficiency without sacrificing accuracy. This is based on the research paper [Efficient Test-Time Scaling via Self-Calibration](https://arxiv.org/abs/2503.00031).
14
 
15
  ## Model Details
16
 
17
  ### Model Description
18
 
19
+ This model uses model confidence to dynamically adjust sampling during inference, leading to significant improvements in computational efficiency. The self-calibration framework ensures calibrated confidence scores, making the method robust and reliable. The model is designed to work with various sampling methods, including early exit, ascending confidence, self-consistency, and best-of-N.
 
 
20
 
21
+ - **Developed by:** HINT-lab
22
+ - **Model type:** Large Language Model (LLM)
23
+ - **Language(s) (NLP):** English (supports other languages depending on the base model used during training)
24
+ - **License:** Apache 2.0
25
+ - **Finetuned from model [optional]:** (Specify base model used, e.g., `meta-llama/Llama-3.1-8B-Instruct`)
 
 
26
 
27
  ### Model Sources [optional]
28
 
29
+ - **Repository:** [https://github.com/HINT-lab/Self-Calibration](https://github.com/HINT-lab/Self-Calibration)
30
+ - **Paper [optional]:** [https://arxiv.org/abs/2503.00031](https://arxiv.org/abs/2503.00031)
31
+ - **Models:**
32
+ - [DeepSeek-R1-Distill-Qwen-1.5B-Self-Calibration](https://huggingface.co/HINT-lab/DeepSeek-R1-Distill-Qwen-1.5B-Self-Calibration)
33
+ - [Qwen2.5-7B-Instruct-Self-Calibration](https://huggingface.co/HINT-lab/Qwen2.5-7B-Instruct-Self-Calibration)
34
+ - [Llama-3.1-8B-Instruct-Self-Calibration](https://huggingface.co/HINT-lab/Llama-3.1-8B-Instruct-Self-Calibration)
35
+ - **Datasets:**
36
+ - [DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/datasets/HINT-lab/DeepSeek-R1-Distill-Qwen-1.5B-Self-Calibration)
37
+ - [Qwen2.5-7B-Instruct](https://huggingface.co/datasets/HINT-lab/Qwen2.5-7B-Instruct-Self-Calibration)
38
+ - [Llama_3.1-8B-Instruct](https://huggingface.co/datasets/HINT-lab/Llama_3.1-8B-Instruct-Self-Calibration)
39
 
40
  ## Uses
41
 
 
 
42
  ### Direct Use
43
 
44
+ The model can be used directly for text generation tasks with various sampling methods. The user can specify the desired sampling method, confidence threshold (if applicable), number of samples, and temperature.
 
 
45
 
46
  ### Downstream Use [optional]
47
 
48
+ The model can be fine-tuned for specific downstream tasks or integrated into larger applications requiring efficient text generation.
 
 
49
 
50
  ### Out-of-Scope Use
51
 
52
+ The model may not perform well on tasks requiring high creativity or those outside the domains represented in the training data. The accuracy of the confidence scores depends heavily on the quality and calibration of the underlying base LLM.
 
 
53
 
54
  ## Bias, Risks, and Limitations
55
 
56
+ The model inherits biases from its base LLM. The accuracy of the confidence scores and the effectiveness of the sampling methods may vary depending on the task and the base model. Over-reliance on the model's confidence scores without considering other factors could lead to incorrect inferences.
 
 
57
 
58
  ### Recommendations
59
 
60
+ Users should be aware of potential biases and limitations. It's recommended to evaluate the model's performance on specific tasks before deploying it to critical applications. Users should also critically evaluate the confidence scores provided by the model.
 
 
61
 
62
  ## How to Get Started with the Model
63
 
64
+ See the "Quickstart" section in the Github README for instructions on how to install the necessary packages and use the model for inference.
 
 
65
 
66
  ## Training Details
67
 
68
  ### Training Data
69
 
70
+ The training data consists of datasets created by generating multiple responses to prompts from various benchmark datasets (more detail can be found in the Github README).
 
 
71
 
72
  ### Training Procedure
73
 
74
+ The training procedure involves a self-calibration process to improve the model's ability to generate calibrated confidence scores. Details are in the Github README.
 
 
 
 
 
75
 
76
  #### Training Hyperparameters
77
 
78
+ (To be added from Github README - `model_training/configs/{version}.json`)
79
 
80
  #### Speeds, Sizes, Times [optional]
81
 
82
+ (To be added from Github README - training times on various hardware)
 
 
83
 
84
  ## Evaluation
85
 
86
+ (To be added from Github README - evaluation protocols and results)
87
 
88
  ### Testing Data, Factors & Metrics
89
 
90
+ (To be added from Github README)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
  ### Results
93
 
94
+ (To be added from Github README)
95
 
96
  #### Summary
97
 
98
+ (To be added from Github README)
 
 
 
 
 
 
99
 
100
  ## Environmental Impact
101
 
102
+ (To be added based on hardware usage reported in the Github README)
 
 
 
 
 
 
 
 
103
 
104
  ## Technical Specifications [optional]
105
 
106
+ (To be added based on model architecture and training details in the Github README)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
 
108
  ## Citation [optional]
109
 
 
 
110
  **BibTeX:**
111
 
112
+ ```bibtex
113
+ @misc{huang2025efficienttesttimescalingselfcalibration,
114
+ title={Efficient Test-Time Scaling via Self-Calibration},
115
+ author={Chengsong Huang and Langlin Huang and Jixuan Leng and Jiacheng Liu and Jiaxin Huang},
116
+ year={2025},
117
+ eprint={2503.00031},
118
+ archivePrefix={arXiv},
119
+ primaryClass={cs.LG},
120
+ url={https://arxiv.org/abs/2503.00031},
121
+ }
122
+ ```
123
 
124
  **APA:**
125
 
126
+ (To be added based on the citation information in the Github README)