fxmarty commited on
Commit
c9e073a
·
verified ·
1 Parent(s): 333c9e2

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +6 -6
  2. model.safetensors +2 -2
  3. tokenizer_config.json +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "fxmarty/tiny-llama-fast-tokenizer",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -7,17 +7,17 @@
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 0,
9
  "eos_token_id": 1,
10
- "head_dim": 4,
11
  "hidden_act": "silu",
12
- "hidden_size": 16,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 64,
15
  "max_position_embeddings": 2048,
16
  "mlp_bias": false,
17
  "model_type": "llama",
18
- "num_attention_heads": 4,
19
  "num_hidden_layers": 2,
20
- "num_key_value_heads": 4,
21
  "pad_token_id": -1,
22
  "pretraining_tp": 1,
23
  "quantization_config": {
@@ -68,7 +68,7 @@
68
  "rope_scaling": null,
69
  "rope_theta": 10000.0,
70
  "tie_word_embeddings": false,
71
- "torch_dtype": "float16",
72
  "transformers_version": "4.48.1",
73
  "use_cache": true,
74
  "vocab_size": 32000
 
1
  {
2
+ "_name_or_path": "/home/fxmarty/tiny-llama-head-dim-32/",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 0,
9
  "eos_token_id": 1,
10
+ "head_dim": 32,
11
  "hidden_act": "silu",
12
+ "hidden_size": 64,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 64,
15
  "max_position_embeddings": 2048,
16
  "mlp_bias": false,
17
  "model_type": "llama",
18
+ "num_attention_heads": 2,
19
  "num_hidden_layers": 2,
20
+ "num_key_value_heads": 2,
21
  "pad_token_id": -1,
22
  "pretraining_tp": 1,
23
  "quantization_config": {
 
68
  "rope_scaling": null,
69
  "rope_theta": 10000.0,
70
  "tie_word_embeddings": false,
71
+ "torch_dtype": "float32",
72
  "transformers_version": "4.48.1",
73
  "use_cache": true,
74
  "vocab_size": 32000
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f69fbee6377f857e9c7fdffda85d38095cdac9798c96b7232c438db6b6638be1
3
- size 2061592
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77fbef0349f98682022d128e9a91243595135268f49a6927f65248b2de012538
3
+ size 16448016
tokenizer_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
- "add_prefix_space": true,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",
 
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
+ "add_prefix_space": null,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",