rahiminia commited on
Commit
0b4ca20
·
verified ·
1 Parent(s): b5ea119

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +2 -2
  2. model.onnx +3 -0
  3. special_tokens_map.json +0 -1
  4. tokenizer_config.json +0 -1
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "_name_or_path": "HooshvareLab/gpt2-fa",
3
  "activation_function": "gelu_new",
4
  "architectures": [
@@ -35,8 +36,7 @@
35
  "top_p": 0.95
36
  }
37
  },
38
- "torch_dtype": "float32",
39
  "transformers_version": "4.47.1",
40
- "use_cache": true,
41
  "vocab_size": 42001
42
  }
 
1
  {
2
+ "_attn_implementation_autoset": true,
3
  "_name_or_path": "HooshvareLab/gpt2-fa",
4
  "activation_function": "gelu_new",
5
  "architectures": [
 
36
  "top_p": 0.95
37
  }
38
  },
 
39
  "transformers_version": "4.47.1",
40
+ "use_cache": false,
41
  "vocab_size": 42001
42
  }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff2e0bd0c914e93f49c143c25eccfe4c85b4910e063758d70a49afa9d5058806
3
+ size 474005182
special_tokens_map.json CHANGED
@@ -13,7 +13,6 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
 
16
  "unk_token": {
17
  "content": "<|endoftext|>",
18
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -104,7 +104,6 @@
104
  "errors": "replace",
105
  "extra_special_tokens": {},
106
  "model_max_length": 1024,
107
- "pad_token": "<|endoftext|>",
108
  "tokenizer_class": "GPT2Tokenizer",
109
  "unk_token": "<|endoftext|>"
110
  }
 
104
  "errors": "replace",
105
  "extra_special_tokens": {},
106
  "model_max_length": 1024,
 
107
  "tokenizer_class": "GPT2Tokenizer",
108
  "unk_token": "<|endoftext|>"
109
  }