bitlabsdb commited on
Commit
a2885b2
·
verified ·
1 Parent(s): 5f4905d

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ tags: [gpt2, llm, scratch-implementation]
4
+ license: mit
5
+ ---
6
+ # Custom GPT-2 (124M)
7
+ Trained from scratch. Final Val Loss: 4.2818
config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GPTModel"
4
+ ],
5
+ "model_type": "gpt2",
6
+ "vocab_size": 50257,
7
+ "n_positions": 1024,
8
+ "n_embd": 768,
9
+ "n_layer": 12,
10
+ "n_head": 12,
11
+ "resid_pdrop": 0.1,
12
+ "activation_function": "gelu_new",
13
+ "initializer_range": 0.02,
14
+ "bos_token_id": 50256,
15
+ "eos_token_id": 50256
16
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9c7dc88b8666d3f877144bccb7a03bc311b32c8fd43b8d1fca013674d1e7043
3
+ size 652051984
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2e7f28203b722cc5059542e2ea11b8f8dead9635c5828504d9eb7d2814db726
3
+ size 652081351
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": false,
15
+ "eos_token": "<|endoftext|>",
16
+ "extra_special_tokens": {},
17
+ "model_max_length": 1024,
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff