philomath-1209/programming-language-identification
137.7k
1{2 "_name_or_path": "huggingface/CodeBERTa-small-v1",3 "architectures": [4 "RobertaForSequenceClassification"5 ],6 "attention_probs_dropout_prob": 0.1,7 "bos_token_id": 0,8 "classifier_dropout": null,9 "eos_token_id": 2,10 "hidden_act": "gelu",11 "hidden_dropout_prob": 0.1,12 "hidden_size": 768,13 "id2label": {14 "0": "Scala",15 "1": "JavaScript",16 "2": "COBOL",17 "3": "ARM Assembly",18 "4": "R",19 "5": "Lua",20 "6": "C++",21 "7": "Visual Basic .NET",22 "8": "Go",23 "9": "Erlang",24 "10": "C#",25 "11": "Rust",26 "12": "Ruby",27 "13": "Swift",28 "14": "Mathematica/Wolfram Language",29 "15": "PHP",30 "16": "Fortran",31 "17": "AppleScript",32 "18": "Pascal",33 "19": "Java",34 "20": "PowerShell",35 "21": "Python",36 "22": "C",37 "23": "Perl",38 "24": "Kotlin",39 "25": "jq"40 },41 "initializer_range": 0.02,42 "intermediate_size": 3072,43 "label2id": {44 "ARM Assembly": 3,45 "AppleScript": 17,46 "C": 22,47 "C#": 10,48 "C++": 6,49 "COBOL": 2,50 "Erlang": 9,51 "Fortran": 16,52 "Go": 8,53 "Java": 19,54 "JavaScript": 1,55 "Kotlin": 24,56 "Lua": 5,57 "Mathematica/Wolfram Language": 14,58 "PHP": 15,59 "Pascal": 18,60 "Perl": 23,61 "PowerShell": 20,62 "Python": 21,63 "R": 4,64 "Ruby": 12,65 "Rust": 11,66 "Scala": 0,67 "Swift": 13,68 "Visual Basic .NET": 7,69 "jq": 2570 },71 "layer_norm_eps": 1e-05,72 "max_position_embeddings": 514,73 "model_type": "roberta",74 "num_attention_heads": 12,75 "num_hidden_layers": 6,76 "pad_token_id": 1,77 "position_embedding_type": "absolute",78 "problem_type": "single_label_classification",79 "torch_dtype": "float32",80 "transformers_version": "4.36.2",81 "type_vocab_size": 1,82 "use_cache": true,83 "vocab_size": 5200084}85 