lucasdozie commited on
Commit
9a1e3fc
·
verified ·
1 Parent(s): 323512b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitignore +3 -0
  2. config.json +13 -0
  3. tokenizer_config.json +8 -0
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ upload_model.py
2
+ transformers_inference_base.py
3
+ sample.ipynb
config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "OpenHermesModel"
4
+ ],
5
+ "model_type": "gpt",
6
+ "num_attention_heads": 12,
7
+ "num_hidden_layers": 24,
8
+ "hidden_size": 1024,
9
+ "vocab_size": 50257,
10
+ "n_positions": 1024,
11
+ "n_ctx": 1024,
12
+ "activation_function": "gelu_new"
13
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokenizer_class": "GPT2Tokenizer",
3
+ "bos_token": "<|endoftext|>",
4
+ "eos_token": "<|endoftext|>",
5
+ "unk_token": "<|unk|>",
6
+ "pad_token": "<|pad|>",
7
+ "add_prefix_space": true
8
+ }