TinyPixel commited on
Commit
1caf855
·
1 Parent(s): 6fe39af

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +38 -19
  2. generation_config.json +2 -2
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,27 +1,46 @@
1
  {
2
- "_name_or_path": "TinyPixel/tiny-model",
 
 
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
- "attention_bias": false,
7
- "bos_token_id": 1,
8
- "eos_token_id": 2,
9
- "hidden_act": "silu",
10
- "hidden_size": 768,
 
 
11
  "initializer_range": 0.02,
12
- "intermediate_size": 3072,
13
- "max_position_embeddings": 1024,
14
- "model_type": "llama",
15
- "num_attention_heads": 24,
16
- "num_hidden_layers": 6,
17
- "num_key_value_heads": 8,
18
- "pretraining_tp": 1,
19
- "rms_norm_eps": 1e-05,
20
- "rope_scaling": null,
21
- "rope_theta": 10000.0,
22
- "tie_word_embeddings": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  "torch_dtype": "float32",
24
  "transformers_version": "4.35.2",
25
  "use_cache": true,
26
- "vocab_size": 32128
27
  }
 
1
  {
2
+ "_name_or_path": "distilgpt2",
3
+ "_num_labels": 1,
4
+ "activation_function": "gelu_new",
5
  "architectures": [
6
+ "GPT2LMHeadModel"
7
  ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
  "initializer_range": 0.02,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 6,
26
+ "n_positions": 1024,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.35.2",
44
  "use_cache": true,
45
+ "vocab_size": 50257
46
  }
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
  "transformers_version": "4.35.2"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
  "transformers_version": "4.35.2"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:81471db8a1faa13ecc15f934abdd0e3ab16332f70aa4836045292d5f44ab51d1
3
- size 405058720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2cc00e241d12cf83e3f5bf26697ebbb24b37b4e3c3e3189f5a3910cce4da81e
3
+ size 327657928