Instructions to use dipudl/codeT5-DistilBERT-wrong-binary-operator-bug-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dipudl/codeT5-DistilBERT-wrong-binary-operator-bug-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dipudl/codeT5-DistilBERT-wrong-binary-operator-bug-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dipudl/codeT5-DistilBERT-wrong-binary-operator-bug-model") model = AutoModelForSequenceClassification.from_pretrained("dipudl/codeT5-DistilBERT-wrong-binary-operator-bug-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (11)
- .gitignoreAdded+1
- config.jsonAdded+33
- merges.txtAdded
- pytorch_model.binAdded+3
- runs/Feb21_17-03-25_f64fb82fe737/1676999039.9553668/events.out.tfevents.1676999039.f64fb82fe737.24.4Added+3
- runs/Feb21_17-03-25_f64fb82fe737/events.out.tfevents.1676999039.f64fb82fe737.24.3Added+3
- special_tokens_map.jsonAdded+153
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+167
- training_args.binAdded+3
- vocab.jsonAdded
1checkpoint-*/123456789101112131415161718192021222324252627282930313233{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "CORRECT", "1": "BUGGY" }, "initializer_range": 0.02, "label2id": { "BUGGY": 1, "CORRECT": 0 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "problem_type": "single_label_classification", "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.20.1", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:700c3a19fb748c4b1b18a18463ae192360a7e43b9e52f78e09c6e622b00d3e83size 267854321123version https://git-lfs.github.com/spec/v1oid sha256:e01c89f53a067021ef799e574187879ba7ad5490dd8dafcf87b5d22898b44179size 5416123version https://git-lfs.github.com/spec/v1oid sha256:a4fd469098392fce76628551646238fd0ab6989ee53f2ed6a4460cbd7d82354bsize 5237123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153{ "additional_special_tokens": [ "<extra_id_99>", "<extra_id_98>", "<extra_id_97>", "<extra_id_96>", "<extra_id_95>", "<extra_id_94>", "<extra_id_93>", "<extra_id_92>", "<extra_id_91>", "<extra_id_90>", "<extra_id_89>", "<extra_id_88>", "<extra_id_87>", "<extra_id_86>", "<extra_id_85>", "<extra_id_84>", "<extra_id_83>", "<extra_id_82>", "<extra_id_81>", "<extra_id_80>", "<extra_id_79>", "<extra_id_78>", "<extra_id_77>", "<extra_id_76>", "<extra_id_75>", "<extra_id_74>", "<extra_id_73>", "<extra_id_72>", "<extra_id_71>", "<extra_id_70>", "<extra_id_69>", "<extra_id_68>", "<extra_id_67>", "<extra_id_66>", "<extra_id_65>", "<extra_id_64>", "<extra_id_63>", "<extra_id_62>", "<extra_id_61>", "<extra_id_60>", "<extra_id_59>", "<extra_id_58>", "<extra_id_57>", "<extra_id_56>", "<extra_id_55>", "<extra_id_54>", "<extra_id_53>", "<extra_id_52>", "<extra_id_51>", "<extra_id_50>", "<extra_id_49>", "<extra_id_48>", "<extra_id_47>", "<extra_id_46>", "<extra_id_45>", "<extra_id_44>", "<extra_id_43>", "<extra_id_42>", "<extra_id_41>", "<extra_id_40>", "<extra_id_39>", "<extra_id_38>", "<extra_id_37>", "<extra_id_36>", "<extra_id_35>", "<extra_id_34>", "<extra_id_33>", "<extra_id_32>", "<extra_id_31>", "<extra_id_30>", "<extra_id_29>", "<extra_id_28>", "<extra_id_27>", "<extra_id_26>", "<extra_id_25>", "<extra_id_24>", "<extra_id_23>", "<extra_id_22>", "<extra_id_21>", "<extra_id_20>", "<extra_id_19>", "<extra_id_18>", "<extra_id_17>", "<extra_id_16>", "<extra_id_15>", "<extra_id_14>", "<extra_id_13>", "<extra_id_12>", "<extra_id_11>", "<extra_id_10>", "<extra_id_9>", "<extra_id_8>", "<extra_id_7>", "<extra_id_6>", "<extra_id_5>", "<extra_id_4>", "<extra_id_3>", "<extra_id_2>", "<extra_id_1>", "<extra_id_0>" ], "bos_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167{ "add_prefix_space": false, "additional_special_tokens": [ "<extra_id_99>", "<extra_id_98>", "<extra_id_97>", "<extra_id_96>", "<extra_id_95>", "<extra_id_94>", "<extra_id_93>", "<extra_id_92>", "<extra_id_91>", "<extra_id_90>", "<extra_id_89>", "<extra_id_88>", "<extra_id_87>", "<extra_id_86>", "<extra_id_85>", "<extra_id_84>", "<extra_id_83>", "<extra_id_82>", "<extra_id_81>", "<extra_id_80>", "<extra_id_79>", "<extra_id_78>", "<extra_id_77>", "<extra_id_76>", "<extra_id_75>", "<extra_id_74>", "<extra_id_73>", "<extra_id_72>", "<extra_id_71>", "<extra_id_70>", "<extra_id_69>", "<extra_id_68>", "<extra_id_67>", "<extra_id_66>", "<extra_id_65>", "<extra_id_64>", "<extra_id_63>", "<extra_id_62>", "<extra_id_61>", "<extra_id_60>", "<extra_id_59>", "<extra_id_58>", "<extra_id_57>", "<extra_id_56>", "<extra_id_55>", "<extra_id_54>", "<extra_id_53>", "<extra_id_52>", "<extra_id_51>", "<extra_id_50>", "<extra_id_49>", "<extra_id_48>", "<extra_id_47>", "<extra_id_46>", "<extra_id_45>", "<extra_id_44>", "<extra_id_43>", "<extra_id_42>", "<extra_id_41>", "<extra_id_40>", "<extra_id_39>", "<extra_id_38>", "<extra_id_37>", "<extra_id_36>", "<extra_id_35>", "<extra_id_34>", "<extra_id_33>", "<extra_id_32>", "<extra_id_31>", "<extra_id_30>", "<extra_id_29>", "<extra_id_28>", "<extra_id_27>", "<extra_id_26>", "<extra_id_25>", "<extra_id_24>", "<extra_id_23>", "<extra_id_22>", "<extra_id_21>", "<extra_id_20>", "<extra_id_19>", "<extra_id_18>", "<extra_id_17>", "<extra_id_16>", "<extra_id_15>", "<extra_id_14>", "<extra_id_13>", "<extra_id_12>", "<extra_id_11>", "<extra_id_10>", "<extra_id_9>", "<extra_id_8>", "<extra_id_7>", "<extra_id_6>", "<extra_id_5>", "<extra_id_4>", "<extra_id_3>", "<extra_id_2>", "<extra_id_1>", "<extra_id_0>" ], "bos_token": { "__type": "AddedToken", "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "cls_token": { "__type": "AddedToken", "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "__type": "AddedToken", "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "mask_token": { "__type": "AddedToken", "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "model_max_length": 512, "name_or_path": "dipudl/codet5-base", "pad_token": { "__type": "AddedToken", "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "sep_token": { "__type": "AddedToken", "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "special_tokens_map_file": "/root/.cache/huggingface/transformers/5941df5e4315c5ab63b7b2ac791fb0bf0f209744a055c06b43b5274849137cdd.b9905d0575bde443a20834122b6e2d48e853b2e36444ce98ddeb43c38097eb3f", "tokenizer_class": "RobertaTokenizer", "trim_offsets": true, "unk_token": { "__type": "AddedToken", "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:2eaf7c5df942ef33fc8391f6118e697437a55801c61506961372dc14a7fe2fcdsize 3375.gitignoreAdded+1
config.jsonAdded+33
merges.txtAdded
pytorch_model.binAdded+3
runs/Feb21_17-03-25_f64fb82fe737/1676999039.9553668/events.out.tfevents.1676999039.f64fb82fe737.24.4Added+3
runs/Feb21_17-03-25_f64fb82fe737/events.out.tfevents.1676999039.f64fb82fe737.24.3Added+3
special_tokens_map.jsonAdded+153
tokenizer.jsonAdded
tokenizer_config.jsonAdded+167
training_args.binAdded+3
vocab.jsonAdded