初始化项目,由ModelHub XC社区提供模型
Model: Henry236/nilechat-eg-lora-heuristic Source: Original Platform
This commit is contained in:
207
last-checkpoint/README.md
Normal file
207
last-checkpoint/README.md
Normal file
@@ -0,0 +1,207 @@
|
||||
---
|
||||
base_model: Henry236/nilechat-eg-stage1-general
|
||||
library_name: peft
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- base_model:adapter:Henry236/nilechat-eg-stage1-general
|
||||
- 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
|
||||
48
last-checkpoint/adapter_config.json
Normal file
48
last-checkpoint/adapter_config.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"alora_invocation_tokens": null,
|
||||
"alpha_pattern": {},
|
||||
"arrow_config": null,
|
||||
"auto_mapping": null,
|
||||
"base_model_name_or_path": "Henry236/nilechat-eg-stage1-general",
|
||||
"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": 128,
|
||||
"lora_bias": false,
|
||||
"lora_dropout": 0.05,
|
||||
"lora_ga_config": null,
|
||||
"megatron_config": null,
|
||||
"megatron_core": "megatron.core",
|
||||
"modules_to_save": null,
|
||||
"peft_type": "LORA",
|
||||
"peft_version": "0.19.1",
|
||||
"qalora_group_size": 16,
|
||||
"r": 64,
|
||||
"rank_pattern": {},
|
||||
"revision": null,
|
||||
"target_modules": [
|
||||
"q_proj",
|
||||
"k_proj",
|
||||
"down_proj",
|
||||
"gate_proj",
|
||||
"o_proj",
|
||||
"up_proj",
|
||||
"v_proj"
|
||||
],
|
||||
"target_parameters": null,
|
||||
"task_type": "CAUSAL_LM",
|
||||
"trainable_token_indices": null,
|
||||
"use_bdlora": null,
|
||||
"use_dora": false,
|
||||
"use_qalora": false,
|
||||
"use_rslora": false
|
||||
}
|
||||
3
last-checkpoint/adapter_model.safetensors
Normal file
3
last-checkpoint/adapter_model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:84bee3b2b1ae9c217490ad2ac4609d3ff42555dec476edfccd268b7df5490190
|
||||
size 476904192
|
||||
3
last-checkpoint/optimizer.pt
Normal file
3
last-checkpoint/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b28f8571cb37e6212cfc9837cee3c6759fcedd6ad3284d6c8e2e838f23eb0a1d
|
||||
size 954089079
|
||||
3
last-checkpoint/rng_state.pth
Normal file
3
last-checkpoint/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ddca4e4cc738bd97260e23752e956accfc9b32c69709d6628758e73a814c7a77
|
||||
size 14645
|
||||
3
last-checkpoint/scheduler.pt
Normal file
3
last-checkpoint/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca7f039638ef3edd07119b11fb9e6a91343f0c6251946c2e639f46a702bbce11
|
||||
size 1465
|
||||
293
last-checkpoint/trainer_state.json
Normal file
293
last-checkpoint/trainer_state.json
Normal file
@@ -0,0 +1,293 @@
|
||||
{
|
||||
"best_global_step": null,
|
||||
"best_metric": null,
|
||||
"best_model_checkpoint": null,
|
||||
"epoch": 1.9292149292149292,
|
||||
"eval_steps": 500,
|
||||
"global_step": 750,
|
||||
"is_hyper_param_search": false,
|
||||
"is_local_process_zero": true,
|
||||
"is_world_process_zero": true,
|
||||
"log_history": [
|
||||
{
|
||||
"epoch": 0.05148005148005148,
|
||||
"grad_norm": 3.805959701538086,
|
||||
"learning_rate": 2.435897435897436e-06,
|
||||
"loss": 3.0721,
|
||||
"step": 20
|
||||
},
|
||||
{
|
||||
"epoch": 0.10296010296010295,
|
||||
"grad_norm": 2.047661066055298,
|
||||
"learning_rate": 5e-06,
|
||||
"loss": 2.7096,
|
||||
"step": 40
|
||||
},
|
||||
{
|
||||
"epoch": 0.15444015444015444,
|
||||
"grad_norm": 1.883644938468933,
|
||||
"learning_rate": 7.564102564102564e-06,
|
||||
"loss": 2.3981,
|
||||
"step": 60
|
||||
},
|
||||
{
|
||||
"epoch": 0.2059202059202059,
|
||||
"grad_norm": 2.1643970012664795,
|
||||
"learning_rate": 9.999949644960027e-06,
|
||||
"loss": 2.1589,
|
||||
"step": 80
|
||||
},
|
||||
{
|
||||
"epoch": 0.2574002574002574,
|
||||
"grad_norm": 2.4580767154693604,
|
||||
"learning_rate": 9.9778098230154e-06,
|
||||
"loss": 1.9609,
|
||||
"step": 100
|
||||
},
|
||||
{
|
||||
"epoch": 0.3088803088803089,
|
||||
"grad_norm": 2.061549186706543,
|
||||
"learning_rate": 9.915591603280632e-06,
|
||||
"loss": 1.917,
|
||||
"step": 120
|
||||
},
|
||||
{
|
||||
"epoch": 0.36036036036036034,
|
||||
"grad_norm": 2.2059481143951416,
|
||||
"learning_rate": 9.813795930277306e-06,
|
||||
"loss": 1.8609,
|
||||
"step": 140
|
||||
},
|
||||
{
|
||||
"epoch": 0.4118404118404118,
|
||||
"grad_norm": 3.432741403579712,
|
||||
"learning_rate": 9.673242402909555e-06,
|
||||
"loss": 1.7972,
|
||||
"step": 160
|
||||
},
|
||||
{
|
||||
"epoch": 0.46332046332046334,
|
||||
"grad_norm": 2.5304017066955566,
|
||||
"learning_rate": 9.495062675535614e-06,
|
||||
"loss": 1.7804,
|
||||
"step": 180
|
||||
},
|
||||
{
|
||||
"epoch": 0.5148005148005148,
|
||||
"grad_norm": 2.3981094360351562,
|
||||
"learning_rate": 9.280691346552308e-06,
|
||||
"loss": 1.7499,
|
||||
"step": 200
|
||||
},
|
||||
{
|
||||
"epoch": 0.5662805662805663,
|
||||
"grad_norm": 2.79345440864563,
|
||||
"learning_rate": 9.031854407852317e-06,
|
||||
"loss": 1.7623,
|
||||
"step": 220
|
||||
},
|
||||
{
|
||||
"epoch": 0.6177606177606177,
|
||||
"grad_norm": 2.7196028232574463,
|
||||
"learning_rate": 8.750555348152299e-06,
|
||||
"loss": 1.7245,
|
||||
"step": 240
|
||||
},
|
||||
{
|
||||
"epoch": 0.6692406692406693,
|
||||
"grad_norm": 3.4595141410827637,
|
||||
"learning_rate": 8.439059022079789e-06,
|
||||
"loss": 1.7307,
|
||||
"step": 260
|
||||
},
|
||||
{
|
||||
"epoch": 0.7207207207207207,
|
||||
"grad_norm": 2.5787878036499023,
|
||||
"learning_rate": 8.099873414895453e-06,
|
||||
"loss": 1.7234,
|
||||
"step": 280
|
||||
},
|
||||
{
|
||||
"epoch": 0.7722007722007722,
|
||||
"grad_norm": 2.179560422897339,
|
||||
"learning_rate": 7.73572944967043e-06,
|
||||
"loss": 1.6921,
|
||||
"step": 300
|
||||
},
|
||||
{
|
||||
"epoch": 0.8236808236808236,
|
||||
"grad_norm": 2.5689198970794678,
|
||||
"learning_rate": 7.3495589994995274e-06,
|
||||
"loss": 1.6596,
|
||||
"step": 320
|
||||
},
|
||||
{
|
||||
"epoch": 0.8751608751608752,
|
||||
"grad_norm": 2.540849447250366,
|
||||
"learning_rate": 6.944471281782975e-06,
|
||||
"loss": 1.6428,
|
||||
"step": 340
|
||||
},
|
||||
{
|
||||
"epoch": 0.9266409266409267,
|
||||
"grad_norm": 3.2991511821746826,
|
||||
"learning_rate": 6.523727824636103e-06,
|
||||
"loss": 1.6623,
|
||||
"step": 360
|
||||
},
|
||||
{
|
||||
"epoch": 0.9781209781209781,
|
||||
"grad_norm": 2.4058475494384766,
|
||||
"learning_rate": 6.090716206982714e-06,
|
||||
"loss": 1.6637,
|
||||
"step": 380
|
||||
},
|
||||
{
|
||||
"epoch": 1.0283140283140284,
|
||||
"grad_norm": 2.8208141326904297,
|
||||
"learning_rate": 5.648922783761443e-06,
|
||||
"loss": 1.6323,
|
||||
"step": 400
|
||||
},
|
||||
{
|
||||
"epoch": 1.0797940797940797,
|
||||
"grad_norm": 2.442612886428833,
|
||||
"learning_rate": 5.201904615845743e-06,
|
||||
"loss": 1.5962,
|
||||
"step": 420
|
||||
},
|
||||
{
|
||||
"epoch": 1.1312741312741312,
|
||||
"grad_norm": 2.94942307472229,
|
||||
"learning_rate": 4.753260830681247e-06,
|
||||
"loss": 1.5622,
|
||||
"step": 440
|
||||
},
|
||||
{
|
||||
"epoch": 1.1827541827541828,
|
||||
"grad_norm": 2.8817596435546875,
|
||||
"learning_rate": 4.306603644227821e-06,
|
||||
"loss": 1.574,
|
||||
"step": 460
|
||||
},
|
||||
{
|
||||
"epoch": 1.2342342342342343,
|
||||
"grad_norm": 2.556431293487549,
|
||||
"learning_rate": 3.8655292775206185e-06,
|
||||
"loss": 1.5766,
|
||||
"step": 480
|
||||
},
|
||||
{
|
||||
"epoch": 1.2857142857142856,
|
||||
"grad_norm": 3.112046718597412,
|
||||
"learning_rate": 3.4335890020128382e-06,
|
||||
"loss": 1.5691,
|
||||
"step": 500
|
||||
},
|
||||
{
|
||||
"epoch": 1.3371943371943371,
|
||||
"grad_norm": 2.709402322769165,
|
||||
"learning_rate": 3.0142605468260976e-06,
|
||||
"loss": 1.5375,
|
||||
"step": 520
|
||||
},
|
||||
{
|
||||
"epoch": 1.3886743886743886,
|
||||
"grad_norm": 2.6925084590911865,
|
||||
"learning_rate": 2.610920098120424e-06,
|
||||
"loss": 1.5389,
|
||||
"step": 540
|
||||
},
|
||||
{
|
||||
"epoch": 1.4401544401544402,
|
||||
"grad_norm": 2.4258522987365723,
|
||||
"learning_rate": 2.2268151160284508e-06,
|
||||
"loss": 1.5367,
|
||||
"step": 560
|
||||
},
|
||||
{
|
||||
"epoch": 1.4916344916344917,
|
||||
"grad_norm": 3.074117660522461,
|
||||
"learning_rate": 1.8650381880159108e-06,
|
||||
"loss": 1.556,
|
||||
"step": 580
|
||||
},
|
||||
{
|
||||
"epoch": 1.5431145431145432,
|
||||
"grad_norm": 3.0699758529663086,
|
||||
"learning_rate": 1.5285021291857705e-06,
|
||||
"loss": 1.5257,
|
||||
"step": 600
|
||||
},
|
||||
{
|
||||
"epoch": 1.5945945945945947,
|
||||
"grad_norm": 2.5055222511291504,
|
||||
"learning_rate": 1.2199165300037358e-06,
|
||||
"loss": 1.5375,
|
||||
"step": 620
|
||||
},
|
||||
{
|
||||
"epoch": 1.646074646074646,
|
||||
"grad_norm": 2.867077350616455,
|
||||
"learning_rate": 9.417659402690254e-07,
|
||||
"loss": 1.5361,
|
||||
"step": 640
|
||||
},
|
||||
{
|
||||
"epoch": 1.6975546975546976,
|
||||
"grad_norm": 2.823442220687866,
|
||||
"learning_rate": 6.962898649802824e-07,
|
||||
"loss": 1.5663,
|
||||
"step": 660
|
||||
},
|
||||
{
|
||||
"epoch": 1.7490347490347489,
|
||||
"grad_norm": 3.6031746864318848,
|
||||
"learning_rate": 4.854647331581385e-07,
|
||||
"loss": 1.5092,
|
||||
"step": 680
|
||||
},
|
||||
{
|
||||
"epoch": 1.8005148005148004,
|
||||
"grad_norm": 2.782688617706299,
|
||||
"learning_rate": 3.109879848008557e-07,
|
||||
"loss": 1.5553,
|
||||
"step": 700
|
||||
},
|
||||
{
|
||||
"epoch": 1.851994851994852,
|
||||
"grad_norm": 2.91386079788208,
|
||||
"learning_rate": 1.742644040955399e-07,
|
||||
"loss": 1.5208,
|
||||
"step": 720
|
||||
},
|
||||
{
|
||||
"epoch": 1.9034749034749034,
|
||||
"grad_norm": 2.826528787612915,
|
||||
"learning_rate": 7.639480892186634e-08,
|
||||
"loss": 1.5415,
|
||||
"step": 740
|
||||
}
|
||||
],
|
||||
"logging_steps": 20,
|
||||
"max_steps": 778,
|
||||
"num_input_tokens_seen": 0,
|
||||
"num_train_epochs": 2,
|
||||
"save_steps": 50,
|
||||
"stateful_callbacks": {
|
||||
"TrainerControl": {
|
||||
"args": {
|
||||
"should_epoch_stop": false,
|
||||
"should_evaluate": false,
|
||||
"should_log": false,
|
||||
"should_save": true,
|
||||
"should_training_stop": false
|
||||
},
|
||||
"attributes": {}
|
||||
}
|
||||
},
|
||||
"total_flos": 5.478999410119066e+16,
|
||||
"train_batch_size": 4,
|
||||
"trial_name": null,
|
||||
"trial_params": null
|
||||
}
|
||||
3
last-checkpoint/training_args.bin
Normal file
3
last-checkpoint/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f38c4204837caa25d7735efb843f19d098794da777a34213428cabc9835a4712
|
||||
size 6033
|
||||
Reference in New Issue
Block a user