DavidAU commited on
Commit
c64330a
1 Parent(s): 10c3aaf

Upload 6 files

Browse files
Files changed (2) hide show
  1. config.json +13 -5
  2. tokenizer_config.json +6 -6
config.json CHANGED
@@ -1,17 +1,21 @@
1
  {
2
- "_name_or_path": "KoboldAI/LLaMA2-13B-Tiefighter",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
 
 
 
 
8
  "bos_token_id": 1,
9
  "eos_token_id": 2,
10
  "hidden_act": "silu",
11
  "hidden_size": 5120,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 13824,
14
- "max_position_embeddings": 4096,
15
  "model_type": "llama",
16
  "num_attention_heads": 40,
17
  "num_hidden_layers": 40,
@@ -19,12 +23,16 @@
19
  "pad_token_id": 0,
20
  "pretraining_tp": 1,
21
  "rms_norm_eps": 1e-05,
22
- "rope_scaling": null,
 
 
 
 
 
23
  "rope_theta": 10000.0,
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.40.1",
27
  "use_cache": true,
28
- "vocab_size": 32000,
29
- "welcome": "# Welcome to Tiefighter by KoboldAI Henky!! \nTiefighter is a unique merge model that combines the best of fictional use cases into one model, a true all-rounder.\nThis does mean that the model may take some steering in the beginning of your session to guide it towards what you want to do.\n\nThis model is meant to be creative, If you let it improvise you get better results than if you drown it in details.\n\n## Story Writing\nRegular story writing in the traditional way is supported, simply copy paste your story and continue writing. Optionally use an instruction in memory or an authors note to guide the direction of your story.\n\n### Generate a story on demand\nTo generate stories on demand you can use an instruction (tested in the Alpaca format) such as \"Write a novel about X, use chapters and dialogue\" this will generate a story. The format can vary between generations depending on how the model chooses to begin, either write what you want as shown in the earlier example or write the beginning of the story yourself so the model can follow your style. A few retries can also help if the model gets it wrong.\n\n## Chatbots and persona's\nThis model has been tested with various forms of chatting, testers have found that typically less is more and the model is good at improvising. Don't drown the model in paragraphs of detailed information, instead keep it simple first and see how far you can lean on the models own ability to figure out your character. Copy pasting paragraphs of background information is not suitable for a 13B model such as this one, code formatted characters or an instruction prompt describing who you wish to talk to goes much further.\n\nFor example, you can put this in memory in regular chat mode:\n``` \n### Instruction: \nGenerate a conversation between Alice and Henk where they discuss language models.\nIn this conversation Henk is excited to teach Alice about Tiefigther. \n### Response: \n```\n\nBecause the model is a merge of a variety of models, it should support a broad range of instruct formats, or plain chat mode. If you have a particular favourite try it, otherwise we recommend to either use the regular chat mode or Alpaca's format.\n\n## Instruct Prompting\nThis model features various instruct models on a variety of instruction styles, when testing the model we have used Alpaca for our own tests. If you prefer a different format chances are it can work.\n\nDuring instructions we have observed that in some cases the adventure data can leak, it may also be worth experimenting using > as the prefix for a user command to remedy this. But this may result in a stronger fiction bias.\n\nKeep in mind that while this model can be used as a factual instruct model, the focus was on fiction. Information provided by the model can be made up.\n\n## Adventuring and Adventure Games\nThis model contains a lora that was trained on the same adventure dataset as the KoboldAI Skein model. Adventuring is best done using an small introduction to the world and your objective while using the > prefix for a user command (KoboldAI's adventure mode).\n\nIt is possible that the model does not immediately pick up on what you wish to do and does not engage in its Adventure mode behaviour right away. Simply manually correct the output to trim excess dialogue or other undesirable behaviour and continue to submit your actions using the appropriate mode. The model should pick up on this style quickly and will correctly follow this format within 3 turns.\n\n## Discovered something cool and want to engage with us? \nJoin our community at https://koboldai.org/discord !\n\n### This model would not be possible without the awesome work from: \nUndi95, PocketDoc, Blackroot, Brouz, The Face of Goonery, zattio770, PygmalionAI, TokenBender, nRuaif, lemonilia, Xwin-LM, elinas, jondurbin, NousResearch, CalderaAI, MrSeeker, OpenAssistant, ehartford, Henk717, AI Dungeon, StabilityAI and zattio770."
30
  }
 
1
  {
2
+ "_name_or_path": "ddh0/OrcaMaid-v3-13b-32k",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "ddh0/OrcaMaid-v3-13b-32k--configuration_llama.LlamaConfig",
10
+ "AutoModelForCausalLM": "ddh0/OrcaMaid-v3-13b-32k--modeling_llama_yarn.LlamaForCausalLM"
11
+ },
12
  "bos_token_id": 1,
13
  "eos_token_id": 2,
14
  "hidden_act": "silu",
15
  "hidden_size": 5120,
16
  "initializer_range": 0.02,
17
  "intermediate_size": 13824,
18
+ "max_position_embeddings": 32768,
19
  "model_type": "llama",
20
  "num_attention_heads": 40,
21
  "num_hidden_layers": 40,
 
23
  "pad_token_id": 0,
24
  "pretraining_tp": 1,
25
  "rms_norm_eps": 1e-05,
26
+ "rope_scaling": {
27
+ "factor": 8.0,
28
+ "finetuned": false,
29
+ "original_max_position_embeddings": 4096,
30
+ "type": "yarn"
31
+ },
32
  "rope_theta": 10000.0,
33
  "tie_word_embeddings": false,
34
  "torch_dtype": "bfloat16",
35
  "transformers_version": "4.40.1",
36
  "use_cache": true,
37
+ "vocab_size": 32000
 
38
  }
tokenizer_config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
- "add_prefix_space": true,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",
@@ -26,18 +25,19 @@
26
  "rstrip": false,
27
  "single_word": false,
28
  "special": true
29
- }
30
  },
31
- "additional_special_tokens": [],
32
  "bos_token": "<s>",
33
  "clean_up_tokenization_spaces": false,
34
  "eos_token": "</s>",
35
  "legacy": true,
36
- "model_max_length": 1000000000000000019884624838656,
37
- "pad_token": "<unk>",
 
38
  "sp_model_kwargs": {},
39
  "spaces_between_special_tokens": false,
40
  "tokenizer_class": "LlamaTokenizer",
41
  "unk_token": "<unk>",
42
- "use_default_system_prompt": true
 
43
  }
 
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
 
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
 
25
  "rstrip": false,
26
  "single_word": false,
27
  "special": true
28
+ }
29
  },
 
30
  "bos_token": "<s>",
31
  "clean_up_tokenization_spaces": false,
32
  "eos_token": "</s>",
33
  "legacy": true,
34
+ "model_max_length": 2048,
35
+ "pad_token": null,
36
+ "padding_side": "left",
37
  "sp_model_kwargs": {},
38
  "spaces_between_special_tokens": false,
39
  "tokenizer_class": "LlamaTokenizer",
40
  "unk_token": "<unk>",
41
+ "use_default_system_prompt": false,
42
+ "use_fast": true
43
  }