初始化项目,由ModelHub XC社区提供模型

Model: NastasiaM/mbert-loraxs-qa-vanilla
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-10 00:18:47 +08:00
commit d696db249d
795 changed files with 8285474 additions and 0 deletions

View 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

View 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.007091286682386649,
"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
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0bc92187194e00b3e379ac62e17bcf6cb08066a3aa49bde25311082669a762bd
size 188782560

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af28706603b58059ce14dbef7cc2f04f81f50c9bc14f8911657f25d762ea2e34
size 37825419

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f01dad392b3a1f2caec7a150c0544b65d0c0fe57c3641a2898fab06e1a44d28
size 14645

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4990c7837fa61b2e63ca78e00d95a21edeb582437b938fc80df3de73df77d595
size 1383

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c52a7172e310cdbae13276e1dae22389c307605b3fe08c7774dda89a65bc739
size 1465

File diff suppressed because it is too large Load Diff

View 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]"
}

View File

@@ -0,0 +1,75 @@
{
"best_global_step": 1268,
"best_metric": 73.91639681478482,
"best_model_checkpoint": "mbert-loraxs-qa-vanilla/run-14/checkpoint-1268",
"epoch": 2.0,
"eval_steps": 500,
"global_step": 1268,
"is_hyper_param_search": true,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 4.179904460906982,
"learning_rate": 0.00025183820996153036,
"loss": 3.0449813698368495,
"step": 634
},
{
"epoch": 1.0,
"eval_exact_match": 55.76,
"eval_f1": 70.60123748438602,
"eval_loss": 1.4089006185531616,
"eval_runtime": 7.7514,
"eval_samples_per_second": 163.197,
"eval_steps_per_second": 10.321,
"step": 634
},
{
"epoch": 2.0,
"grad_norm": 5.116003036499023,
"learning_rate": 0.00018890347400740728,
"loss": 1.3749292415775336,
"step": 1268
},
{
"epoch": 2.0,
"eval_exact_match": 59.2,
"eval_f1": 73.91639681478482,
"eval_loss": 1.304753065109253,
"eval_runtime": 7.7166,
"eval_samples_per_second": 163.932,
"eval_steps_per_second": 10.367,
"step": 1268
}
],
"logging_steps": 500,
"max_steps": 3170,
"num_input_tokens_seen": 0,
"num_train_epochs": 5,
"save_steps": 500,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 6180991462324224.0,
"train_batch_size": 16,
"trial_name": null,
"trial_params": {
"learning_rate": 0.00028320631179355385,
"lora_alpha": 64,
"lora_dropout": 0.007091286682386649,
"lora_r": 256,
"num_train_epochs": 5,
"weight_decay": 0.03343443262877938
}
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6b5542ca1c0a1ba9ee9d7c5d000e603bcdeb3cdc72cf144b3d22fad52b76f22
size 5201

View 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

View 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.007091286682386649,
"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
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7c190b8dccb4732f7f913f790af87fd89e3b98d1b7bc2ea62ea5f234b5c67f8
size 188782560

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26ff5604ce5cf149791d96754bf8bf97db88f02e8788060faee476cf0c5fbea5
size 37825419

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b5c85b79750292a86019f23d8a4855efba908daabcdca29827bf7211ca150be
size 14645

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00a9d243dd1642fdda05d571b569759bcdedafccf20291ff236e4fc0f24bd4ce
size 1383

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8947b1a84a6274c8b7755ecb81e7ce694879fab95a0fc1ea7d96ee9cabedcf2
size 1465

File diff suppressed because it is too large Load Diff

View 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]"
}

View File

@@ -0,0 +1,109 @@
{
"best_global_step": 2536,
"best_metric": 76.26906549535173,
"best_model_checkpoint": "mbert-loraxs-qa-vanilla/run-14/checkpoint-2536",
"epoch": 4.0,
"eval_steps": 500,
"global_step": 2536,
"is_hyper_param_search": true,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 4.179904460906982,
"learning_rate": 0.00025183820996153036,
"loss": 3.0449813698368495,
"step": 634
},
{
"epoch": 1.0,
"eval_exact_match": 55.76,
"eval_f1": 70.60123748438602,
"eval_loss": 1.4089006185531616,
"eval_runtime": 7.7514,
"eval_samples_per_second": 163.197,
"eval_steps_per_second": 10.321,
"step": 634
},
{
"epoch": 2.0,
"grad_norm": 5.116003036499023,
"learning_rate": 0.00018890347400740728,
"loss": 1.3749292415775336,
"step": 1268
},
{
"epoch": 2.0,
"eval_exact_match": 59.2,
"eval_f1": 73.91639681478482,
"eval_loss": 1.304753065109253,
"eval_runtime": 7.7166,
"eval_samples_per_second": 163.932,
"eval_steps_per_second": 10.367,
"step": 1268
},
{
"epoch": 3.0,
"grad_norm": 2.986513376235962,
"learning_rate": 0.00012596873805328422,
"loss": 1.0913604832598087,
"step": 1902
},
{
"epoch": 3.0,
"eval_exact_match": 61.52,
"eval_f1": 75.7146922946509,
"eval_loss": 1.2520850896835327,
"eval_runtime": 7.7623,
"eval_samples_per_second": 162.967,
"eval_steps_per_second": 10.306,
"step": 1902
},
{
"epoch": 4.0,
"grad_norm": 5.569353103637695,
"learning_rate": 6.303400209916113e-05,
"loss": 0.9191935927333892,
"step": 2536
},
{
"epoch": 4.0,
"eval_exact_match": 61.84,
"eval_f1": 76.26906549535173,
"eval_loss": 1.261074185371399,
"eval_runtime": 7.792,
"eval_samples_per_second": 162.347,
"eval_steps_per_second": 10.267,
"step": 2536
}
],
"logging_steps": 500,
"max_steps": 3170,
"num_input_tokens_seen": 0,
"num_train_epochs": 5,
"save_steps": 500,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 1.2361982924648448e+16,
"train_batch_size": 16,
"trial_name": null,
"trial_params": {
"learning_rate": 0.00028320631179355385,
"lora_alpha": 64,
"lora_dropout": 0.007091286682386649,
"lora_r": 256,
"num_train_epochs": 5,
"weight_decay": 0.03343443262877938
}
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6b5542ca1c0a1ba9ee9d7c5d000e603bcdeb3cdc72cf144b3d22fad52b76f22
size 5201

View 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

View 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.007091286682386649,
"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
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72d9598b1fa0ecbd43d62b26059b23648b46362fddc5c37ee5fb5fea5a0b4b2e
size 188782560

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef24f64c6f0f8f9ae29dc653149a596d6392061d640d00dbb6652bc3c8acfb3c
size 37825419

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43b50930b3b94efd353814bfbf0a4ee0788a1b339110e0e0dd17f7825839358d
size 14645

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e348eba741e527137668efb44ad67e91a6ae90d2ad4899b59185b9a1c36705b4
size 1383

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ffa76f7d07bb4de98945f8e2c730adcac879b69e4d7be86a82c2dddeaefc519
size 1465

File diff suppressed because it is too large Load Diff

View 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]"
}

View File

@@ -0,0 +1,126 @@
{
"best_global_step": 3170,
"best_metric": 76.43362369922768,
"best_model_checkpoint": "mbert-loraxs-qa-vanilla/run-14/checkpoint-3170",
"epoch": 5.0,
"eval_steps": 500,
"global_step": 3170,
"is_hyper_param_search": true,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 4.179904460906982,
"learning_rate": 0.00025183820996153036,
"loss": 3.0449813698368495,
"step": 634
},
{
"epoch": 1.0,
"eval_exact_match": 55.76,
"eval_f1": 70.60123748438602,
"eval_loss": 1.4089006185531616,
"eval_runtime": 7.7514,
"eval_samples_per_second": 163.197,
"eval_steps_per_second": 10.321,
"step": 634
},
{
"epoch": 2.0,
"grad_norm": 5.116003036499023,
"learning_rate": 0.00018890347400740728,
"loss": 1.3749292415775336,
"step": 1268
},
{
"epoch": 2.0,
"eval_exact_match": 59.2,
"eval_f1": 73.91639681478482,
"eval_loss": 1.304753065109253,
"eval_runtime": 7.7166,
"eval_samples_per_second": 163.932,
"eval_steps_per_second": 10.367,
"step": 1268
},
{
"epoch": 3.0,
"grad_norm": 2.986513376235962,
"learning_rate": 0.00012596873805328422,
"loss": 1.0913604832598087,
"step": 1902
},
{
"epoch": 3.0,
"eval_exact_match": 61.52,
"eval_f1": 75.7146922946509,
"eval_loss": 1.2520850896835327,
"eval_runtime": 7.7623,
"eval_samples_per_second": 162.967,
"eval_steps_per_second": 10.306,
"step": 1902
},
{
"epoch": 4.0,
"grad_norm": 5.569353103637695,
"learning_rate": 6.303400209916113e-05,
"loss": 0.9191935927333892,
"step": 2536
},
{
"epoch": 4.0,
"eval_exact_match": 61.84,
"eval_f1": 76.26906549535173,
"eval_loss": 1.261074185371399,
"eval_runtime": 7.792,
"eval_samples_per_second": 162.347,
"eval_steps_per_second": 10.267,
"step": 2536
},
{
"epoch": 5.0,
"grad_norm": 6.102704048156738,
"learning_rate": 9.926614503804903e-08,
"loss": 0.8178048600157729,
"step": 3170
},
{
"epoch": 5.0,
"eval_exact_match": 61.76,
"eval_f1": 76.43362369922768,
"eval_loss": 1.305261254310608,
"eval_runtime": 7.7595,
"eval_samples_per_second": 163.026,
"eval_steps_per_second": 10.31,
"step": 3170
}
],
"logging_steps": 500,
"max_steps": 3170,
"num_input_tokens_seen": 0,
"num_train_epochs": 5,
"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.545247865581056e+16,
"train_batch_size": 16,
"trial_name": null,
"trial_params": {
"learning_rate": 0.00028320631179355385,
"lora_alpha": 64,
"lora_dropout": 0.007091286682386649,
"lora_r": 256,
"num_train_epochs": 5,
"weight_decay": 0.03343443262877938
}
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6b5542ca1c0a1ba9ee9d7c5d000e603bcdeb3cdc72cf144b3d22fad52b76f22
size 5201

View 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

View 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.007091286682386649,
"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
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9b4b6e28e636166e14ed0e29e5490c21879a6ba206adc58280074bf6704816b
size 188782560

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81b0bc5157b77006d5980254e0968f62a85ae46d8e68e2b4756929c89447795b
size 37825419

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a2ec883b1ebf2f01a8e2eb2c4e7068aea33a6d74b16246e45be1cd75b4f8644
size 14645

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30a9aa1c68a6db861b37cf2ed8be94198a07fd49d79e63a94459f7a5727bdc01
size 1383

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef33fc0f1465b5398d92e51f6f9dc9063bbea43d43ef532e33f5e34b83544971
size 1465

File diff suppressed because it is too large Load Diff

View 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]"
}

View File

@@ -0,0 +1,58 @@
{
"best_global_step": 634,
"best_metric": 70.60123748438602,
"best_model_checkpoint": "mbert-loraxs-qa-vanilla/run-14/checkpoint-634",
"epoch": 1.0,
"eval_steps": 500,
"global_step": 634,
"is_hyper_param_search": true,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 4.179904460906982,
"learning_rate": 0.00025183820996153036,
"loss": 3.0449813698368495,
"step": 634
},
{
"epoch": 1.0,
"eval_exact_match": 55.76,
"eval_f1": 70.60123748438602,
"eval_loss": 1.4089006185531616,
"eval_runtime": 7.7514,
"eval_samples_per_second": 163.197,
"eval_steps_per_second": 10.321,
"step": 634
}
],
"logging_steps": 500,
"max_steps": 3170,
"num_input_tokens_seen": 0,
"num_train_epochs": 5,
"save_steps": 500,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 3090495731162112.0,
"train_batch_size": 16,
"trial_name": null,
"trial_params": {
"learning_rate": 0.00028320631179355385,
"lora_alpha": 64,
"lora_dropout": 0.007091286682386649,
"lora_r": 256,
"num_train_epochs": 5,
"weight_decay": 0.03343443262877938
}
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6b5542ca1c0a1ba9ee9d7c5d000e603bcdeb3cdc72cf144b3d22fad52b76f22
size 5201