ep9io commited on
Commit
9f32b7d
1 Parent(s): e06164c

Upload LlamaForSequenceClassification

Browse files
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B",
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
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "id2label": {
13
+ "0": "age",
14
+ "1": "disability",
15
+ "2": "feminine",
16
+ "3": "general",
17
+ "4": "masculine",
18
+ "5": "neutral",
19
+ "6": "racial",
20
+ "7": "sexuality"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 14336,
24
+ "label2id": {
25
+ "age": 0,
26
+ "disability": 1,
27
+ "feminine": 2,
28
+ "general": 3,
29
+ "masculine": 4,
30
+ "neutral": 5,
31
+ "racial": 6,
32
+ "sexuality": 7
33
+ },
34
+ "max_position_embeddings": 8192,
35
+ "mlp_bias": false,
36
+ "model_type": "llama",
37
+ "num_attention_heads": 32,
38
+ "num_hidden_layers": 32,
39
+ "num_key_value_heads": 8,
40
+ "pretraining_tp": 1,
41
+ "problem_type": "multi_label_classification",
42
+ "quantization_config": {
43
+ "_load_in_4bit": true,
44
+ "_load_in_8bit": false,
45
+ "bnb_4bit_compute_dtype": "bfloat16",
46
+ "bnb_4bit_quant_storage": "uint8",
47
+ "bnb_4bit_quant_type": "nf4",
48
+ "bnb_4bit_use_double_quant": true,
49
+ "llm_int8_enable_fp32_cpu_offload": false,
50
+ "llm_int8_has_fp16_weight": false,
51
+ "llm_int8_skip_modules": null,
52
+ "llm_int8_threshold": 6.0,
53
+ "load_in_4bit": true,
54
+ "load_in_8bit": false,
55
+ "quant_method": "bitsandbytes"
56
+ },
57
+ "rms_norm_eps": 1e-05,
58
+ "rope_scaling": null,
59
+ "rope_theta": 500000.0,
60
+ "tie_word_embeddings": false,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.42.4",
63
+ "use_cache": true,
64
+ "vocab_size": 128256
65
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:368b4534a87c2dcee72822aee9f1049db3a3f0bc8939cc8dc3d1652689b1134b
3
+ size 4997579691
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4a8bfe9d163a9adaaf40ffa1786e30a7127941f37f93a83139c7e6f2931601
3
+ size 705833312
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff