Pradnya27 commited on
Commit
d6586df
·
verified ·
1 Parent(s): 16b8074

Upload model

Browse files
Files changed (4) hide show
  1. README.md +3 -0
  2. config.json +5 -3
  3. generation_config.json +1 -1
  4. model.safetensors +2 -2
README.md CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
 
2
  # CodeGPT Fine-tuned for Code Generation
3
 
 
1
+ ---
2
+ {}
3
+ ---
4
 
5
  # CodeGPT Fine-tuned for Code Generation
6
 
config.json CHANGED
@@ -1,11 +1,13 @@
1
  {
2
  "_num_labels": 2,
3
  "activation_function": "gelu_new",
 
4
  "architectures": [
5
  "GPT2LMHeadModel"
6
  ],
7
  "attn_pdrop": 0.1,
8
  "bos_token_id": 0,
 
9
  "embd_pdrop": 0.1,
10
  "eos_token_id": 2,
11
  "initializer_range": 0.02,
@@ -28,8 +30,8 @@
28
  "summary_proj_to_labels": true,
29
  "summary_type": "cls_index",
30
  "summary_use_proj": true,
31
- "torch_dtype": "float32",
32
- "transformers_version": "4.51.0",
33
- "use_cache": true,
34
  "vocab_size": 50001
35
  }
 
1
  {
2
  "_num_labels": 2,
3
  "activation_function": "gelu_new",
4
+ "add_cross_attention": false,
5
  "architectures": [
6
  "GPT2LMHeadModel"
7
  ],
8
  "attn_pdrop": 0.1,
9
  "bos_token_id": 0,
10
+ "dtype": "float32",
11
  "embd_pdrop": 0.1,
12
  "eos_token_id": 2,
13
  "initializer_range": 0.02,
 
30
  "summary_proj_to_labels": true,
31
  "summary_type": "cls_index",
32
  "summary_use_proj": true,
33
+ "tie_word_embeddings": true,
34
+ "transformers_version": "5.0.0",
35
+ "use_cache": false,
36
  "vocab_size": 50001
37
  }
generation_config.json CHANGED
@@ -3,5 +3,5 @@
3
  "bos_token_id": 0,
4
  "eos_token_id": 2,
5
  "pad_token_id": 1,
6
- "transformers_version": "4.51.0"
7
  }
 
3
  "bos_token_id": 0,
4
  "eos_token_id": 2,
5
  "pad_token_id": 1,
6
+ "transformers_version": "5.0.0"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6f235f7006f2f85a4fb0d193e7d262ddfc08078a5c8dade6c674ed0b5995c468
3
- size 496987776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1938874bcf412b4b01aac1e55681b081dd299b754b66a92364b0570b5c6a51ca
3
+ size 650591056