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 12000
Browse filesFiles changed (7)
123version https://git-lfs.github.com/spec/v1oid sha256:b93ed9d92fde055628c96a9852f78a87d26bfbde9234b1c724bd59db75f1727fsize 484059375123version https://git-lfs.github.com/spec/v1oid sha256:64170c1ef9674624e302ab8f03fd25a12b89b33fbe057d4bf3fb5447f9aa9930size 484059375
123version https://git-lfs.github.com/spec/v1oid sha256:25633b9cb7dc83058c0d45b0be909f63ac8e16dd0ae9305e76bf47e2e0c7a4d0size 242019067123version https://git-lfs.github.com/spec/v1oid sha256:18579680032becc23d37db038694d8397ca17699b4a25ed0a513417866b3f604size 242019067
123version https://git-lfs.github.com/spec/v1oid sha256:a18ce0fb566d607628121a0ea26cb02d06081d7582a02aacb5901add43951b27size 14503123version https://git-lfs.github.com/spec/v1oid sha256:0494d47a6723ec6fe3e9b22849735e2c1e99577b6fdde5984b8746167b06721csize 14503
123version https://git-lfs.github.com/spec/v1oid sha256:d072be7055b1f7366f22bcad71f1c89318336240009b765568a40c4adf1f3a1csize 559123version https://git-lfs.github.com/spec/v1oid sha256:8bd6d67b339a73b53d65263734baa465f18221257501d7c96218a456d5e52593size 559
123version https://git-lfs.github.com/spec/v1oid sha256:7b0873399e7eba83bded88b40cc70982ee748d1a81bec9e91f62f969961e77f4size 623123version https://git-lfs.github.com/spec/v1oid sha256:6763c28702ee464b28b3066b1b607afdc83789f4713e9068815f524e6b83d56esize 623
1234567892 unmodified lines101102103104105106107108109110111{"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,92 unmodified lines"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}1234567892 unmodified lines101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130{"best_metric": 0.759707510471344,"best_model_checkpoint": "/home2/s5431786/jb-internship/results/Salesforce-codet5-small-CodeXGLUE-CONCODE-selected/checkpoint-12000","epoch": 3.84,"global_step": 12000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,92 unmodified lines"eval_samples_per_second": 9.071,"eval_steps_per_second": 0.286,"step": 10000},{"epoch": 3.84,"learning_rate": 8.506273684210527e-05,"loss": 0.4921,"step": 12000},{"epoch": 3.84,"eval_bleu": 0.29459469300176405,"eval_exact_match": 0.1835,"eval_loss": 0.759707510471344,"eval_rouge1": 0.5964669156896572,"eval_rouge2": 0.41676711356974905,"eval_rougeL": 0.5727323739644565,"eval_runtime": 247.9977,"eval_samples_per_second": 8.065,"eval_steps_per_second": 0.254,"step": 12000}],"max_steps": 62500,"num_train_epochs": 20,"total_flos": 4.334845641621504e+16,"trial_name": null,"trial_params": null}
123version https://git-lfs.github.com/spec/v1oid sha256:25633b9cb7dc83058c0d45b0be909f63ac8e16dd0ae9305e76bf47e2e0c7a4d0size 242019067123version https://git-lfs.github.com/spec/v1oid sha256:18579680032becc23d37db038694d8397ca17699b4a25ed0a513417866b3f604size 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+24-5
pytorch_model.bin+1-1