Akshan Krithick commited on
v2: 5-epoch RoBERTa-large + LoRA on LEDGAR (acc=0.869, macro F1=0.790)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +128 -176
- adapter_config.json +7 -8
- adapter_model.safetensors +2 -2
- checkpoint-1875/README.md +202 -0
- checkpoint-1875/adapter_config.json +36 -0
- checkpoint-1875/adapter_model.safetensors +3 -0
- checkpoint-1875/merges.txt +0 -0
- checkpoint-1875/optimizer.pt +3 -0
- checkpoint-1875/rng_state.pth +3 -0
- checkpoint-1875/scheduler.pt +3 -0
- checkpoint-1875/special_tokens_map.json +15 -0
- checkpoint-1875/tokenizer.json +0 -0
- checkpoint-1875/tokenizer_config.json +57 -0
- checkpoint-1875/trainer_state.json +169 -0
- checkpoint-1875/training_args.bin +3 -0
- checkpoint-1875/vocab.json +0 -0
- checkpoint-3750/README.md +202 -0
- checkpoint-3750/adapter_config.json +36 -0
- checkpoint-3750/adapter_model.safetensors +3 -0
- checkpoint-3750/merges.txt +0 -0
- checkpoint-3750/optimizer.pt +3 -0
- checkpoint-3750/rng_state.pth +3 -0
- checkpoint-3750/scheduler.pt +3 -0
- checkpoint-3750/special_tokens_map.json +15 -0
- checkpoint-3750/tokenizer.json +0 -0
- checkpoint-3750/tokenizer_config.json +57 -0
- checkpoint-3750/trainer_state.json +312 -0
- checkpoint-3750/training_args.bin +3 -0
- checkpoint-3750/vocab.json +0 -0
- checkpoint-5625/README.md +202 -0
- checkpoint-5625/adapter_config.json +36 -0
- checkpoint-5625/adapter_model.safetensors +3 -0
- checkpoint-5625/merges.txt +0 -0
- checkpoint-5625/optimizer.pt +3 -0
- checkpoint-5625/rng_state.pth +3 -0
- checkpoint-5625/scheduler.pt +3 -0
- checkpoint-5625/special_tokens_map.json +15 -0
- checkpoint-5625/tokenizer.json +0 -0
- checkpoint-5625/tokenizer_config.json +57 -0
- checkpoint-5625/trainer_state.json +455 -0
- checkpoint-5625/training_args.bin +3 -0
- checkpoint-5625/vocab.json +0 -0
- checkpoint-7500/README.md +202 -0
- checkpoint-7500/adapter_config.json +36 -0
- checkpoint-7500/adapter_model.safetensors +3 -0
- checkpoint-7500/merges.txt +0 -0
- checkpoint-7500/optimizer.pt +3 -0
- checkpoint-7500/rng_state.pth +3 -0
- checkpoint-7500/scheduler.pt +3 -0
- checkpoint-7500/special_tokens_map.json +15 -0
README.md
CHANGED
|
@@ -1,250 +1,202 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
- coastalcph/lex_glue
|
| 5 |
-
- coastalchp/ledgar
|
| 6 |
-
metrics:
|
| 7 |
-
- accuracy
|
| 8 |
-
- f1
|
| 9 |
-
tags:
|
| 10 |
-
- legal
|
| 11 |
-
- contracts
|
| 12 |
-
- clause-classification
|
| 13 |
-
- governance
|
| 14 |
-
- robustness
|
| 15 |
-
- lora
|
| 16 |
-
- PEFT
|
| 17 |
-
- roberta-large
|
| 18 |
-
task_categories:
|
| 19 |
-
- sequence-classification
|
| 20 |
-
model_name: termsconditioned-roberta-large-ledgar-lora
|
| 21 |
-
library_name: transformers
|
| 22 |
-
pipeline_tag: text-classification
|
| 23 |
-
language:
|
| 24 |
-
- en
|
| 25 |
-
base_model:
|
| 26 |
-
- FacebookAI/roberta-large
|
| 27 |
-
model-index:
|
| 28 |
-
- name: termsconditioned-roberta-large-ledgar-lora
|
| 29 |
-
results:
|
| 30 |
-
- task:
|
| 31 |
-
type: text-classification
|
| 32 |
-
name: Contract clause classification
|
| 33 |
-
dataset:
|
| 34 |
-
name: LEDGAR (LexGLUE)
|
| 35 |
-
type: coastalcph/lex_glue
|
| 36 |
-
config: ledgar
|
| 37 |
-
split: validation
|
| 38 |
-
metrics:
|
| 39 |
-
- name: Accuracy
|
| 40 |
-
type: accuracy
|
| 41 |
-
value: 0.815
|
| 42 |
-
- name: Macro F1
|
| 43 |
-
type: f1
|
| 44 |
-
value: 0.742
|
| 45 |
---
|
| 46 |
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
A RoBERTa-large encoder, fine-tuned with LoRA on the LEDGAR subset of LexGLUE to classify contract paragraphs into 100 clause families, with an explicit *risk bucket* and slice-level governance analysis.
|
| 51 |
|
| 52 |
-
This repo only contains the **adapter weights + tokenizer**, not the full base model.
|
| 53 |
-
To use it, you must load `roberta-large` from Hugging Face and then apply these LoRA adapters.
|
| 54 |
-
You cannot ` AutoModelForSequenceClassification.from_pretrained("snickerszz/…") `
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
##
|
| 59 |
|
| 60 |
-
-
|
| 61 |
-
- Output: one of **100 LEDGAR clause families** (e.g., `Arbitration`, `Governing Laws`, `Indemnity`, `Limitation Of Liability`, `Amendments`, etc.).
|
| 62 |
-
- Special focus on a **risk bucket** of families where “false green-lights” are costly:
|
| 63 |
|
| 64 |
-
- `Arbitration`
|
| 65 |
-
- `Waiver Of Jury Trials`
|
| 66 |
-
- `Waivers`
|
| 67 |
-
- `Jurisdictions`, `Submission To Jurisdiction`, `Consent To Jurisdiction`, `Governing Laws`
|
| 68 |
-
- `Modifications`, `Amendments`
|
| 69 |
-
- `Limitation Of Liability`, `Remedies`, `Indemnity`, `Indemnifications`
|
| 70 |
|
| 71 |
-
The model is intended as the **classification core** for a governance-style triage system:
|
| 72 |
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
-
|
| 78 |
|
| 79 |
-
|
|
|
|
|
|
|
| 80 |
|
| 81 |
-
|
| 82 |
|
| 83 |
-
|
| 84 |
-
2. Runs this classifier on each paragraph.
|
| 85 |
-
3. Applies a **policy** over the probabilities:
|
| 86 |
-
- high-confidence risky clause → *“Flag as risky”*
|
| 87 |
-
- high-confidence non-risky clause → *“Green-light”*
|
| 88 |
-
- low-confidence → *“Needs review” (abstain)*
|
| 89 |
|
| 90 |
-
###
|
| 91 |
|
| 92 |
-
-
|
| 93 |
-
- Not guaranteed fair / non-biased for every jurisdiction or contract type.
|
| 94 |
-
- Not designed to replace full contract review or negotiation tools.
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
-
##
|
| 99 |
|
| 100 |
-
-
|
| 101 |
-
- **Train / Validation / Test:**
|
| 102 |
-
- train: 60,000 paragraphs
|
| 103 |
-
- validation: 10,000 paragraphs
|
| 104 |
-
- test: 10,000 paragraphs
|
| 105 |
-
- **Labels:** 100 clause families as defined in LEDGAR.
|
| 106 |
|
| 107 |
-
|
| 108 |
|
| 109 |
-
--
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
-
|
| 114 |
|
| 115 |
-
|
| 116 |
|
| 117 |
-
|
| 118 |
|
| 119 |
-
|
| 120 |
|
| 121 |
-
|
| 122 |
-
- **LoRA config:**
|
| 123 |
-
- `r = 16`
|
| 124 |
-
- `lora_alpha = 32`
|
| 125 |
-
- `lora_dropout = 0.05`
|
| 126 |
-
- **Frozen:** All other base model weights.
|
| 127 |
-
- **Saved extra modules:** `classifier` head kept and saved along with adapters.
|
| 128 |
|
| 129 |
-
|
| 130 |
|
| 131 |
-
|
| 132 |
-
- **Label smoothing:** ε = 0.1
|
| 133 |
-
- **Optimizer:** AdamW (8-bit or standard), weight decay 0.1
|
| 134 |
-
- **Scheduler:** cosine LR with warmup
|
| 135 |
-
- **Batch size (effective):** 32 (per-device × grad_accumulation)
|
| 136 |
-
- **Epochs:** 5
|
| 137 |
-
- **Max seq length:** 384 tokens
|
| 138 |
-
- **Hardware:** single GPU (tested on A100 via Colab)
|
| 139 |
|
| 140 |
-
|
| 141 |
|
| 142 |
-
|
| 143 |
-
- Deterministic behavior is not fully guaranteed but training is stable.
|
| 144 |
|
| 145 |
-
|
| 146 |
|
| 147 |
-
##
|
| 148 |
|
| 149 |
-
|
| 150 |
|
| 151 |
-
|
| 152 |
|
| 153 |
-
|
| 154 |
-
- **Macro F1:** ~0.742
|
| 155 |
|
| 156 |
-
|
| 157 |
|
| 158 |
-
|
| 159 |
|
| 160 |
-
|
| 161 |
|
| 162 |
-
|
| 163 |
-
- Best temperature on validation: **T\* ≈ 0.8**
|
| 164 |
-
- Expected Calibration Error (ECE) before / after scaling:
|
| 165 |
-
- `ECE_raw ≈ 0.115`
|
| 166 |
-
- `ECE_cal ≈ 0.022`
|
| 167 |
|
| 168 |
-
These calibrated probabilities are what we use for **governance policies** (false-green caps, abstain band, etc.).
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
-
###
|
| 175 |
|
|
|
|
| 176 |
|
| 177 |
-
|
| 178 |
|
| 179 |
-
|
| 180 |
-
from peft import PeftModel
|
| 181 |
|
| 182 |
-
|
| 183 |
-
ADAPTER_REPO = "snickerszz/termsconditioned-roberta-large-ledgar-lora"
|
| 184 |
|
| 185 |
-
|
| 186 |
-
base_model = AutoModelForSequenceClassification.from_pretrained(
|
| 187 |
-
BASE,
|
| 188 |
-
num_labels=100,
|
| 189 |
-
)
|
| 190 |
-
model = PeftModel.from_pretrained(base_model, ADAPTER_REPO)
|
| 191 |
|
| 192 |
-
|
| 193 |
-
```
|
| 194 |
-
---
|
| 195 |
|
| 196 |
-
|
| 197 |
|
| 198 |
-
|
| 199 |
-
# Must run the above cell first
|
| 200 |
-
# This cell is a sample use case for the model
|
| 201 |
-
text = "Any dispute arising out of or relating to this Agreement shall be finally settled by binding arbitration..."
|
| 202 |
-
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=384)
|
| 203 |
|
| 204 |
-
|
| 205 |
-
outputs = model(**inputs)
|
| 206 |
-
probs = outputs.logits.softmax(dim=-1)[0]
|
| 207 |
|
| 208 |
-
|
| 209 |
-
for idx, score in zip(topk.indices.tolist(), topk.values.tolist()):
|
| 210 |
-
print(idx, float(score))
|
| 211 |
-
```
|
| 212 |
|
| 213 |
-
|
| 214 |
|
| 215 |
-
|
| 216 |
|
| 217 |
-
|
| 218 |
|
| 219 |
-
|
| 220 |
|
| 221 |
-
|
| 222 |
|
| 223 |
-
|
| 224 |
|
| 225 |
-
|
| 226 |
|
| 227 |
-
- Legal risk
|
| 228 |
|
| 229 |
-
This model is for triage, research, and prototyping. It is not legal advice. Any production use should keep a human in the loop and document the residual error rates, especially for the risky bucket.
|
| 230 |
|
| 231 |
-
|
| 232 |
|
| 233 |
-
|
| 234 |
|
| 235 |
-
|
| 236 |
|
| 237 |
-
|
| 238 |
|
| 239 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 240 |
|
| 241 |
-
#
|
| 242 |
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
- config.json – model configuration (num_labels, id2label, label2id, etc.)
|
| 246 |
-
- tokenizer.json, vocab.json, merges.txt, tokenizer_config.json – tokenizer assets compatible with roberta-large
|
| 247 |
-
- special_tokens_map.json – tokenizer special token mapping
|
| 248 |
-
- README.md
|
| 249 |
|
| 250 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: roberta-large
|
| 3 |
+
library_name: peft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|
|
|
|
| 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]
|
| 200 |
+
### Framework versions
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
+
- PEFT 0.12.0
|
adapter_config.json
CHANGED
|
@@ -1,9 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
-
"auto_mapping":
|
| 4 |
-
"base_model_class": "RobertaForSequenceClassification",
|
| 5 |
-
"parent_library": "transformers.models.roberta.modeling_roberta"
|
| 6 |
-
},
|
| 7 |
"base_model_name_or_path": "roberta-large",
|
| 8 |
"bias": "none",
|
| 9 |
"fan_in_fan_out": false,
|
|
@@ -18,18 +15,20 @@
|
|
| 18 |
"megatron_config": null,
|
| 19 |
"megatron_core": "megatron.core",
|
| 20 |
"modules_to_save": [
|
| 21 |
-
"classifier"
|
|
|
|
|
|
|
| 22 |
],
|
| 23 |
"peft_type": "LORA",
|
| 24 |
"r": 16,
|
| 25 |
"rank_pattern": {},
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
| 28 |
-
"
|
| 29 |
"value",
|
|
|
|
| 30 |
"intermediate.dense",
|
| 31 |
-
"query"
|
| 32 |
-
"key"
|
| 33 |
],
|
| 34 |
"task_type": "SEQ_CLS",
|
| 35 |
"use_dora": false,
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
|
|
|
|
|
|
|
|
|
| 4 |
"base_model_name_or_path": "roberta-large",
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
|
|
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": [
|
| 18 |
+
"classifier",
|
| 19 |
+
"classifier",
|
| 20 |
+
"score"
|
| 21 |
],
|
| 22 |
"peft_type": "LORA",
|
| 23 |
"r": 16,
|
| 24 |
"rank_pattern": {},
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
| 27 |
+
"key",
|
| 28 |
"value",
|
| 29 |
+
"output.dense",
|
| 30 |
"intermediate.dense",
|
| 31 |
+
"query"
|
|
|
|
| 32 |
],
|
| 33 |
"task_type": "SEQ_CLS",
|
| 34 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96bf21eabe22965d9dd84dd5189e85dbc71bf074115f1921c13ed90671e5d0d6
|
| 3 |
+
size 32962328
|
checkpoint-1875/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: roberta-large
|
| 3 |
+
library_name: peft
|
| 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 |
+
|
| 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]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.12.0
|
checkpoint-1875/adapter_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "roberta-large",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": [
|
| 18 |
+
"classifier",
|
| 19 |
+
"classifier",
|
| 20 |
+
"score"
|
| 21 |
+
],
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"key",
|
| 28 |
+
"value",
|
| 29 |
+
"output.dense",
|
| 30 |
+
"intermediate.dense",
|
| 31 |
+
"query"
|
| 32 |
+
],
|
| 33 |
+
"task_type": "SEQ_CLS",
|
| 34 |
+
"use_dora": false,
|
| 35 |
+
"use_rslora": false
|
| 36 |
+
}
|
checkpoint-1875/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6af536be16c08d8eac68d126ca6e0716353bbe04ea2f5faf02c2c0050a27f066
|
| 3 |
+
size 32962328
|
checkpoint-1875/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-1875/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21f1c924a35666af5a2243f793ad74a6b0bc018511b6dc5e78ccbdaf3695f67f
|
| 3 |
+
size 66085050
|
checkpoint-1875/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:261a780904fe177e1e36fdaf4ea0b21c232cc175f147030bd514711a079b4bd2
|
| 3 |
+
size 14244
|
checkpoint-1875/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:743f1f6fe0e37725433bda0b56e65a0c808acf8ff21fefeb923db931b8bc7f26
|
| 3 |
+
size 1064
|
checkpoint-1875/special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
checkpoint-1875/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-1875/tokenizer_config.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": true,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"model_max_length": 512,
|
| 52 |
+
"pad_token": "<pad>",
|
| 53 |
+
"sep_token": "</s>",
|
| 54 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 55 |
+
"trim_offsets": true,
|
| 56 |
+
"unk_token": "<unk>"
|
| 57 |
+
}
|
checkpoint-1875/trainer_state.json
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.7341778006943732,
|
| 3 |
+
"best_model_checkpoint": "./tc_roberta_ledgar_lora_v2/checkpoint-1875",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 1875,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.05333333333333334,
|
| 13 |
+
"grad_norm": 10.646000862121582,
|
| 14 |
+
"learning_rate": 1.7761989342806394e-05,
|
| 15 |
+
"loss": 4.5715,
|
| 16 |
+
"step": 100
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.10666666666666667,
|
| 20 |
+
"grad_norm": 6.6032819747924805,
|
| 21 |
+
"learning_rate": 3.552397868561279e-05,
|
| 22 |
+
"loss": 4.1558,
|
| 23 |
+
"step": 200
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.16,
|
| 27 |
+
"grad_norm": 5.015078544616699,
|
| 28 |
+
"learning_rate": 5.3285968028419185e-05,
|
| 29 |
+
"loss": 2.8017,
|
| 30 |
+
"step": 300
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.21333333333333335,
|
| 34 |
+
"grad_norm": 7.0364670753479,
|
| 35 |
+
"learning_rate": 7.104795737122558e-05,
|
| 36 |
+
"loss": 1.6959,
|
| 37 |
+
"step": 400
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.26666666666666666,
|
| 41 |
+
"grad_norm": 4.8350419998168945,
|
| 42 |
+
"learning_rate": 8.880994671403198e-05,
|
| 43 |
+
"loss": 1.1395,
|
| 44 |
+
"step": 500
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.32,
|
| 48 |
+
"grad_norm": 6.103910446166992,
|
| 49 |
+
"learning_rate": 9.999565001331225e-05,
|
| 50 |
+
"loss": 0.9846,
|
| 51 |
+
"step": 600
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.37333333333333335,
|
| 55 |
+
"grad_norm": 6.555258274078369,
|
| 56 |
+
"learning_rate": 9.994037264113944e-05,
|
| 57 |
+
"loss": 0.8946,
|
| 58 |
+
"step": 700
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.4266666666666667,
|
| 62 |
+
"grad_norm": 6.398642539978027,
|
| 63 |
+
"learning_rate": 9.982162701557139e-05,
|
| 64 |
+
"loss": 0.7935,
|
| 65 |
+
"step": 800
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.48,
|
| 69 |
+
"grad_norm": 5.122348785400391,
|
| 70 |
+
"learning_rate": 9.963956404812623e-05,
|
| 71 |
+
"loss": 0.793,
|
| 72 |
+
"step": 900
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 0.5333333333333333,
|
| 76 |
+
"grad_norm": 5.0598368644714355,
|
| 77 |
+
"learning_rate": 9.939441511910694e-05,
|
| 78 |
+
"loss": 0.7565,
|
| 79 |
+
"step": 1000
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 0.5866666666666667,
|
| 83 |
+
"grad_norm": 3.654729127883911,
|
| 84 |
+
"learning_rate": 9.908649178354454e-05,
|
| 85 |
+
"loss": 0.751,
|
| 86 |
+
"step": 1100
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 0.64,
|
| 90 |
+
"grad_norm": 2.905059337615967,
|
| 91 |
+
"learning_rate": 9.871618537524881e-05,
|
| 92 |
+
"loss": 0.6975,
|
| 93 |
+
"step": 1200
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 0.6933333333333334,
|
| 97 |
+
"grad_norm": 4.096899032592773,
|
| 98 |
+
"learning_rate": 9.828396650946974e-05,
|
| 99 |
+
"loss": 0.689,
|
| 100 |
+
"step": 1300
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.7466666666666667,
|
| 104 |
+
"grad_norm": 5.100860595703125,
|
| 105 |
+
"learning_rate": 9.779038448480173e-05,
|
| 106 |
+
"loss": 0.6782,
|
| 107 |
+
"step": 1400
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 0.8,
|
| 111 |
+
"grad_norm": 5.342113018035889,
|
| 112 |
+
"learning_rate": 9.723606658509063e-05,
|
| 113 |
+
"loss": 0.6509,
|
| 114 |
+
"step": 1500
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 0.8533333333333334,
|
| 118 |
+
"grad_norm": 3.6632707118988037,
|
| 119 |
+
"learning_rate": 9.662171728223081e-05,
|
| 120 |
+
"loss": 0.6425,
|
| 121 |
+
"step": 1600
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 0.9066666666666666,
|
| 125 |
+
"grad_norm": 3.0369760990142822,
|
| 126 |
+
"learning_rate": 9.594811734086548e-05,
|
| 127 |
+
"loss": 0.6456,
|
| 128 |
+
"step": 1700
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 0.96,
|
| 132 |
+
"grad_norm": 4.97806453704834,
|
| 133 |
+
"learning_rate": 9.521612282612803e-05,
|
| 134 |
+
"loss": 0.6601,
|
| 135 |
+
"step": 1800
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 1.0,
|
| 139 |
+
"eval_accuracy": 0.8317,
|
| 140 |
+
"eval_loss": 0.5902224183082581,
|
| 141 |
+
"eval_macro_f1": 0.7341778006943732,
|
| 142 |
+
"eval_runtime": 437.5217,
|
| 143 |
+
"eval_samples_per_second": 22.856,
|
| 144 |
+
"eval_steps_per_second": 0.715,
|
| 145 |
+
"step": 1875
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
"logging_steps": 100,
|
| 149 |
+
"max_steps": 9375,
|
| 150 |
+
"num_input_tokens_seen": 0,
|
| 151 |
+
"num_train_epochs": 5,
|
| 152 |
+
"save_steps": 500,
|
| 153 |
+
"stateful_callbacks": {
|
| 154 |
+
"TrainerControl": {
|
| 155 |
+
"args": {
|
| 156 |
+
"should_epoch_stop": false,
|
| 157 |
+
"should_evaluate": false,
|
| 158 |
+
"should_log": false,
|
| 159 |
+
"should_save": true,
|
| 160 |
+
"should_training_stop": false
|
| 161 |
+
},
|
| 162 |
+
"attributes": {}
|
| 163 |
+
}
|
| 164 |
+
},
|
| 165 |
+
"total_flos": 3.936710002364006e+16,
|
| 166 |
+
"train_batch_size": 16,
|
| 167 |
+
"trial_name": null,
|
| 168 |
+
"trial_params": null
|
| 169 |
+
}
|
checkpoint-1875/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18be2ea0eb3d9400c09b51e632353826ed47ff8ae70a076cad1cc0cbac400c7d
|
| 3 |
+
size 5176
|
checkpoint-1875/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-3750/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: roberta-large
|
| 3 |
+
library_name: peft
|
| 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 |
+
|
| 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]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.12.0
|
checkpoint-3750/adapter_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "roberta-large",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": [
|
| 18 |
+
"classifier",
|
| 19 |
+
"classifier",
|
| 20 |
+
"score"
|
| 21 |
+
],
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"key",
|
| 28 |
+
"value",
|
| 29 |
+
"output.dense",
|
| 30 |
+
"intermediate.dense",
|
| 31 |
+
"query"
|
| 32 |
+
],
|
| 33 |
+
"task_type": "SEQ_CLS",
|
| 34 |
+
"use_dora": false,
|
| 35 |
+
"use_rslora": false
|
| 36 |
+
}
|
checkpoint-3750/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83492157040d80752bf4b71703faa808b11f0c5ee86bde7fbfebc94810402c9a
|
| 3 |
+
size 32962328
|
checkpoint-3750/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-3750/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48814f04bd35d08a46d3eb6668995ed587e41ba28ecfd071724c82ad9d55f5ac
|
| 3 |
+
size 66085050
|
checkpoint-3750/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b4f9108da3b8ebefbc583fe65375f9e90dfe2f92cc450a1a89addb86dc1a9ef
|
| 3 |
+
size 14244
|
checkpoint-3750/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e990c7f435260a3f7a7073eb871776183412cea47e6adc89d423ea41302f008e
|
| 3 |
+
size 1064
|
checkpoint-3750/special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
checkpoint-3750/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-3750/tokenizer_config.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": true,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"model_max_length": 512,
|
| 52 |
+
"pad_token": "<pad>",
|
| 53 |
+
"sep_token": "</s>",
|
| 54 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 55 |
+
"trim_offsets": true,
|
| 56 |
+
"unk_token": "<unk>"
|
| 57 |
+
}
|
checkpoint-3750/trainer_state.json
ADDED
|
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.7566410403530152,
|
| 3 |
+
"best_model_checkpoint": "./tc_roberta_ledgar_lora_v2/checkpoint-3750",
|
| 4 |
+
"epoch": 2.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 3750,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.05333333333333334,
|
| 13 |
+
"grad_norm": 10.646000862121582,
|
| 14 |
+
"learning_rate": 1.7761989342806394e-05,
|
| 15 |
+
"loss": 4.5715,
|
| 16 |
+
"step": 100
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.10666666666666667,
|
| 20 |
+
"grad_norm": 6.6032819747924805,
|
| 21 |
+
"learning_rate": 3.552397868561279e-05,
|
| 22 |
+
"loss": 4.1558,
|
| 23 |
+
"step": 200
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.16,
|
| 27 |
+
"grad_norm": 5.015078544616699,
|
| 28 |
+
"learning_rate": 5.3285968028419185e-05,
|
| 29 |
+
"loss": 2.8017,
|
| 30 |
+
"step": 300
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.21333333333333335,
|
| 34 |
+
"grad_norm": 7.0364670753479,
|
| 35 |
+
"learning_rate": 7.104795737122558e-05,
|
| 36 |
+
"loss": 1.6959,
|
| 37 |
+
"step": 400
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.26666666666666666,
|
| 41 |
+
"grad_norm": 4.8350419998168945,
|
| 42 |
+
"learning_rate": 8.880994671403198e-05,
|
| 43 |
+
"loss": 1.1395,
|
| 44 |
+
"step": 500
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.32,
|
| 48 |
+
"grad_norm": 6.103910446166992,
|
| 49 |
+
"learning_rate": 9.999565001331225e-05,
|
| 50 |
+
"loss": 0.9846,
|
| 51 |
+
"step": 600
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.37333333333333335,
|
| 55 |
+
"grad_norm": 6.555258274078369,
|
| 56 |
+
"learning_rate": 9.994037264113944e-05,
|
| 57 |
+
"loss": 0.8946,
|
| 58 |
+
"step": 700
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.4266666666666667,
|
| 62 |
+
"grad_norm": 6.398642539978027,
|
| 63 |
+
"learning_rate": 9.982162701557139e-05,
|
| 64 |
+
"loss": 0.7935,
|
| 65 |
+
"step": 800
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.48,
|
| 69 |
+
"grad_norm": 5.122348785400391,
|
| 70 |
+
"learning_rate": 9.963956404812623e-05,
|
| 71 |
+
"loss": 0.793,
|
| 72 |
+
"step": 900
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 0.5333333333333333,
|
| 76 |
+
"grad_norm": 5.0598368644714355,
|
| 77 |
+
"learning_rate": 9.939441511910694e-05,
|
| 78 |
+
"loss": 0.7565,
|
| 79 |
+
"step": 1000
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 0.5866666666666667,
|
| 83 |
+
"grad_norm": 3.654729127883911,
|
| 84 |
+
"learning_rate": 9.908649178354454e-05,
|
| 85 |
+
"loss": 0.751,
|
| 86 |
+
"step": 1100
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 0.64,
|
| 90 |
+
"grad_norm": 2.905059337615967,
|
| 91 |
+
"learning_rate": 9.871618537524881e-05,
|
| 92 |
+
"loss": 0.6975,
|
| 93 |
+
"step": 1200
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 0.6933333333333334,
|
| 97 |
+
"grad_norm": 4.096899032592773,
|
| 98 |
+
"learning_rate": 9.828396650946974e-05,
|
| 99 |
+
"loss": 0.689,
|
| 100 |
+
"step": 1300
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.7466666666666667,
|
| 104 |
+
"grad_norm": 5.100860595703125,
|
| 105 |
+
"learning_rate": 9.779038448480173e-05,
|
| 106 |
+
"loss": 0.6782,
|
| 107 |
+
"step": 1400
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 0.8,
|
| 111 |
+
"grad_norm": 5.342113018035889,
|
| 112 |
+
"learning_rate": 9.723606658509063e-05,
|
| 113 |
+
"loss": 0.6509,
|
| 114 |
+
"step": 1500
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 0.8533333333333334,
|
| 118 |
+
"grad_norm": 3.6632707118988037,
|
| 119 |
+
"learning_rate": 9.662171728223081e-05,
|
| 120 |
+
"loss": 0.6425,
|
| 121 |
+
"step": 1600
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 0.9066666666666666,
|
| 125 |
+
"grad_norm": 3.0369760990142822,
|
| 126 |
+
"learning_rate": 9.594811734086548e-05,
|
| 127 |
+
"loss": 0.6456,
|
| 128 |
+
"step": 1700
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 0.96,
|
| 132 |
+
"grad_norm": 4.97806453704834,
|
| 133 |
+
"learning_rate": 9.521612282612803e-05,
|
| 134 |
+
"loss": 0.6601,
|
| 135 |
+
"step": 1800
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 1.0,
|
| 139 |
+
"eval_accuracy": 0.8317,
|
| 140 |
+
"eval_loss": 0.5902224183082581,
|
| 141 |
+
"eval_macro_f1": 0.7341778006943732,
|
| 142 |
+
"eval_runtime": 437.5217,
|
| 143 |
+
"eval_samples_per_second": 22.856,
|
| 144 |
+
"eval_steps_per_second": 0.715,
|
| 145 |
+
"step": 1875
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 1.0133333333333334,
|
| 149 |
+
"grad_norm": 4.172771453857422,
|
| 150 |
+
"learning_rate": 9.442666401568534e-05,
|
| 151 |
+
"loss": 0.6399,
|
| 152 |
+
"step": 1900
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 1.0666666666666667,
|
| 156 |
+
"grad_norm": 5.650057792663574,
|
| 157 |
+
"learning_rate": 9.358074421746598e-05,
|
| 158 |
+
"loss": 0.6001,
|
| 159 |
+
"step": 2000
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 1.12,
|
| 163 |
+
"grad_norm": 3.94273042678833,
|
| 164 |
+
"learning_rate": 9.267943849457557e-05,
|
| 165 |
+
"loss": 0.576,
|
| 166 |
+
"step": 2100
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 1.1733333333333333,
|
| 170 |
+
"grad_norm": 3.331911325454712,
|
| 171 |
+
"learning_rate": 9.172389229901974e-05,
|
| 172 |
+
"loss": 0.5939,
|
| 173 |
+
"step": 2200
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"epoch": 1.2266666666666666,
|
| 177 |
+
"grad_norm": 3.3338027000427246,
|
| 178 |
+
"learning_rate": 9.071532001597156e-05,
|
| 179 |
+
"loss": 0.5522,
|
| 180 |
+
"step": 2300
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"epoch": 1.28,
|
| 184 |
+
"grad_norm": 3.442885160446167,
|
| 185 |
+
"learning_rate": 8.965500342043274e-05,
|
| 186 |
+
"loss": 0.5344,
|
| 187 |
+
"step": 2400
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"epoch": 1.3333333333333333,
|
| 191 |
+
"grad_norm": 3.6115713119506836,
|
| 192 |
+
"learning_rate": 8.854429004825062e-05,
|
| 193 |
+
"loss": 0.5329,
|
| 194 |
+
"step": 2500
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"epoch": 1.3866666666666667,
|
| 198 |
+
"grad_norm": 2.2793359756469727,
|
| 199 |
+
"learning_rate": 8.738459148356101e-05,
|
| 200 |
+
"loss": 0.5508,
|
| 201 |
+
"step": 2600
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 1.44,
|
| 205 |
+
"grad_norm": 4.802005767822266,
|
| 206 |
+
"learning_rate": 8.617738156483314e-05,
|
| 207 |
+
"loss": 0.552,
|
| 208 |
+
"step": 2700
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"epoch": 1.4933333333333334,
|
| 212 |
+
"grad_norm": 5.260004997253418,
|
| 213 |
+
"learning_rate": 8.492419451179685e-05,
|
| 214 |
+
"loss": 0.5146,
|
| 215 |
+
"step": 2800
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"epoch": 1.5466666666666666,
|
| 219 |
+
"grad_norm": 1.7511740922927856,
|
| 220 |
+
"learning_rate": 8.36266229756325e-05,
|
| 221 |
+
"loss": 0.541,
|
| 222 |
+
"step": 2900
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"epoch": 1.6,
|
| 226 |
+
"grad_norm": 4.835184097290039,
|
| 227 |
+
"learning_rate": 8.228631601490133e-05,
|
| 228 |
+
"loss": 0.5497,
|
| 229 |
+
"step": 3000
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"epoch": 1.6533333333333333,
|
| 233 |
+
"grad_norm": 3.9777235984802246,
|
| 234 |
+
"learning_rate": 8.090497699978887e-05,
|
| 235 |
+
"loss": 0.5387,
|
| 236 |
+
"step": 3100
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"epoch": 1.7066666666666666,
|
| 240 |
+
"grad_norm": 4.145409107208252,
|
| 241 |
+
"learning_rate": 7.948436144732472e-05,
|
| 242 |
+
"loss": 0.5404,
|
| 243 |
+
"step": 3200
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"epoch": 1.76,
|
| 247 |
+
"grad_norm": 5.38320255279541,
|
| 248 |
+
"learning_rate": 7.802627479032992e-05,
|
| 249 |
+
"loss": 0.5341,
|
| 250 |
+
"step": 3300
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"epoch": 1.8133333333333335,
|
| 254 |
+
"grad_norm": 4.600132942199707,
|
| 255 |
+
"learning_rate": 7.65325700829273e-05,
|
| 256 |
+
"loss": 0.5253,
|
| 257 |
+
"step": 3400
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"epoch": 1.8666666666666667,
|
| 261 |
+
"grad_norm": 3.0599677562713623,
|
| 262 |
+
"learning_rate": 7.500514564553084e-05,
|
| 263 |
+
"loss": 0.5523,
|
| 264 |
+
"step": 3500
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"epoch": 1.92,
|
| 268 |
+
"grad_norm": 5.470056056976318,
|
| 269 |
+
"learning_rate": 7.344594265230701e-05,
|
| 270 |
+
"loss": 0.5216,
|
| 271 |
+
"step": 3600
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"epoch": 1.9733333333333334,
|
| 275 |
+
"grad_norm": 3.4144089221954346,
|
| 276 |
+
"learning_rate": 7.185694266417408e-05,
|
| 277 |
+
"loss": 0.4931,
|
| 278 |
+
"step": 3700
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"epoch": 2.0,
|
| 282 |
+
"eval_accuracy": 0.851,
|
| 283 |
+
"eval_loss": 0.5207030773162842,
|
| 284 |
+
"eval_macro_f1": 0.7566410403530152,
|
| 285 |
+
"eval_runtime": 437.557,
|
| 286 |
+
"eval_samples_per_second": 22.854,
|
| 287 |
+
"eval_steps_per_second": 0.715,
|
| 288 |
+
"step": 3750
|
| 289 |
+
}
|
| 290 |
+
],
|
| 291 |
+
"logging_steps": 100,
|
| 292 |
+
"max_steps": 9375,
|
| 293 |
+
"num_input_tokens_seen": 0,
|
| 294 |
+
"num_train_epochs": 5,
|
| 295 |
+
"save_steps": 500,
|
| 296 |
+
"stateful_callbacks": {
|
| 297 |
+
"TrainerControl": {
|
| 298 |
+
"args": {
|
| 299 |
+
"should_epoch_stop": false,
|
| 300 |
+
"should_evaluate": false,
|
| 301 |
+
"should_log": false,
|
| 302 |
+
"should_save": true,
|
| 303 |
+
"should_training_stop": false
|
| 304 |
+
},
|
| 305 |
+
"attributes": {}
|
| 306 |
+
}
|
| 307 |
+
},
|
| 308 |
+
"total_flos": 7.879117263417754e+16,
|
| 309 |
+
"train_batch_size": 16,
|
| 310 |
+
"trial_name": null,
|
| 311 |
+
"trial_params": null
|
| 312 |
+
}
|
checkpoint-3750/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18be2ea0eb3d9400c09b51e632353826ed47ff8ae70a076cad1cc0cbac400c7d
|
| 3 |
+
size 5176
|
checkpoint-3750/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-5625/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: roberta-large
|
| 3 |
+
library_name: peft
|
| 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 |
+
|
| 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]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.12.0
|
checkpoint-5625/adapter_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "roberta-large",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": [
|
| 18 |
+
"classifier",
|
| 19 |
+
"classifier",
|
| 20 |
+
"score"
|
| 21 |
+
],
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"key",
|
| 28 |
+
"value",
|
| 29 |
+
"output.dense",
|
| 30 |
+
"intermediate.dense",
|
| 31 |
+
"query"
|
| 32 |
+
],
|
| 33 |
+
"task_type": "SEQ_CLS",
|
| 34 |
+
"use_dora": false,
|
| 35 |
+
"use_rslora": false
|
| 36 |
+
}
|
checkpoint-5625/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a840783475f155164e7dbd2287891d584641035ebe5a1c70beeb28d0f7462c8f
|
| 3 |
+
size 32962328
|
checkpoint-5625/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-5625/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f209f09a6f2e426cd543bada5bac3c84b139e7bef63368658d9bac77ed5c6ca9
|
| 3 |
+
size 66085050
|
checkpoint-5625/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a96eb1a09489a51eb58a808c0e28ec1ae469be5e2990e2e2da674aaa28669cd2
|
| 3 |
+
size 14244
|
checkpoint-5625/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c50f94388c01b54f1a342a2e9718481912b1bb121c4c40ba9de8ab6d65121cd
|
| 3 |
+
size 1064
|
checkpoint-5625/special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
checkpoint-5625/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-5625/tokenizer_config.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": true,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"model_max_length": 512,
|
| 52 |
+
"pad_token": "<pad>",
|
| 53 |
+
"sep_token": "</s>",
|
| 54 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 55 |
+
"trim_offsets": true,
|
| 56 |
+
"unk_token": "<unk>"
|
| 57 |
+
}
|
checkpoint-5625/trainer_state.json
ADDED
|
@@ -0,0 +1,455 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.7745073192895859,
|
| 3 |
+
"best_model_checkpoint": "./tc_roberta_ledgar_lora_v2/checkpoint-5625",
|
| 4 |
+
"epoch": 3.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 5625,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.05333333333333334,
|
| 13 |
+
"grad_norm": 10.646000862121582,
|
| 14 |
+
"learning_rate": 1.7761989342806394e-05,
|
| 15 |
+
"loss": 4.5715,
|
| 16 |
+
"step": 100
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.10666666666666667,
|
| 20 |
+
"grad_norm": 6.6032819747924805,
|
| 21 |
+
"learning_rate": 3.552397868561279e-05,
|
| 22 |
+
"loss": 4.1558,
|
| 23 |
+
"step": 200
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.16,
|
| 27 |
+
"grad_norm": 5.015078544616699,
|
| 28 |
+
"learning_rate": 5.3285968028419185e-05,
|
| 29 |
+
"loss": 2.8017,
|
| 30 |
+
"step": 300
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.21333333333333335,
|
| 34 |
+
"grad_norm": 7.0364670753479,
|
| 35 |
+
"learning_rate": 7.104795737122558e-05,
|
| 36 |
+
"loss": 1.6959,
|
| 37 |
+
"step": 400
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.26666666666666666,
|
| 41 |
+
"grad_norm": 4.8350419998168945,
|
| 42 |
+
"learning_rate": 8.880994671403198e-05,
|
| 43 |
+
"loss": 1.1395,
|
| 44 |
+
"step": 500
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.32,
|
| 48 |
+
"grad_norm": 6.103910446166992,
|
| 49 |
+
"learning_rate": 9.999565001331225e-05,
|
| 50 |
+
"loss": 0.9846,
|
| 51 |
+
"step": 600
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.37333333333333335,
|
| 55 |
+
"grad_norm": 6.555258274078369,
|
| 56 |
+
"learning_rate": 9.994037264113944e-05,
|
| 57 |
+
"loss": 0.8946,
|
| 58 |
+
"step": 700
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.4266666666666667,
|
| 62 |
+
"grad_norm": 6.398642539978027,
|
| 63 |
+
"learning_rate": 9.982162701557139e-05,
|
| 64 |
+
"loss": 0.7935,
|
| 65 |
+
"step": 800
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.48,
|
| 69 |
+
"grad_norm": 5.122348785400391,
|
| 70 |
+
"learning_rate": 9.963956404812623e-05,
|
| 71 |
+
"loss": 0.793,
|
| 72 |
+
"step": 900
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 0.5333333333333333,
|
| 76 |
+
"grad_norm": 5.0598368644714355,
|
| 77 |
+
"learning_rate": 9.939441511910694e-05,
|
| 78 |
+
"loss": 0.7565,
|
| 79 |
+
"step": 1000
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 0.5866666666666667,
|
| 83 |
+
"grad_norm": 3.654729127883911,
|
| 84 |
+
"learning_rate": 9.908649178354454e-05,
|
| 85 |
+
"loss": 0.751,
|
| 86 |
+
"step": 1100
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 0.64,
|
| 90 |
+
"grad_norm": 2.905059337615967,
|
| 91 |
+
"learning_rate": 9.871618537524881e-05,
|
| 92 |
+
"loss": 0.6975,
|
| 93 |
+
"step": 1200
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 0.6933333333333334,
|
| 97 |
+
"grad_norm": 4.096899032592773,
|
| 98 |
+
"learning_rate": 9.828396650946974e-05,
|
| 99 |
+
"loss": 0.689,
|
| 100 |
+
"step": 1300
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.7466666666666667,
|
| 104 |
+
"grad_norm": 5.100860595703125,
|
| 105 |
+
"learning_rate": 9.779038448480173e-05,
|
| 106 |
+
"loss": 0.6782,
|
| 107 |
+
"step": 1400
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 0.8,
|
| 111 |
+
"grad_norm": 5.342113018035889,
|
| 112 |
+
"learning_rate": 9.723606658509063e-05,
|
| 113 |
+
"loss": 0.6509,
|
| 114 |
+
"step": 1500
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 0.8533333333333334,
|
| 118 |
+
"grad_norm": 3.6632707118988037,
|
| 119 |
+
"learning_rate": 9.662171728223081e-05,
|
| 120 |
+
"loss": 0.6425,
|
| 121 |
+
"step": 1600
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 0.9066666666666666,
|
| 125 |
+
"grad_norm": 3.0369760990142822,
|
| 126 |
+
"learning_rate": 9.594811734086548e-05,
|
| 127 |
+
"loss": 0.6456,
|
| 128 |
+
"step": 1700
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 0.96,
|
| 132 |
+
"grad_norm": 4.97806453704834,
|
| 133 |
+
"learning_rate": 9.521612282612803e-05,
|
| 134 |
+
"loss": 0.6601,
|
| 135 |
+
"step": 1800
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 1.0,
|
| 139 |
+
"eval_accuracy": 0.8317,
|
| 140 |
+
"eval_loss": 0.5902224183082581,
|
| 141 |
+
"eval_macro_f1": 0.7341778006943732,
|
| 142 |
+
"eval_runtime": 437.5217,
|
| 143 |
+
"eval_samples_per_second": 22.856,
|
| 144 |
+
"eval_steps_per_second": 0.715,
|
| 145 |
+
"step": 1875
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 1.0133333333333334,
|
| 149 |
+
"grad_norm": 4.172771453857422,
|
| 150 |
+
"learning_rate": 9.442666401568534e-05,
|
| 151 |
+
"loss": 0.6399,
|
| 152 |
+
"step": 1900
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 1.0666666666666667,
|
| 156 |
+
"grad_norm": 5.650057792663574,
|
| 157 |
+
"learning_rate": 9.358074421746598e-05,
|
| 158 |
+
"loss": 0.6001,
|
| 159 |
+
"step": 2000
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 1.12,
|
| 163 |
+
"grad_norm": 3.94273042678833,
|
| 164 |
+
"learning_rate": 9.267943849457557e-05,
|
| 165 |
+
"loss": 0.576,
|
| 166 |
+
"step": 2100
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 1.1733333333333333,
|
| 170 |
+
"grad_norm": 3.331911325454712,
|
| 171 |
+
"learning_rate": 9.172389229901974e-05,
|
| 172 |
+
"loss": 0.5939,
|
| 173 |
+
"step": 2200
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"epoch": 1.2266666666666666,
|
| 177 |
+
"grad_norm": 3.3338027000427246,
|
| 178 |
+
"learning_rate": 9.071532001597156e-05,
|
| 179 |
+
"loss": 0.5522,
|
| 180 |
+
"step": 2300
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"epoch": 1.28,
|
| 184 |
+
"grad_norm": 3.442885160446167,
|
| 185 |
+
"learning_rate": 8.965500342043274e-05,
|
| 186 |
+
"loss": 0.5344,
|
| 187 |
+
"step": 2400
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"epoch": 1.3333333333333333,
|
| 191 |
+
"grad_norm": 3.6115713119506836,
|
| 192 |
+
"learning_rate": 8.854429004825062e-05,
|
| 193 |
+
"loss": 0.5329,
|
| 194 |
+
"step": 2500
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"epoch": 1.3866666666666667,
|
| 198 |
+
"grad_norm": 2.2793359756469727,
|
| 199 |
+
"learning_rate": 8.738459148356101e-05,
|
| 200 |
+
"loss": 0.5508,
|
| 201 |
+
"step": 2600
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 1.44,
|
| 205 |
+
"grad_norm": 4.802005767822266,
|
| 206 |
+
"learning_rate": 8.617738156483314e-05,
|
| 207 |
+
"loss": 0.552,
|
| 208 |
+
"step": 2700
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"epoch": 1.4933333333333334,
|
| 212 |
+
"grad_norm": 5.260004997253418,
|
| 213 |
+
"learning_rate": 8.492419451179685e-05,
|
| 214 |
+
"loss": 0.5146,
|
| 215 |
+
"step": 2800
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"epoch": 1.5466666666666666,
|
| 219 |
+
"grad_norm": 1.7511740922927856,
|
| 220 |
+
"learning_rate": 8.36266229756325e-05,
|
| 221 |
+
"loss": 0.541,
|
| 222 |
+
"step": 2900
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"epoch": 1.6,
|
| 226 |
+
"grad_norm": 4.835184097290039,
|
| 227 |
+
"learning_rate": 8.228631601490133e-05,
|
| 228 |
+
"loss": 0.5497,
|
| 229 |
+
"step": 3000
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"epoch": 1.6533333333333333,
|
| 233 |
+
"grad_norm": 3.9777235984802246,
|
| 234 |
+
"learning_rate": 8.090497699978887e-05,
|
| 235 |
+
"loss": 0.5387,
|
| 236 |
+
"step": 3100
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"epoch": 1.7066666666666666,
|
| 240 |
+
"grad_norm": 4.145409107208252,
|
| 241 |
+
"learning_rate": 7.948436144732472e-05,
|
| 242 |
+
"loss": 0.5404,
|
| 243 |
+
"step": 3200
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"epoch": 1.76,
|
| 247 |
+
"grad_norm": 5.38320255279541,
|
| 248 |
+
"learning_rate": 7.802627479032992e-05,
|
| 249 |
+
"loss": 0.5341,
|
| 250 |
+
"step": 3300
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"epoch": 1.8133333333333335,
|
| 254 |
+
"grad_norm": 4.600132942199707,
|
| 255 |
+
"learning_rate": 7.65325700829273e-05,
|
| 256 |
+
"loss": 0.5253,
|
| 257 |
+
"step": 3400
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"epoch": 1.8666666666666667,
|
| 261 |
+
"grad_norm": 3.0599677562713623,
|
| 262 |
+
"learning_rate": 7.500514564553084e-05,
|
| 263 |
+
"loss": 0.5523,
|
| 264 |
+
"step": 3500
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"epoch": 1.92,
|
| 268 |
+
"grad_norm": 5.470056056976318,
|
| 269 |
+
"learning_rate": 7.344594265230701e-05,
|
| 270 |
+
"loss": 0.5216,
|
| 271 |
+
"step": 3600
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"epoch": 1.9733333333333334,
|
| 275 |
+
"grad_norm": 3.4144089221954346,
|
| 276 |
+
"learning_rate": 7.185694266417408e-05,
|
| 277 |
+
"loss": 0.4931,
|
| 278 |
+
"step": 3700
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"epoch": 2.0,
|
| 282 |
+
"eval_accuracy": 0.851,
|
| 283 |
+
"eval_loss": 0.5207030773162842,
|
| 284 |
+
"eval_macro_f1": 0.7566410403530152,
|
| 285 |
+
"eval_runtime": 437.557,
|
| 286 |
+
"eval_samples_per_second": 22.854,
|
| 287 |
+
"eval_steps_per_second": 0.715,
|
| 288 |
+
"step": 3750
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"epoch": 2.026666666666667,
|
| 292 |
+
"grad_norm": 3.020866870880127,
|
| 293 |
+
"learning_rate": 7.024016511047464e-05,
|
| 294 |
+
"loss": 0.4712,
|
| 295 |
+
"step": 3800
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"epoch": 2.08,
|
| 299 |
+
"grad_norm": 6.192739486694336,
|
| 300 |
+
"learning_rate": 6.859766472252193e-05,
|
| 301 |
+
"loss": 0.4314,
|
| 302 |
+
"step": 3900
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"epoch": 2.1333333333333333,
|
| 306 |
+
"grad_norm": 3.5494303703308105,
|
| 307 |
+
"learning_rate": 6.693152892228168e-05,
|
| 308 |
+
"loss": 0.4736,
|
| 309 |
+
"step": 4000
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"epoch": 2.1866666666666665,
|
| 313 |
+
"grad_norm": 3.1296679973602295,
|
| 314 |
+
"learning_rate": 6.524387516950768e-05,
|
| 315 |
+
"loss": 0.4395,
|
| 316 |
+
"step": 4100
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"epoch": 2.24,
|
| 320 |
+
"grad_norm": 3.564858913421631,
|
| 321 |
+
"learning_rate": 6.353684827070339e-05,
|
| 322 |
+
"loss": 0.4291,
|
| 323 |
+
"step": 4200
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"epoch": 2.2933333333333334,
|
| 327 |
+
"grad_norm": 2.8575546741485596,
|
| 328 |
+
"learning_rate": 6.181261765332872e-05,
|
| 329 |
+
"loss": 0.4209,
|
| 330 |
+
"step": 4300
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"epoch": 2.3466666666666667,
|
| 334 |
+
"grad_norm": 5.188271999359131,
|
| 335 |
+
"learning_rate": 6.007337460871666e-05,
|
| 336 |
+
"loss": 0.4664,
|
| 337 |
+
"step": 4400
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"epoch": 2.4,
|
| 341 |
+
"grad_norm": 2.8347561359405518,
|
| 342 |
+
"learning_rate": 5.832132950720357e-05,
|
| 343 |
+
"loss": 0.4596,
|
| 344 |
+
"step": 4500
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"epoch": 2.453333333333333,
|
| 348 |
+
"grad_norm": 3.6415882110595703,
|
| 349 |
+
"learning_rate": 5.6558708989012196e-05,
|
| 350 |
+
"loss": 0.4261,
|
| 351 |
+
"step": 4600
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"epoch": 2.506666666666667,
|
| 355 |
+
"grad_norm": 3.578502893447876,
|
| 356 |
+
"learning_rate": 5.4787753134457775e-05,
|
| 357 |
+
"loss": 0.428,
|
| 358 |
+
"step": 4700
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"epoch": 2.56,
|
| 362 |
+
"grad_norm": 4.507837295532227,
|
| 363 |
+
"learning_rate": 5.301071261707322e-05,
|
| 364 |
+
"loss": 0.4474,
|
| 365 |
+
"step": 4800
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"epoch": 2.6133333333333333,
|
| 369 |
+
"grad_norm": 5.312231540679932,
|
| 370 |
+
"learning_rate": 5.1229845843271774e-05,
|
| 371 |
+
"loss": 0.4236,
|
| 372 |
+
"step": 4900
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"epoch": 2.6666666666666665,
|
| 376 |
+
"grad_norm": 3.6730709075927734,
|
| 377 |
+
"learning_rate": 4.944741608218189e-05,
|
| 378 |
+
"loss": 0.46,
|
| 379 |
+
"step": 5000
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"epoch": 2.7199999999999998,
|
| 383 |
+
"grad_norm": 3.846958637237549,
|
| 384 |
+
"learning_rate": 4.7665688589302337e-05,
|
| 385 |
+
"loss": 0.4552,
|
| 386 |
+
"step": 5100
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"epoch": 2.7733333333333334,
|
| 390 |
+
"grad_norm": 3.6105239391326904,
|
| 391 |
+
"learning_rate": 4.5886927727632815e-05,
|
| 392 |
+
"loss": 0.4256,
|
| 393 |
+
"step": 5200
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"epoch": 2.8266666666666667,
|
| 397 |
+
"grad_norm": 3.2457873821258545,
|
| 398 |
+
"learning_rate": 4.4113394089938806e-05,
|
| 399 |
+
"loss": 0.4394,
|
| 400 |
+
"step": 5300
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"epoch": 2.88,
|
| 404 |
+
"grad_norm": 3.628878593444824,
|
| 405 |
+
"learning_rate": 4.234734162580795e-05,
|
| 406 |
+
"loss": 0.4428,
|
| 407 |
+
"step": 5400
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"epoch": 2.9333333333333336,
|
| 411 |
+
"grad_norm": 3.633319854736328,
|
| 412 |
+
"learning_rate": 4.059101477714921e-05,
|
| 413 |
+
"loss": 0.4462,
|
| 414 |
+
"step": 5500
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"epoch": 2.986666666666667,
|
| 418 |
+
"grad_norm": 3.172325849533081,
|
| 419 |
+
"learning_rate": 3.88466456257749e-05,
|
| 420 |
+
"loss": 0.4115,
|
| 421 |
+
"step": 5600
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"epoch": 3.0,
|
| 425 |
+
"eval_accuracy": 0.8584,
|
| 426 |
+
"eval_loss": 0.4905270040035248,
|
| 427 |
+
"eval_macro_f1": 0.7745073192895859,
|
| 428 |
+
"eval_runtime": 437.609,
|
| 429 |
+
"eval_samples_per_second": 22.851,
|
| 430 |
+
"eval_steps_per_second": 0.715,
|
| 431 |
+
"step": 5625
|
| 432 |
+
}
|
| 433 |
+
],
|
| 434 |
+
"logging_steps": 100,
|
| 435 |
+
"max_steps": 9375,
|
| 436 |
+
"num_input_tokens_seen": 0,
|
| 437 |
+
"num_train_epochs": 5,
|
| 438 |
+
"save_steps": 500,
|
| 439 |
+
"stateful_callbacks": {
|
| 440 |
+
"TrainerControl": {
|
| 441 |
+
"args": {
|
| 442 |
+
"should_epoch_stop": false,
|
| 443 |
+
"should_evaluate": false,
|
| 444 |
+
"should_log": false,
|
| 445 |
+
"should_save": true,
|
| 446 |
+
"should_training_stop": false
|
| 447 |
+
},
|
| 448 |
+
"attributes": {}
|
| 449 |
+
}
|
| 450 |
+
},
|
| 451 |
+
"total_flos": 1.1810704520573338e+17,
|
| 452 |
+
"train_batch_size": 16,
|
| 453 |
+
"trial_name": null,
|
| 454 |
+
"trial_params": null
|
| 455 |
+
}
|
checkpoint-5625/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18be2ea0eb3d9400c09b51e632353826ed47ff8ae70a076cad1cc0cbac400c7d
|
| 3 |
+
size 5176
|
checkpoint-5625/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-7500/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: roberta-large
|
| 3 |
+
library_name: peft
|
| 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 |
+
|
| 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]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.12.0
|
checkpoint-7500/adapter_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "roberta-large",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": [
|
| 18 |
+
"classifier",
|
| 19 |
+
"classifier",
|
| 20 |
+
"score"
|
| 21 |
+
],
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"key",
|
| 28 |
+
"value",
|
| 29 |
+
"output.dense",
|
| 30 |
+
"intermediate.dense",
|
| 31 |
+
"query"
|
| 32 |
+
],
|
| 33 |
+
"task_type": "SEQ_CLS",
|
| 34 |
+
"use_dora": false,
|
| 35 |
+
"use_rslora": false
|
| 36 |
+
}
|
checkpoint-7500/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fc2e774718d55d509855a365d7d94c4bed6d440d662af251fd888b94eb57536
|
| 3 |
+
size 32962328
|
checkpoint-7500/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-7500/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7417605e76ae019351fa1e3fdd3263753f06e376b82f0a502d46a3313fee1bb4
|
| 3 |
+
size 66085050
|
checkpoint-7500/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce2afd1de648f54b1eca8e74924789c771766a676748743853034ceaa3304949
|
| 3 |
+
size 14244
|
checkpoint-7500/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b964f7caaad143747db848e702280ab628449e59e42f9ec880b68c45ccc30fe
|
| 3 |
+
size 1064
|
checkpoint-7500/special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|