Instructions to use k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected 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-selected 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-selected") model = AutoModelForSeq2SeqLM.from_pretrained("k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 28000
Browse filesFiles changed (7)
123version https://git-lfs.github.com/spec/v1oid sha256:660ae13bc931daef7532a26df3eb338019f4591ee450abd1e319834718667bbesize 484061231123version https://git-lfs.github.com/spec/v1oid sha256:77686fd413e20f8b172d9c74cc6491332870414ce559c0666d09cfda86f4da04size 484061231
123version https://git-lfs.github.com/spec/v1oid sha256:e0d4d243b4d2793ea9e2c824664ce2dbd3534bf285b60fb020015c4650e15a07size 242019067123version https://git-lfs.github.com/spec/v1oid sha256:97f20fb77a92f83d12e07ec7c5c6eb0feee7787471d02eb4f4d741cde043b97fsize 242019067
123version https://git-lfs.github.com/spec/v1oid sha256:f79aa087bb7810d58f5930813c3b16b9c6d7546296e740ce7a8317ba488e5687size 14503123version https://git-lfs.github.com/spec/v1oid sha256:a61ea363f34cf4b4eec897f170bdc62556ca490d8df340a28e995941587212desize 14503
123version https://git-lfs.github.com/spec/v1oid sha256:83f3d5608d7f8a1f1fbda36bbe0f19ee14b0387a2ab56222d1753332add82ff9size 559123version https://git-lfs.github.com/spec/v1oid sha256:9556b71e3b9b23ca382a0e542ff1e829397dee87fcc10ddaf64025aba131f238size 559
123version https://git-lfs.github.com/spec/v1oid sha256:fbe227d7cc74df1e78961bbdb82a3123ec0933dcad8d712ff9815ec7d8d85ab5size 623123version https://git-lfs.github.com/spec/v1oid sha256:97d17042dbf3a7d0bc7d9a446a5f05dcee7669bf7e5467a28685689a608bd095size 623
12345678244 unmodified lines253254255256257258259260261262263{"best_metric": 0.759707510471344,"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected/checkpoint-12000","epoch": 8.32,"global_step": 26000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,244 unmodified lines"eval_samples_per_second": 11.244,"eval_steps_per_second": 0.354,"step": 26000}],"max_steps": 62500,"num_train_epochs": 20,"total_flos": 9.368588733068083e+16,"trial_name": null,"trial_params": null}12345678244 unmodified lines253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282{"best_metric": 0.759707510471344,"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected/checkpoint-12000","epoch": 8.96,"global_step": 28000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,244 unmodified lines"eval_samples_per_second": 11.244,"eval_steps_per_second": 0.354,"step": 26000},{"epoch": 8.96,"learning_rate": 5.81221052631579e-05,"loss": 0.3313,"step": 28000},{"epoch": 8.96,"eval_bleu": 0.31867689638786295,"eval_exact_match": 0.182,"eval_loss": 0.8014870285987854,"eval_rouge1": 0.6103585439964291,"eval_rouge2": 0.4227833245285987,"eval_rougeL": 0.5822662636066496,"eval_runtime": 174.5922,"eval_samples_per_second": 11.455,"eval_steps_per_second": 0.361,"step": 28000}],"max_steps": 62500,"num_train_epochs": 20,"total_flos": 1.0092246119586202e+17,"trial_name": null,"trial_params": null}
123version https://git-lfs.github.com/spec/v1oid sha256:e0d4d243b4d2793ea9e2c824664ce2dbd3534bf285b60fb020015c4650e15a07size 242019067123version https://git-lfs.github.com/spec/v1oid sha256:97f20fb77a92f83d12e07ec7c5c6eb0feee7787471d02eb4f4d741cde043b97fsize 242019067
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+22-3
pytorch_model.bin+1-1