DiKay commited on
Commit
b82555a
·
verified ·
1 Parent(s): f872780

Upload 9 files

Browse files
Modelfile ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #DiKay/myMod
2
+ FROM C:\Users\DetelinkaTrifonova\Desktop\model
3
+
4
+
5
+
6
+
7
+ # sets the temperature to 1 [higher is more creative, lower is more coherent]. Default: 0.8, Example: temperature 0.7
8
+ PARAMETER temperature 0.7
9
+
10
+ # sets the influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive. (Default: 0.1)
11
+ PARAMETER mirostat_eta 0.1
12
+
13
+ # sets the controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text. (Default: 5.0)
14
+ PARAMETER mirostat_tau 5.0
15
+
16
+ # sets the context window size to 4096, this controls how many tokens the LLM can use as context to generate the next token
17
+ PARAMETER num_ctx 4096
18
+
19
+ # sets the maximum number of tokens to predict when generating text. (Default: 128, -1 = infinite generation, -2 = fill context)
20
+ PARAMETER num_predict 42
21
+
22
+ # sets and reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)
23
+ PARAMETER top_k 40
24
+
25
+ # sets and works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)
26
+ PARAMETER top_p 0.9
27
+
28
+
29
+
30
+ TEMPLATE """{{ if .System }}<|im_start|>system
31
+ {{ .System }}<|im_end|>
32
+ {{ end }}{{ if .Prompt }}<|im_start|>user
33
+ {{ .Prompt }}<|im_end|>
34
+ {{ end }}<|im_start|>assistant
35
+ """
36
+
37
+
38
+
39
+ # sets a custom system message to specify the behavior of the chat assistant
40
+ SYSTEM You are genius Chat-GPT4o, acting as an assistant. You're as accurate as possible without hallucinations.
41
+
42
+
43
+
44
+ LICENSE DK CORP. LOL
45
+
46
+
47
+
48
+
49
+ MESSAGE user
50
+ MESSAGE assistant
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "DiKay/myMod",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "pad_token_id": 0,
21
+ "reorder_and_upcast_attn": false,
22
+ "resid_pdrop": 0.1,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "task_specific_params": {
31
+ "text-generation": {
32
+ "do_sample": true,
33
+ "max_length": 50
34
+ }
35
+ },
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.41.0",
38
+ "use_cache": true,
39
+ "vocab_size": 50257
40
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.41.0"
7
+ }
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:5a17da846f67e27b68f03c36dfa43fa8b2d5a56d8551961bd8e4992f17c5e9d3
3
+ size 497774208
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "model_max_length": 1024,
19
+ "pad_token": "<|endoftext|>",
20
+ "tokenizer_class": "GPT2Tokenizer",
21
+ "unk_token": "<|endoftext|>"
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053043db0815aea24292182e77f8d1d3321221520657ff4132ece453e8b72dea
3
+ size 4667
vocab.json ADDED
The diff for this file is too large to render. See raw diff