Instructions to use k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor") model = AutoModelForSeq2SeqLM.from_pretrained("k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 3500
Browse files- last-checkpoint/optimizer.pt +1 -1
- last-checkpoint/pytorch_model.bin +1 -1
- last-checkpoint/rng_state.pth +1 -1
- last-checkpoint/scaler.pt +1 -1
- last-checkpoint/scheduler.pt +1 -1
- last-checkpoint/trainer_state.json +25 -5
- pytorch_model.bin +1 -1
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 837935
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fa0bb8bf144c44b16d7130e71ba2af07988d8c69cb0f5c859a8279dcd31eed6
|
| 3 |
size 837935
|
last-checkpoint/pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 242012923
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7425e8dad9906c6d3ab3b7af0d923e981c455bd12893a94672ae682f73949b6
|
| 3 |
size 242012923
|
last-checkpoint/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14503
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8250c014fce042bbdf9c518bc2e110258b185e1aa1e9c321914c28604a06f2ce
|
| 3 |
size 14503
|
last-checkpoint/scaler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 559
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f7223e68b1b80b1dc75da9898e102239061cc468827634b00ec0f607c7862d0
|
| 3 |
size 559
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 623
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f15f8acee496bd11908e8238307d0feca800bf8ac5e9a2e2b96b8441f62bc7d
|
| 3 |
size 623
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"best_metric": 0.
|
| 3 |
-
"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor/checkpoint-
|
| 4 |
-
"epoch":
|
| 5 |
-
"global_step":
|
| 6 |
"is_hyper_param_search": false,
|
| 7 |
"is_local_process_zero": true,
|
| 8 |
"is_world_process_zero": true,
|
|
@@ -126,11 +126,31 @@
|
|
| 126 |
"eval_samples_per_second": 72.756,
|
| 127 |
"eval_steps_per_second": 2.292,
|
| 128 |
"step": 3000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
}
|
| 130 |
],
|
| 131 |
"max_steps": 31250,
|
| 132 |
"num_train_epochs": 10,
|
| 133 |
-
"total_flos": 1.
|
| 134 |
"trial_name": null,
|
| 135 |
"trial_params": null
|
| 136 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_metric": 0.156,
|
| 3 |
+
"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor/checkpoint-3500",
|
| 4 |
+
"epoch": 1.12,
|
| 5 |
+
"global_step": 3500,
|
| 6 |
"is_hyper_param_search": false,
|
| 7 |
"is_local_process_zero": true,
|
| 8 |
"is_world_process_zero": true,
|
|
|
|
| 126 |
"eval_samples_per_second": 72.756,
|
| 127 |
"eval_steps_per_second": 2.292,
|
| 128 |
"step": 3000
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 1.12,
|
| 132 |
+
"learning_rate": 0.0002804661973254286,
|
| 133 |
+
"loss": 0.6539,
|
| 134 |
+
"step": 3500
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"epoch": 1.12,
|
| 138 |
+
"eval_bleu": 0.12410699248804274,
|
| 139 |
+
"eval_exact_match": 0.156,
|
| 140 |
+
"eval_loss": 0.8591290712356567,
|
| 141 |
+
"eval_rouge1": 0.5540021216111264,
|
| 142 |
+
"eval_rouge2": 0.3840666487555394,
|
| 143 |
+
"eval_rougeL": 0.5364934994830287,
|
| 144 |
+
"eval_rougeLsum": 0.5443633030705,
|
| 145 |
+
"eval_runtime": 27.3261,
|
| 146 |
+
"eval_samples_per_second": 73.19,
|
| 147 |
+
"eval_steps_per_second": 2.305,
|
| 148 |
+
"step": 3500
|
| 149 |
}
|
| 150 |
],
|
| 151 |
"max_steps": 31250,
|
| 152 |
"num_train_epochs": 10,
|
| 153 |
+
"total_flos": 1.4901952851738624e+16,
|
| 154 |
"trial_name": null,
|
| 155 |
"trial_params": null
|
| 156 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 242012923
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7425e8dad9906c6d3ab3b7af0d923e981c455bd12893a94672ae682f73949b6
|
| 3 |
size 242012923
|