innocent-charles
commited on
Commit
•
10b5dba
1
Parent(s):
378d7ec
Upload folder using huggingface_hub
Browse files- config.json +38 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPT2LMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.1,
|
7 |
+
"batch_size": 32,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"context_window": 16,
|
10 |
+
"d_model": 128,
|
11 |
+
"embd_pdrop": 0.1,
|
12 |
+
"eos_token_id": 50256,
|
13 |
+
"epochs": 3000,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"layer_norm_epsilon": 1e-05,
|
16 |
+
"log_interval": 10,
|
17 |
+
"model_type": "gpt2",
|
18 |
+
"n_embd": 768,
|
19 |
+
"n_head": 12,
|
20 |
+
"n_heads": 8,
|
21 |
+
"n_inner": null,
|
22 |
+
"n_layer": 12,
|
23 |
+
"n_layers": 4,
|
24 |
+
"n_positions": 1024,
|
25 |
+
"reorder_and_upcast_attn": false,
|
26 |
+
"resid_pdrop": 0.1,
|
27 |
+
"scale_attn_by_inverse_layer_idx": false,
|
28 |
+
"scale_attn_weights": true,
|
29 |
+
"summary_activation": null,
|
30 |
+
"summary_first_dropout": 0.1,
|
31 |
+
"summary_proj_to_labels": true,
|
32 |
+
"summary_type": "cls_index",
|
33 |
+
"summary_use_proj": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.38.1",
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 65
|
38 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.38.1"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0878e1ba408b6f29ee2defbce3f4c7beca78772cd895c8d8396e4624203108a
|
3 |
+
size 343584384
|