jonathanjordan21
commited on
Commit
•
bc05180
1
Parent(s):
e1fbd10
Upload LlamaForSequenceClassification
Browse files- config.json +52 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-135M-Instruct",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"head_dim": 64,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 576,
|
13 |
+
"id2label": {
|
14 |
+
"0": "NEGATIVE",
|
15 |
+
"1": "NEUTRAL",
|
16 |
+
"2": "POSITIVE",
|
17 |
+
"3": "MIXED"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.041666666666666664,
|
20 |
+
"intermediate_size": 1536,
|
21 |
+
"is_llama_config": true,
|
22 |
+
"label2id": {
|
23 |
+
"MIXED": 3,
|
24 |
+
"NEGATIVE": 0,
|
25 |
+
"NEUTRAL": 1,
|
26 |
+
"POSITIVE": 2
|
27 |
+
},
|
28 |
+
"max_position_embeddings": 8192,
|
29 |
+
"mlp_bias": false,
|
30 |
+
"model_type": "llama",
|
31 |
+
"num_attention_heads": 9,
|
32 |
+
"num_hidden_layers": 30,
|
33 |
+
"num_key_value_heads": 3,
|
34 |
+
"pad_token_id": 2,
|
35 |
+
"pretraining_tp": 1,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"rms_norm_eps": 1e-05,
|
38 |
+
"rope_interleaved": false,
|
39 |
+
"rope_scaling": null,
|
40 |
+
"rope_theta": 100000,
|
41 |
+
"tie_word_embeddings": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers.js_config": {
|
44 |
+
"kv_cache_dtype": {
|
45 |
+
"fp16": "float16",
|
46 |
+
"q4f16": "float16"
|
47 |
+
}
|
48 |
+
},
|
49 |
+
"transformers_version": "4.45.1",
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 49152
|
52 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b075cabf9d494bc22faccf86b85b3711b4ebe8c0e672dcca06a2f8bc3e41b61
|
3 |
+
size 538099704
|