Ali Safaya
commited on
Commit
•
a666c50
1
Parent(s):
16bdaec
update checkpoints to safetensors
Browse files- config.json +4 -6
- flax_model.msgpack +1 -1
- generation_config.json +4 -4
- model.safetensors +3 -0
- pytorch_model.bin +1 -1
- tokenizer_config.json +1 -0
config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "asafaya/turkish-gpt-j-750m",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPTJForCausalLM"
|
@@ -29,16 +28,15 @@
|
|
29 |
"task_specific_params": {
|
30 |
"text-generation": {
|
31 |
"do_sample": true,
|
32 |
-
"max_length":
|
33 |
-
"temperature": 0.
|
34 |
-
"
|
35 |
-
"top_p": 0.95
|
36 |
}
|
37 |
},
|
38 |
"tie_word_embeddings": false,
|
39 |
"tokenizer_class": "GPT2Tokenizer",
|
40 |
"torch_dtype": "float32",
|
41 |
-
"transformers_version": "4.
|
42 |
"use_cache": true,
|
43 |
"vocab_size": 32768
|
44 |
}
|
|
|
1 |
{
|
|
|
2 |
"activation_function": "gelu_new",
|
3 |
"architectures": [
|
4 |
"GPTJForCausalLM"
|
|
|
28 |
"task_specific_params": {
|
29 |
"text-generation": {
|
30 |
"do_sample": true,
|
31 |
+
"max_length": 2048,
|
32 |
+
"temperature": 0.8,
|
33 |
+
"top_k": 50
|
|
|
34 |
}
|
35 |
},
|
36 |
"tie_word_embeddings": false,
|
37 |
"tokenizer_class": "GPT2Tokenizer",
|
38 |
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.37.2",
|
40 |
"use_cache": true,
|
41 |
"vocab_size": 32768
|
42 |
}
|
flax_model.msgpack
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2953630278
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfeed49a17d08aa02567cb9d86236a87c3e1f991ad2370ea33924b578fffe4e6
|
3 |
size 2953630278
|
generation_config.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"bos_token_id": 0,
|
3 |
"eos_token_id": 2,
|
4 |
-
"transformers_version": "4.31.0"
|
5 |
"do_sample": true,
|
6 |
-
"temperature": 0.
|
7 |
-
"max_length":
|
8 |
-
"
|
9 |
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 0,
|
3 |
"eos_token_id": 2,
|
4 |
+
"transformers_version": "4.31.0",
|
5 |
"do_sample": true,
|
6 |
+
"temperature": 0.8,
|
7 |
+
"max_length": 2048,
|
8 |
+
"top_k": 50
|
9 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6c55c31be8bd5d2e2fde4505386d381a140f7bdf578aa22ed88586d146cf6c2
|
3 |
+
size 2953638952
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2953664641
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65391d2fae2dba34e9d20af5979789a70f981e5bdbbc9c27de9563b0443c455c
|
3 |
size 2953664641
|
tokenizer_config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"add_prefix_space": true,
|
3 |
"bos_token": {
|
4 |
"__type": "AddedToken",
|
|
|
1 |
{
|
2 |
+
"add_bos_token": true,
|
3 |
"add_prefix_space": true,
|
4 |
"bos_token": {
|
5 |
"__type": "AddedToken",
|