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 10000
Browse filesFiles changed (7)
123version https://git-lfs.github.com/spec/v1oid sha256:9ecd2121c62b78fefadaeabf329af30965c1d5254ad8a247a2f5e1c089314099size 484059375123version https://git-lfs.github.com/spec/v1oid sha256:b93ed9d92fde055628c96a9852f78a87d26bfbde9234b1c724bd59db75f1727fsize 484059375
123version https://git-lfs.github.com/spec/v1oid sha256:f011fe99c630646ec9bff8b3f6cd382f67008dc8ff7658561572678aac30eb7esize 242019067123version https://git-lfs.github.com/spec/v1oid sha256:25633b9cb7dc83058c0d45b0be909f63ac8e16dd0ae9305e76bf47e2e0c7a4d0size 242019067
123version https://git-lfs.github.com/spec/v1oid sha256:f2142769294a8c158a319ee7619050123d4d200b9168f6287bd440d1df8e4983size 14503123version https://git-lfs.github.com/spec/v1oid sha256:a18ce0fb566d607628121a0ea26cb02d06081d7582a02aacb5901add43951b27size 14503
123version https://git-lfs.github.com/spec/v1oid sha256:3782c5183f4b3926da31cb7a03a04d622797e9ed4a0007066495827d4864b745size 559123version https://git-lfs.github.com/spec/v1oid sha256:d072be7055b1f7366f22bcad71f1c89318336240009b765568a40c4adf1f3a1csize 559
123version https://git-lfs.github.com/spec/v1oid sha256:789abdc0646d0e04a81d17afdf777ec7127cfb77488d5350e897ba1735bdfab3size 623123version https://git-lfs.github.com/spec/v1oid sha256:7b0873399e7eba83bded88b40cc70982ee748d1a81bec9e91f62f969961e77f4size 623
1234567873 unmodified lines8283848586878889909192{"best_metric": 0.7699160575866699,"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected/checkpoint-8000","epoch": 2.56,"global_step": 8000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,73 unmodified lines"eval_samples_per_second": 7.281,"eval_steps_per_second": 0.229,"step": 8000}],"max_steps": 62500,"num_train_epochs": 20,"total_flos": 2.891269685850931e+16,"trial_name": null,"trial_params": null}1234567873 unmodified lines828384858687888990919293949596979899100101102103104105106107108109110111{"best_metric": 0.7699160575866699,"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected/checkpoint-8000","epoch": 3.2,"global_step": 10000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,73 unmodified lines"eval_samples_per_second": 7.281,"eval_steps_per_second": 0.229,"step": 8000},{"epoch": 3.2,"learning_rate": 8.843115789473684e-05,"loss": 0.5314,"step": 10000},{"epoch": 3.2,"eval_bleu": 0.29975143100679225,"eval_exact_match": 0.1815,"eval_loss": 0.7741894125938416,"eval_rouge1": 0.595198816050763,"eval_rouge2": 0.4127741738801316,"eval_rougeL": 0.5696024067817068,"eval_runtime": 220.4946,"eval_samples_per_second": 9.071,"eval_steps_per_second": 0.286,"step": 10000}],"max_steps": 62500,"num_train_epochs": 20,"total_flos": 3.612457930378445e+16,"trial_name": null,"trial_params": null}
123version https://git-lfs.github.com/spec/v1oid sha256:f011fe99c630646ec9bff8b3f6cd382f67008dc8ff7658561572678aac30eb7esize 242019067123version https://git-lfs.github.com/spec/v1oid sha256:25633b9cb7dc83058c0d45b0be909f63ac8e16dd0ae9305e76bf47e2e0c7a4d0size 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