Upload folder using huggingface_hub
Browse files- config.json +6 -6
- model.safetensors +2 -2
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "fxmarty/tiny-llama-
|
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":
|
11 |
"hidden_act": "silu",
|
12 |
-
"hidden_size":
|
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":
|
19 |
"num_hidden_layers": 2,
|
20 |
-
"num_key_value_heads":
|
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": "
|
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:
|
3 |
-
size
|
|
|
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":
|
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>",
|