Team Ai
Modelpublic

TaruniSwathi/codegen-java-finetuned

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes44downloads
config.json42 linesDownload Raw Back to root
1{2  "activation_function": "gelu_new",3  "architectures": [4    "CodeGenForCausalLM"5  ],6  "attn_pdrop": 0.0,7  "bos_token_id": 1,8  "embd_pdrop": 0.0,9  "eos_token_id": 50256,10  "gradient_checkpointing": false,11  "initializer_range": 0.02,12  "layer_norm_epsilon": 1e-05,13  "model_type": "codegen",14  "n_ctx": 2048,15  "n_embd": 1024,16  "n_head": 16,17  "n_inner": null,18  "n_layer": 20,19  "n_positions": 2048,20  "resid_pdrop": 0.0,21  "rotary_dim": 32,22  "scale_attn_weights": true,23  "summary_activation": null,24  "summary_first_dropout": 0.1,25  "summary_proj_to_labels": true,26  "summary_type": "cls_index",27  "summary_use_proj": true,28  "task_specific_params": {29    "text-generation": {30      "do_sample": true,31      "max_length": 50,32      "temperature": 1.033    }34  },35  "tie_word_embeddings": false,36  "tokenizer_class": "GPT2Tokenizer",37  "torch_dtype": "float32",38  "transformers_version": "4.52.4",39  "use_cache": true,40  "vocab_size": 5120041}42