Instructions to use k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adamw 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-adamw 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-adamw") model = AutoModelForSeq2SeqLM.from_pretrained("k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adamw", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 1500
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 484047087
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93a63ea5fe4ef9ccab4f97384095f9d90d64f98b29843d46534ceca7e606e80c
|
| 3 |
size 484047087
|
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:beffb9054c89b12746e4a5c2bfff99d698139ba777c83dd3b054f0055e51859f
|
| 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:5d9289c961fe2d2c82210cc3201f1f56c79683ffd7551199a967e84d822dd270
|
| 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:da93d0e330709c467bd24302692c8f898b97559e28b603a245dbfd5ad6b5a7be
|
| 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:358bc0121d234a87a48256a107218c250027b76a82f7917825fad3250e6a20ce
|
| 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-adamw/checkpoint-
|
| 4 |
-
"epoch": 0.
|
| 5 |
-
"global_step":
|
| 6 |
"is_hyper_param_search": false,
|
| 7 |
"is_local_process_zero": true,
|
| 8 |
"is_world_process_zero": true,
|
|
@@ -46,11 +46,31 @@
|
|
| 46 |
"eval_samples_per_second": 74.386,
|
| 47 |
"eval_steps_per_second": 2.343,
|
| 48 |
"step": 1000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
}
|
| 50 |
],
|
| 51 |
"max_steps": 31250,
|
| 52 |
"num_train_epochs": 10,
|
| 53 |
-
"total_flos":
|
| 54 |
"trial_name": null,
|
| 55 |
"trial_params": null
|
| 56 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_metric": 0.8583337664604187,
|
| 3 |
+
"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-adamw/checkpoint-1500",
|
| 4 |
+
"epoch": 0.48,
|
| 5 |
+
"global_step": 1500,
|
| 6 |
"is_hyper_param_search": false,
|
| 7 |
"is_local_process_zero": true,
|
| 8 |
"is_world_process_zero": true,
|
|
|
|
| 46 |
"eval_samples_per_second": 74.386,
|
| 47 |
"eval_steps_per_second": 2.343,
|
| 48 |
"step": 1000
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"epoch": 0.48,
|
| 52 |
+
"learning_rate": 9.564939219449776e-05,
|
| 53 |
+
"loss": 0.8121,
|
| 54 |
+
"step": 1500
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.48,
|
| 58 |
+
"eval_bleu": 0.11580804646751057,
|
| 59 |
+
"eval_exact_match": 0.1455,
|
| 60 |
+
"eval_loss": 0.8583337664604187,
|
| 61 |
+
"eval_rouge1": 0.5528659122019346,
|
| 62 |
+
"eval_rouge2": 0.3786855675064588,
|
| 63 |
+
"eval_rougeL": 0.535002514875875,
|
| 64 |
+
"eval_rougeLsum": 0.5425756750433103,
|
| 65 |
+
"eval_runtime": 27.5302,
|
| 66 |
+
"eval_samples_per_second": 72.647,
|
| 67 |
+
"eval_steps_per_second": 2.288,
|
| 68 |
+
"step": 1500
|
| 69 |
}
|
| 70 |
],
|
| 71 |
"max_steps": 31250,
|
| 72 |
"num_train_epochs": 10,
|
| 73 |
+
"total_flos": 6383040794198016.0,
|
| 74 |
"trial_name": null,
|
| 75 |
"trial_params": null
|
| 76 |
}
|
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:beffb9054c89b12746e4a5c2bfff99d698139ba777c83dd3b054f0055e51859f
|
| 3 |
size 242012923
|