Upload PhiForCausalLM
Browse files- config.json +2 -2
- generation_config.json +7 -3
- model-00001-of-00002.safetensors +1 -1
- model-00002-of-00002.safetensors +1 -1
config.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 50256,
|
8 |
"embd_pdrop": 0.0,
|
9 |
-
"eos_token_id":
|
10 |
"hidden_act": "gelu_new",
|
11 |
"hidden_size": 2560,
|
12 |
"initializer_range": 0.02,
|
@@ -24,7 +24,7 @@
|
|
24 |
"rope_theta": 10000.0,
|
25 |
"tie_word_embeddings": false,
|
26 |
"torch_dtype": "bfloat16",
|
27 |
-
"transformers_version": "4.
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 51200
|
30 |
}
|
|
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 50256,
|
8 |
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": 50256,
|
10 |
"hidden_act": "gelu_new",
|
11 |
"hidden_size": 2560,
|
12 |
"initializer_range": 0.02,
|
|
|
24 |
"rope_theta": 10000.0,
|
25 |
"tie_word_embeddings": false,
|
26 |
"torch_dtype": "bfloat16",
|
27 |
+
"transformers_version": "4.46.2",
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 51200
|
30 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"do_sample": true,
|
|
|
3 |
"eos_token_id": 50256,
|
4 |
+
"max_new_tokens": 100,
|
5 |
+
"repetition_penalty": 1.18,
|
6 |
+
"temperature": 0.7,
|
7 |
+
"top_k": 40,
|
8 |
+
"top_p": 0.1,
|
9 |
+
"transformers_version": "4.46.2"
|
10 |
}
|
model-00001-of-00002.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4995584848
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5efefa8b1d876c2bad3509a784ad38f7e0a4e1debc8b566d1a316cd1e796a06f
|
3 |
size 4995584848
|
model-00002-of-00002.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563833008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b69d5a863c74b1a5dd243120046fcbf91be28eaa43b38dac0edb8c5277b5b89e
|
3 |
size 563833008
|