Gruhit Patel commited on
Improvised the model
Browse files- config.json +1 -1
- special_tokens_map.json +7 -1
- tf_model.h5 +2 -2
- tokenizer_config.json +7 -0
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "gruhit13/quote-generator-v2",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
special_tokens_map.json
CHANGED
|
@@ -20,5 +20,11 @@
|
|
| 20 |
"rstrip": false,
|
| 21 |
"single_word": false
|
| 22 |
},
|
| 23 |
-
"unk_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
|
|
|
| 20 |
"rstrip": false,
|
| 21 |
"single_word": false
|
| 22 |
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<|endoftext|>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": true,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
}
|
tf_model.h5
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:ab5a822841e062adc0f98062f25ccac8dac5d40c9afc9183caff9abdc2eae553
|
| 3 |
+
size 497947728
|
tokenizer_config.json
CHANGED
|
@@ -45,8 +45,15 @@
|
|
| 45 |
"bos_token": "<startoftext>",
|
| 46 |
"clean_up_tokenization_spaces": true,
|
| 47 |
"eos_token": "<endoftext>",
|
|
|
|
| 48 |
"model_max_length": 1024,
|
|
|
|
| 49 |
"pad_token": "<pad>",
|
|
|
|
|
|
|
|
|
|
| 50 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
|
|
|
| 51 |
"unk_token": "<|endoftext|>"
|
| 52 |
}
|
|
|
|
| 45 |
"bos_token": "<startoftext>",
|
| 46 |
"clean_up_tokenization_spaces": true,
|
| 47 |
"eos_token": "<endoftext>",
|
| 48 |
+
"max_length": 128,
|
| 49 |
"model_max_length": 1024,
|
| 50 |
+
"pad_to_multiple_of": null,
|
| 51 |
"pad_token": "<pad>",
|
| 52 |
+
"pad_token_type_id": 0,
|
| 53 |
+
"padding_side": "right",
|
| 54 |
+
"stride": 0,
|
| 55 |
"tokenizer_class": "GPT2Tokenizer",
|
| 56 |
+
"truncation_side": "right",
|
| 57 |
+
"truncation_strategy": "longest_first",
|
| 58 |
"unk_token": "<|endoftext|>"
|
| 59 |
}
|