Upload folder using huggingface_hub
Browse files- config.json +25 -0
 - generation_config.json +6 -0
 - model-00001-of-00003.safetensors +3 -0
 - model-00002-of-00003.safetensors +3 -0
 - model-00003-of-00003.safetensors +3 -0
 - special_tokens_map.json +23 -0
 - speculator.safetensors +3 -0
 - speculator_config.json +7 -0
 - tokenizer.json +0 -0
 - tokenizer.model +3 -0
 - tokenizer_config.json +44 -0
 
    	
        config.json
    ADDED
    
    | 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "architectures": [
         
     | 
| 3 | 
         
            +
                "MistralForCausalLM"
         
     | 
| 4 | 
         
            +
              ],
         
     | 
| 5 | 
         
            +
              "attention_dropout": 0.0,
         
     | 
| 6 | 
         
            +
              "bos_token_id": 1,
         
     | 
| 7 | 
         
            +
              "eos_token_id": 2,
         
     | 
| 8 | 
         
            +
              "hidden_act": "silu",
         
     | 
| 9 | 
         
            +
              "hidden_size": 4096,
         
     | 
| 10 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 11 | 
         
            +
              "intermediate_size": 14336,
         
     | 
| 12 | 
         
            +
              "max_position_embeddings": 32768,
         
     | 
| 13 | 
         
            +
              "model_type": "mistral",
         
     | 
| 14 | 
         
            +
              "num_attention_heads": 32,
         
     | 
| 15 | 
         
            +
              "num_hidden_layers": 32,
         
     | 
| 16 | 
         
            +
              "num_key_value_heads": 8,
         
     | 
| 17 | 
         
            +
              "rms_norm_eps": 1e-05,
         
     | 
| 18 | 
         
            +
              "rope_theta": 1000000.0,
         
     | 
| 19 | 
         
            +
              "sliding_window": null,
         
     | 
| 20 | 
         
            +
              "tie_word_embeddings": false,
         
     | 
| 21 | 
         
            +
              "torch_dtype": "bfloat16",
         
     | 
| 22 | 
         
            +
              "transformers_version": "4.36.0",
         
     | 
| 23 | 
         
            +
              "use_cache": true,
         
     | 
| 24 | 
         
            +
              "vocab_size": 32000
         
     | 
| 25 | 
         
            +
            }
         
     | 
    	
        generation_config.json
    ADDED
    
    | 
         @@ -0,0 +1,6 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_from_model_config": true,
         
     | 
| 3 | 
         
            +
              "bos_token_id": 1,
         
     | 
| 4 | 
         
            +
              "eos_token_id": 2,
         
     | 
| 5 | 
         
            +
              "transformers_version": "4.36.0"
         
     | 
| 6 | 
         
            +
            }
         
     | 
    	
        model-00001-of-00003.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:17158e93890c1031cfbb64bcd5fe142380e52293cbe5d4eb5dbf8a735ba40487
         
     | 
| 3 | 
         
            +
            size 461375968
         
     | 
    	
        model-00002-of-00003.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:612e1a0896dfdbf1d0091cc5b26436640aef002446463553290382ca402dbaba
         
     | 
| 3 | 
         
            +
            size 503319264
         
     | 
    	
        model-00003-of-00003.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:75ca44e2479c82a3b3751a8433d6a8fc64d0e301d1989b3ef3ad866c9fee083f
         
     | 
| 3 | 
         
            +
            size 377489448
         
     | 
    	
        special_tokens_map.json
    ADDED
    
    | 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "bos_token": {
         
     | 
| 3 | 
         
            +
                "content": "<s>",
         
     | 
| 4 | 
         
            +
                "lstrip": false,
         
     | 
| 5 | 
         
            +
                "normalized": false,
         
     | 
| 6 | 
         
            +
                "rstrip": false,
         
     | 
| 7 | 
         
            +
                "single_word": false
         
     | 
| 8 | 
         
            +
              },
         
     | 
| 9 | 
         
            +
              "eos_token": {
         
     | 
| 10 | 
         
            +
                "content": "</s>",
         
     | 
| 11 | 
         
            +
                "lstrip": false,
         
     | 
| 12 | 
         
            +
                "normalized": false,
         
     | 
| 13 | 
         
            +
                "rstrip": false,
         
     | 
| 14 | 
         
            +
                "single_word": false
         
     | 
| 15 | 
         
            +
              },
         
     | 
| 16 | 
         
            +
              "unk_token": {
         
     | 
| 17 | 
         
            +
                "content": "<unk>",
         
     | 
| 18 | 
         
            +
                "lstrip": false,
         
     | 
| 19 | 
         
            +
                "normalized": false,
         
     | 
| 20 | 
         
            +
                "rstrip": false,
         
     | 
| 21 | 
         
            +
                "single_word": false
         
     | 
| 22 | 
         
            +
              }
         
     | 
| 23 | 
         
            +
            }
         
     | 
    	
        speculator.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:9f9731ab9e60ef5dcd8b6ba5824201543fdaa3b30dc64f35ba4a5a0f73e87bd4
         
     | 
| 3 | 
         
            +
            size 100688400
         
     | 
    	
        speculator_config.json
    ADDED
    
    | 
         @@ -0,0 +1,7 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
         
     | 
| 3 | 
         
            +
              "turbo_num_heads": 3,
         
     | 
| 4 | 
         
            +
              "turbo_num_layers": 1,
         
     | 
| 5 | 
         
            +
              "transformers_version": "4.40.2",
         
     | 
| 6 | 
         
            +
              "version": "2"
         
     | 
| 7 | 
         
            +
            }
         
     | 
    	
        tokenizer.json
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         | 
    	
        tokenizer.model
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
         
     | 
| 3 | 
         
            +
            size 493443
         
     | 
    	
        tokenizer_config.json
    ADDED
    
    | 
         @@ -0,0 +1,44 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "add_bos_token": true,
         
     | 
| 3 | 
         
            +
              "add_eos_token": false,
         
     | 
| 4 | 
         
            +
              "add_prefix_space": null,
         
     | 
| 5 | 
         
            +
              "added_tokens_decoder": {
         
     | 
| 6 | 
         
            +
                "0": {
         
     | 
| 7 | 
         
            +
                  "content": "<unk>",
         
     | 
| 8 | 
         
            +
                  "lstrip": false,
         
     | 
| 9 | 
         
            +
                  "normalized": false,
         
     | 
| 10 | 
         
            +
                  "rstrip": false,
         
     | 
| 11 | 
         
            +
                  "single_word": false,
         
     | 
| 12 | 
         
            +
                  "special": true
         
     | 
| 13 | 
         
            +
                },
         
     | 
| 14 | 
         
            +
                "1": {
         
     | 
| 15 | 
         
            +
                  "content": "<s>",
         
     | 
| 16 | 
         
            +
                  "lstrip": false,
         
     | 
| 17 | 
         
            +
                  "normalized": false,
         
     | 
| 18 | 
         
            +
                  "rstrip": false,
         
     | 
| 19 | 
         
            +
                  "single_word": false,
         
     | 
| 20 | 
         
            +
                  "special": true
         
     | 
| 21 | 
         
            +
                },
         
     | 
| 22 | 
         
            +
                "2": {
         
     | 
| 23 | 
         
            +
                  "content": "</s>",
         
     | 
| 24 | 
         
            +
                  "lstrip": false,
         
     | 
| 25 | 
         
            +
                  "normalized": false,
         
     | 
| 26 | 
         
            +
                  "rstrip": false,
         
     | 
| 27 | 
         
            +
                  "single_word": false,
         
     | 
| 28 | 
         
            +
                  "special": true
         
     | 
| 29 | 
         
            +
                }
         
     | 
| 30 | 
         
            +
              },
         
     | 
| 31 | 
         
            +
              "additional_special_tokens": [],
         
     | 
| 32 | 
         
            +
              "bos_token": "<s>",
         
     | 
| 33 | 
         
            +
              "chat_template": "{%- if messages[0]['role'] == 'system' %}\n    {%- set system_message = messages[0]['content'] %}\n    {%- set loop_messages = messages[1:] %}\n{%- else %}\n    {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n    {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n        {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n    {%- endif %}\n    {%- if message['role'] == 'user' %}\n        {%- if loop.first and system_message is defined %}\n            {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n        {%- else %}\n            {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n        {%- endif %}\n    {%- elif message['role'] == 'assistant' %}\n        {{- ' ' + message['content'] + eos_token}}\n    {%- else %}\n        {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n    {%- endif %}\n{%- endfor %}\n",
         
     | 
| 34 | 
         
            +
              "clean_up_tokenization_spaces": false,
         
     | 
| 35 | 
         
            +
              "eos_token": "</s>",
         
     | 
| 36 | 
         
            +
              "legacy": false,
         
     | 
| 37 | 
         
            +
              "model_max_length": 1000000000000000019884624838656,
         
     | 
| 38 | 
         
            +
              "pad_token": null,
         
     | 
| 39 | 
         
            +
              "sp_model_kwargs": {},
         
     | 
| 40 | 
         
            +
              "spaces_between_special_tokens": false,
         
     | 
| 41 | 
         
            +
              "tokenizer_class": "LlamaTokenizer",
         
     | 
| 42 | 
         
            +
              "unk_token": "<unk>",
         
     | 
| 43 | 
         
            +
              "use_default_system_prompt": false
         
     | 
| 44 | 
         
            +
            }
         
     |