kimsan0622 commited on
Commit
2fdf8e7
·
verified ·
1 Parent(s): 9dcf9c7

Upload LlamaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "result/e5/kimsan0622/code-knowledge-eval",
3
+ "architectures": [
4
+ "LlamaForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "finetuning_task": "text-classification",
11
+ "head_dim": 64,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 2048,
14
+ "id2label": {
15
+ "0": "0",
16
+ "1": "1",
17
+ "2": "2",
18
+ "3": "3",
19
+ "4": "4",
20
+ "5": "5"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 8192,
24
+ "label2id": {
25
+ "0": 0,
26
+ "1": 1,
27
+ "2": 2,
28
+ "3": 3,
29
+ "4": 4,
30
+ "5": 5
31
+ },
32
+ "max_position_embeddings": 131072,
33
+ "mlp_bias": false,
34
+ "model_type": "llama",
35
+ "num_attention_heads": 32,
36
+ "num_hidden_layers": 16,
37
+ "num_key_value_heads": 8,
38
+ "pad_token_id": 128001,
39
+ "pretraining_tp": 1,
40
+ "problem_type": "single_label_classification",
41
+ "rms_norm_eps": 1e-05,
42
+ "rope_scaling": {
43
+ "factor": 32.0,
44
+ "high_freq_factor": 4.0,
45
+ "low_freq_factor": 1.0,
46
+ "original_max_position_embeddings": 8192,
47
+ "rope_type": "llama3"
48
+ },
49
+ "rope_theta": 500000.0,
50
+ "tie_word_embeddings": true,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.44.2",
53
+ "use_cache": true,
54
+ "vocab_size": 128256
55
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ce7c045083db3d61b932db819384add04b37de933a1df1ddc06379e54ccf32d
3
+ size 4943323568