oi-fdibaldassarre commited on
Commit
5d3f4ec
·
verified ·
1 Parent(s): e9ffcc0

Upload model

Browse files
Files changed (3) hide show
  1. config.json +41 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TinyLlama/TinyLlama_v1.1",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoModelForSequenceClassification": "modeling_custom.CustomModelForSequenceClassification"
10
+ },
11
+ "bos_token_id": 1,
12
+ "custom_pipelines": {
13
+ "text-generation": {
14
+ "pt": "AutoModelForCausalLM"
15
+ }
16
+ },
17
+ "eos_token_id": 2,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 2048,
20
+ "id2label": {
21
+ "0": "EXPLOSIVES AND BREAKING AGENTS",
22
+ "1": "EXPLODING VESSELS UNDER PRESSURE"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 5632,
26
+ "max_position_embeddings": 2048,
27
+ "model_type": "llama",
28
+ "num_attention_heads": 32,
29
+ "num_hidden_layers": 22,
30
+ "num_key_value_heads": 4,
31
+ "pad_token_id": 0,
32
+ "pretraining_tp": 1,
33
+ "rms_norm_eps": 1e-05,
34
+ "rope_scaling": null,
35
+ "rope_theta": 10000.0,
36
+ "tie_word_embeddings": false,
37
+ "torch_dtype": "float16",
38
+ "transformers_version": "4.39.2",
39
+ "use_cache": true,
40
+ "vocab_size": 32000
41
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "max_length": 2048,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.39.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5a7fbb07034f1f30aa78c1517403e0a7b40dd8f948c909e702c0a007bd78a3a
3
+ size 2200119664