初始化项目,由ModelHub XC社区提供模型
Model: NastasiaM/mbert-loraxs-qa-vanilla Source: Original Platform
This commit is contained in:
206
run-2/checkpoint-3804/README.md
Normal file
206
run-2/checkpoint-3804/README.md
Normal file
@@ -0,0 +1,206 @@
|
||||
---
|
||||
base_model: bert-base-multilingual-cased
|
||||
library_name: peft
|
||||
tags:
|
||||
- base_model:adapter:bert-base-multilingual-cased
|
||||
- lora
|
||||
- transformers
|
||||
---
|
||||
|
||||
# Model Card for Model ID
|
||||
|
||||
<!-- Provide a quick summary of what the model is/does. -->
|
||||
|
||||
|
||||
|
||||
## Model Details
|
||||
|
||||
### Model Description
|
||||
|
||||
<!-- Provide a longer summary of what this model is. -->
|
||||
|
||||
|
||||
|
||||
- **Developed by:** [More Information Needed]
|
||||
- **Funded by [optional]:** [More Information Needed]
|
||||
- **Shared by [optional]:** [More Information Needed]
|
||||
- **Model type:** [More Information Needed]
|
||||
- **Language(s) (NLP):** [More Information Needed]
|
||||
- **License:** [More Information Needed]
|
||||
- **Finetuned from model [optional]:** [More Information Needed]
|
||||
|
||||
### Model Sources [optional]
|
||||
|
||||
<!-- Provide the basic links for the model. -->
|
||||
|
||||
- **Repository:** [More Information Needed]
|
||||
- **Paper [optional]:** [More Information Needed]
|
||||
- **Demo [optional]:** [More Information Needed]
|
||||
|
||||
## Uses
|
||||
|
||||
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
||||
|
||||
### Direct Use
|
||||
|
||||
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Downstream Use [optional]
|
||||
|
||||
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Out-of-Scope Use
|
||||
|
||||
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Bias, Risks, and Limitations
|
||||
|
||||
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Recommendations
|
||||
|
||||
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
||||
|
||||
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
||||
|
||||
## How to Get Started with the Model
|
||||
|
||||
Use the code below to get started with the model.
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Training Details
|
||||
|
||||
### Training Data
|
||||
|
||||
<!-- 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. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Training Procedure
|
||||
|
||||
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
||||
|
||||
#### Preprocessing [optional]
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
|
||||
#### Training Hyperparameters
|
||||
|
||||
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
||||
|
||||
#### Speeds, Sizes, Times [optional]
|
||||
|
||||
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Evaluation
|
||||
|
||||
<!-- This section describes the evaluation protocols and provides the results. -->
|
||||
|
||||
### Testing Data, Factors & Metrics
|
||||
|
||||
#### Testing Data
|
||||
|
||||
<!-- This should link to a Dataset Card if possible. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Factors
|
||||
|
||||
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Metrics
|
||||
|
||||
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Results
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Summary
|
||||
|
||||
|
||||
|
||||
## Model Examination [optional]
|
||||
|
||||
<!-- Relevant interpretability work for the model goes here -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Environmental Impact
|
||||
|
||||
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
||||
|
||||
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).
|
||||
|
||||
- **Hardware Type:** [More Information Needed]
|
||||
- **Hours used:** [More Information Needed]
|
||||
- **Cloud Provider:** [More Information Needed]
|
||||
- **Compute Region:** [More Information Needed]
|
||||
- **Carbon Emitted:** [More Information Needed]
|
||||
|
||||
## Technical Specifications [optional]
|
||||
|
||||
### Model Architecture and Objective
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
### Compute Infrastructure
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Hardware
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
#### Software
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Citation [optional]
|
||||
|
||||
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
||||
|
||||
**BibTeX:**
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
**APA:**
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Glossary [optional]
|
||||
|
||||
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## More Information [optional]
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Model Card Authors [optional]
|
||||
|
||||
[More Information Needed]
|
||||
|
||||
## Model Card Contact
|
||||
|
||||
[More Information Needed]
|
||||
### Framework versions
|
||||
|
||||
- PEFT 0.19.1
|
||||
47
run-2/checkpoint-3804/adapter_config.json
Normal file
47
run-2/checkpoint-3804/adapter_config.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"alora_invocation_tokens": null,
|
||||
"alpha_pattern": {},
|
||||
"arrow_config": null,
|
||||
"auto_mapping": null,
|
||||
"base_model_name_or_path": "bert-base-multilingual-cased",
|
||||
"bias": "none",
|
||||
"corda_config": null,
|
||||
"ensure_weight_tying": false,
|
||||
"eva_config": null,
|
||||
"exclude_modules": null,
|
||||
"fan_in_fan_out": false,
|
||||
"inference_mode": true,
|
||||
"init_lora_weights": true,
|
||||
"layer_replication": null,
|
||||
"layers_pattern": null,
|
||||
"layers_to_transform": null,
|
||||
"loftq_config": {},
|
||||
"lora_alpha": 64,
|
||||
"lora_bias": false,
|
||||
"lora_dropout": 0.0985087648472941,
|
||||
"lora_ga_config": null,
|
||||
"megatron_config": null,
|
||||
"megatron_core": "megatron.core",
|
||||
"modules_to_save": [
|
||||
"qa_outputs"
|
||||
],
|
||||
"peft_type": "LORA",
|
||||
"peft_version": "0.19.1",
|
||||
"qalora_group_size": 16,
|
||||
"r": 256,
|
||||
"rank_pattern": {},
|
||||
"revision": null,
|
||||
"target_modules": [
|
||||
"dense",
|
||||
"query",
|
||||
"key",
|
||||
"value"
|
||||
],
|
||||
"target_parameters": null,
|
||||
"task_type": "QUESTION_ANS",
|
||||
"trainable_token_indices": null,
|
||||
"use_bdlora": null,
|
||||
"use_dora": false,
|
||||
"use_qalora": false,
|
||||
"use_rslora": false
|
||||
}
|
||||
3
run-2/checkpoint-3804/adapter_model.safetensors
Normal file
3
run-2/checkpoint-3804/adapter_model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd6464f1e2b9188dd4c7e3aad3477a57d70d1bc99b529c4893dde6bc30b448e2
|
||||
size 188782560
|
||||
3
run-2/checkpoint-3804/optimizer.pt
Normal file
3
run-2/checkpoint-3804/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:595b1fa8bedcd38ff86885d088c2530830f249ffa7d8ad97b478af5705689eea
|
||||
size 37825419
|
||||
3
run-2/checkpoint-3804/rng_state.pth
Normal file
3
run-2/checkpoint-3804/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b798e462ffaea925d4b6cd04166cc4b87fc6b72b11a756081e2c914414af67ae
|
||||
size 14645
|
||||
3
run-2/checkpoint-3804/scaler.pt
Normal file
3
run-2/checkpoint-3804/scaler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39a3351e3177bae39bd43c9d68f5f4b6443613704d041fb7bf411151ca146eb7
|
||||
size 1383
|
||||
3
run-2/checkpoint-3804/scheduler.pt
Normal file
3
run-2/checkpoint-3804/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1808cce12b41b460a9647b9323916f2caedaa9a54b9f0f16bc382474dd66211e
|
||||
size 1465
|
||||
119711
run-2/checkpoint-3804/tokenizer.json
Normal file
119711
run-2/checkpoint-3804/tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
15
run-2/checkpoint-3804/tokenizer_config.json
Normal file
15
run-2/checkpoint-3804/tokenizer_config.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"backend": "tokenizers",
|
||||
"cls_token": "[CLS]",
|
||||
"do_lower_case": false,
|
||||
"is_local": false,
|
||||
"local_files_only": false,
|
||||
"mask_token": "[MASK]",
|
||||
"model_max_length": 512,
|
||||
"pad_token": "[PAD]",
|
||||
"sep_token": "[SEP]",
|
||||
"strip_accents": null,
|
||||
"tokenize_chinese_chars": true,
|
||||
"tokenizer_class": "BertTokenizer",
|
||||
"unk_token": "[UNK]"
|
||||
}
|
||||
143
run-2/checkpoint-3804/trainer_state.json
Normal file
143
run-2/checkpoint-3804/trainer_state.json
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"best_global_step": 3170,
|
||||
"best_metric": 76.40383058119879,
|
||||
"best_model_checkpoint": "mbert-loraxs-qa-vanilla/run-2/checkpoint-3170",
|
||||
"epoch": 6.0,
|
||||
"eval_steps": 500,
|
||||
"global_step": 3804,
|
||||
"is_hyper_param_search": true,
|
||||
"is_local_process_zero": true,
|
||||
"is_world_process_zero": true,
|
||||
"log_history": [
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"grad_norm": 7.677847385406494,
|
||||
"learning_rate": 0.0002951562058189359,
|
||||
"loss": 3.075869587317626,
|
||||
"step": 634
|
||||
},
|
||||
{
|
||||
"epoch": 1.0,
|
||||
"eval_exact_match": 56.24,
|
||||
"eval_f1": 70.50074993342362,
|
||||
"eval_loss": 1.4242188930511475,
|
||||
"eval_runtime": 7.8142,
|
||||
"eval_samples_per_second": 161.884,
|
||||
"eval_steps_per_second": 10.238,
|
||||
"step": 634
|
||||
},
|
||||
{
|
||||
"epoch": 2.0,
|
||||
"grad_norm": 5.153384208679199,
|
||||
"learning_rate": 0.00023614358062524137,
|
||||
"loss": 1.4205032493037757,
|
||||
"step": 1268
|
||||
},
|
||||
{
|
||||
"epoch": 2.0,
|
||||
"eval_exact_match": 59.52,
|
||||
"eval_f1": 73.18016605585976,
|
||||
"eval_loss": 1.3157330751419067,
|
||||
"eval_runtime": 7.7666,
|
||||
"eval_samples_per_second": 162.876,
|
||||
"eval_steps_per_second": 10.3,
|
||||
"step": 1268
|
||||
},
|
||||
{
|
||||
"epoch": 3.0,
|
||||
"grad_norm": 2.3754422664642334,
|
||||
"learning_rate": 0.00017713095543154682,
|
||||
"loss": 1.1290527728829851,
|
||||
"step": 1902
|
||||
},
|
||||
{
|
||||
"epoch": 3.0,
|
||||
"eval_exact_match": 60.24,
|
||||
"eval_f1": 74.7400274785974,
|
||||
"eval_loss": 1.2541390657424927,
|
||||
"eval_runtime": 7.8554,
|
||||
"eval_samples_per_second": 161.037,
|
||||
"eval_steps_per_second": 10.184,
|
||||
"step": 1902
|
||||
},
|
||||
{
|
||||
"epoch": 4.0,
|
||||
"grad_norm": 4.145329475402832,
|
||||
"learning_rate": 0.0001181183302378523,
|
||||
"loss": 0.9462081957314669,
|
||||
"step": 2536
|
||||
},
|
||||
{
|
||||
"epoch": 4.0,
|
||||
"eval_exact_match": 62.32,
|
||||
"eval_f1": 75.6887175752577,
|
||||
"eval_loss": 1.28548264503479,
|
||||
"eval_runtime": 7.7663,
|
||||
"eval_samples_per_second": 162.882,
|
||||
"eval_steps_per_second": 10.301,
|
||||
"step": 2536
|
||||
},
|
||||
{
|
||||
"epoch": 5.0,
|
||||
"grad_norm": 6.123648166656494,
|
||||
"learning_rate": 5.9105705044157765e-05,
|
||||
"loss": 0.8173495030929614,
|
||||
"step": 3170
|
||||
},
|
||||
{
|
||||
"epoch": 5.0,
|
||||
"eval_exact_match": 62.48,
|
||||
"eval_f1": 76.40383058119879,
|
||||
"eval_loss": 1.3368667364120483,
|
||||
"eval_runtime": 7.787,
|
||||
"eval_samples_per_second": 162.449,
|
||||
"eval_steps_per_second": 10.273,
|
||||
"step": 3170
|
||||
},
|
||||
{
|
||||
"epoch": 6.0,
|
||||
"grad_norm": 3.7261476516723633,
|
||||
"learning_rate": 9.307985046324058e-08,
|
||||
"loss": 0.7344131710401469,
|
||||
"step": 3804
|
||||
},
|
||||
{
|
||||
"epoch": 6.0,
|
||||
"eval_exact_match": 62.16,
|
||||
"eval_f1": 76.11426067398186,
|
||||
"eval_loss": 1.385920524597168,
|
||||
"eval_runtime": 7.7794,
|
||||
"eval_samples_per_second": 162.61,
|
||||
"eval_steps_per_second": 10.284,
|
||||
"step": 3804
|
||||
}
|
||||
],
|
||||
"logging_steps": 500,
|
||||
"max_steps": 3804,
|
||||
"num_input_tokens_seen": 0,
|
||||
"num_train_epochs": 6,
|
||||
"save_steps": 500,
|
||||
"stateful_callbacks": {
|
||||
"TrainerControl": {
|
||||
"args": {
|
||||
"should_epoch_stop": false,
|
||||
"should_evaluate": false,
|
||||
"should_log": false,
|
||||
"should_save": true,
|
||||
"should_training_stop": true
|
||||
},
|
||||
"attributes": {}
|
||||
}
|
||||
},
|
||||
"total_flos": 1.854297438697267e+16,
|
||||
"train_batch_size": 16,
|
||||
"trial_name": null,
|
||||
"trial_params": {
|
||||
"learning_rate": 0.0003186123281356725,
|
||||
"lora_alpha": 64,
|
||||
"lora_dropout": 0.0985087648472941,
|
||||
"lora_r": 256,
|
||||
"num_train_epochs": 6,
|
||||
"weight_decay": 0.08602299412879012
|
||||
}
|
||||
}
|
||||
3
run-2/checkpoint-3804/training_args.bin
Normal file
3
run-2/checkpoint-3804/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:065954e76ac5669a4e744a3128265fcfd9591164f60fc834f69161d482c795b7
|
||||
size 5201
|
||||
Reference in New Issue
Block a user