AbdullahTarek commited on
Commit
79ee0bb
·
verified ·
1 Parent(s): fd3665f

Upload LlamaForSequenceClassification

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