Upload folder using huggingface_hub
Browse files- config.json +35 -0
 - generation_config.json +6 -0
 - model.safetensors +3 -0
 - special_tokens_map.json +16 -0
 - tokenizer.json +0 -0
 - tokenizer_config.json +122 -0
 
    	
        config.json
    ADDED
    
    | 
         @@ -0,0 +1,35 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_name_or_path": "tiiuae/falcon-40b",
         
     | 
| 3 | 
         
            +
              "alibi": false,
         
     | 
| 4 | 
         
            +
              "apply_residual_connection_post_layernorm": false,
         
     | 
| 5 | 
         
            +
              "architectures": [
         
     | 
| 6 | 
         
            +
                "FalconForCausalLM"
         
     | 
| 7 | 
         
            +
              ],
         
     | 
| 8 | 
         
            +
              "attention_dropout": 0.0,
         
     | 
| 9 | 
         
            +
              "auto_map": {
         
     | 
| 10 | 
         
            +
                "AutoConfig": "tiiuae/falcon-40b--configuration_falcon.FalconConfig",
         
     | 
| 11 | 
         
            +
                "AutoModel": "tiiuae/falcon-40b--modeling_falcon.FalconModel",
         
     | 
| 12 | 
         
            +
                "AutoModelForCausalLM": "tiiuae/falcon-40b--modeling_falcon.FalconForCausalLM",
         
     | 
| 13 | 
         
            +
                "AutoModelForQuestionAnswering": "tiiuae/falcon-40b--modeling_falcon.FalconForQuestionAnswering",
         
     | 
| 14 | 
         
            +
                "AutoModelForSequenceClassification": "tiiuae/falcon-40b--modeling_falcon.FalconForSequenceClassification",
         
     | 
| 15 | 
         
            +
                "AutoModelForTokenClassification": "tiiuae/falcon-40b--modeling_falcon.FalconForTokenClassification"
         
     | 
| 16 | 
         
            +
              },
         
     | 
| 17 | 
         
            +
              "bias": false,
         
     | 
| 18 | 
         
            +
              "bos_token_id": 11,
         
     | 
| 19 | 
         
            +
              "eos_token_id": 11,
         
     | 
| 20 | 
         
            +
              "hidden_dropout": 0.0,
         
     | 
| 21 | 
         
            +
              "hidden_size": 8,
         
     | 
| 22 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 23 | 
         
            +
              "layer_norm_epsilon": 1e-05,
         
     | 
| 24 | 
         
            +
              "model_type": "falcon",
         
     | 
| 25 | 
         
            +
              "multi_query": true,
         
     | 
| 26 | 
         
            +
              "new_decoder_architecture": true,
         
     | 
| 27 | 
         
            +
              "num_attention_heads": 2,
         
     | 
| 28 | 
         
            +
              "num_hidden_layers": 2,
         
     | 
| 29 | 
         
            +
              "num_kv_heads": 8,
         
     | 
| 30 | 
         
            +
              "parallel_attn": true,
         
     | 
| 31 | 
         
            +
              "torch_dtype": "float16",
         
     | 
| 32 | 
         
            +
              "transformers_version": "4.35.2",
         
     | 
| 33 | 
         
            +
              "use_cache": true,
         
     | 
| 34 | 
         
            +
              "vocab_size": 65024
         
     | 
| 35 | 
         
            +
            }
         
     | 
    	
        generation_config.json
    ADDED
    
    | 
         @@ -0,0 +1,6 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_from_model_config": true,
         
     | 
| 3 | 
         
            +
              "bos_token_id": 11,
         
     | 
| 4 | 
         
            +
              "eos_token_id": 11,
         
     | 
| 5 | 
         
            +
              "transformers_version": "4.35.2"
         
     | 
| 6 | 
         
            +
            }
         
     | 
    	
        model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:b47d6b7972199757be98e7b3b301fae4c2ec564f988fcd4170db787486bd0c09
         
     | 
| 3 | 
         
            +
            size 1046968
         
     | 
    	
        special_tokens_map.json
    ADDED
    
    | 
         @@ -0,0 +1,16 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "additional_special_tokens": [
         
     | 
| 3 | 
         
            +
                ">>TITLE<<",
         
     | 
| 4 | 
         
            +
                ">>ABSTRACT<<",
         
     | 
| 5 | 
         
            +
                ">>INTRODUCTION<<",
         
     | 
| 6 | 
         
            +
                ">>SUMMARY<<",
         
     | 
| 7 | 
         
            +
                ">>COMMENT<<",
         
     | 
| 8 | 
         
            +
                ">>ANSWER<<",
         
     | 
| 9 | 
         
            +
                ">>QUESTION<<",
         
     | 
| 10 | 
         
            +
                ">>DOMAIN<<",
         
     | 
| 11 | 
         
            +
                ">>PREFIX<<",
         
     | 
| 12 | 
         
            +
                ">>SUFFIX<<",
         
     | 
| 13 | 
         
            +
                ">>MIDDLE<<"
         
     | 
| 14 | 
         
            +
              ],
         
     | 
| 15 | 
         
            +
              "eos_token": "<|endoftext|>"
         
     | 
| 16 | 
         
            +
            }
         
     | 
    	
        tokenizer.json
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         | 
    	
        tokenizer_config.json
    ADDED
    
    | 
         @@ -0,0 +1,122 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "add_prefix_space": false,
         
     | 
| 3 | 
         
            +
              "added_tokens_decoder": {
         
     | 
| 4 | 
         
            +
                "0": {
         
     | 
| 5 | 
         
            +
                  "content": ">>TITLE<<",
         
     | 
| 6 | 
         
            +
                  "lstrip": false,
         
     | 
| 7 | 
         
            +
                  "normalized": false,
         
     | 
| 8 | 
         
            +
                  "rstrip": false,
         
     | 
| 9 | 
         
            +
                  "single_word": false,
         
     | 
| 10 | 
         
            +
                  "special": true
         
     | 
| 11 | 
         
            +
                },
         
     | 
| 12 | 
         
            +
                "1": {
         
     | 
| 13 | 
         
            +
                  "content": ">>ABSTRACT<<",
         
     | 
| 14 | 
         
            +
                  "lstrip": false,
         
     | 
| 15 | 
         
            +
                  "normalized": false,
         
     | 
| 16 | 
         
            +
                  "rstrip": false,
         
     | 
| 17 | 
         
            +
                  "single_word": false,
         
     | 
| 18 | 
         
            +
                  "special": true
         
     | 
| 19 | 
         
            +
                },
         
     | 
| 20 | 
         
            +
                "2": {
         
     | 
| 21 | 
         
            +
                  "content": ">>INTRODUCTION<<",
         
     | 
| 22 | 
         
            +
                  "lstrip": false,
         
     | 
| 23 | 
         
            +
                  "normalized": false,
         
     | 
| 24 | 
         
            +
                  "rstrip": false,
         
     | 
| 25 | 
         
            +
                  "single_word": false,
         
     | 
| 26 | 
         
            +
                  "special": true
         
     | 
| 27 | 
         
            +
                },
         
     | 
| 28 | 
         
            +
                "3": {
         
     | 
| 29 | 
         
            +
                  "content": ">>SUMMARY<<",
         
     | 
| 30 | 
         
            +
                  "lstrip": false,
         
     | 
| 31 | 
         
            +
                  "normalized": false,
         
     | 
| 32 | 
         
            +
                  "rstrip": false,
         
     | 
| 33 | 
         
            +
                  "single_word": false,
         
     | 
| 34 | 
         
            +
                  "special": true
         
     | 
| 35 | 
         
            +
                },
         
     | 
| 36 | 
         
            +
                "4": {
         
     | 
| 37 | 
         
            +
                  "content": ">>COMMENT<<",
         
     | 
| 38 | 
         
            +
                  "lstrip": false,
         
     | 
| 39 | 
         
            +
                  "normalized": false,
         
     | 
| 40 | 
         
            +
                  "rstrip": false,
         
     | 
| 41 | 
         
            +
                  "single_word": false,
         
     | 
| 42 | 
         
            +
                  "special": true
         
     | 
| 43 | 
         
            +
                },
         
     | 
| 44 | 
         
            +
                "5": {
         
     | 
| 45 | 
         
            +
                  "content": ">>ANSWER<<",
         
     | 
| 46 | 
         
            +
                  "lstrip": false,
         
     | 
| 47 | 
         
            +
                  "normalized": false,
         
     | 
| 48 | 
         
            +
                  "rstrip": false,
         
     | 
| 49 | 
         
            +
                  "single_word": false,
         
     | 
| 50 | 
         
            +
                  "special": true
         
     | 
| 51 | 
         
            +
                },
         
     | 
| 52 | 
         
            +
                "6": {
         
     | 
| 53 | 
         
            +
                  "content": ">>QUESTION<<",
         
     | 
| 54 | 
         
            +
                  "lstrip": false,
         
     | 
| 55 | 
         
            +
                  "normalized": false,
         
     | 
| 56 | 
         
            +
                  "rstrip": false,
         
     | 
| 57 | 
         
            +
                  "single_word": false,
         
     | 
| 58 | 
         
            +
                  "special": true
         
     | 
| 59 | 
         
            +
                },
         
     | 
| 60 | 
         
            +
                "7": {
         
     | 
| 61 | 
         
            +
                  "content": ">>DOMAIN<<",
         
     | 
| 62 | 
         
            +
                  "lstrip": false,
         
     | 
| 63 | 
         
            +
                  "normalized": false,
         
     | 
| 64 | 
         
            +
                  "rstrip": false,
         
     | 
| 65 | 
         
            +
                  "single_word": false,
         
     | 
| 66 | 
         
            +
                  "special": true
         
     | 
| 67 | 
         
            +
                },
         
     | 
| 68 | 
         
            +
                "8": {
         
     | 
| 69 | 
         
            +
                  "content": ">>PREFIX<<",
         
     | 
| 70 | 
         
            +
                  "lstrip": false,
         
     | 
| 71 | 
         
            +
                  "normalized": false,
         
     | 
| 72 | 
         
            +
                  "rstrip": false,
         
     | 
| 73 | 
         
            +
                  "single_word": false,
         
     | 
| 74 | 
         
            +
                  "special": true
         
     | 
| 75 | 
         
            +
                },
         
     | 
| 76 | 
         
            +
                "9": {
         
     | 
| 77 | 
         
            +
                  "content": ">>SUFFIX<<",
         
     | 
| 78 | 
         
            +
                  "lstrip": false,
         
     | 
| 79 | 
         
            +
                  "normalized": false,
         
     | 
| 80 | 
         
            +
                  "rstrip": false,
         
     | 
| 81 | 
         
            +
                  "single_word": false,
         
     | 
| 82 | 
         
            +
                  "special": true
         
     | 
| 83 | 
         
            +
                },
         
     | 
| 84 | 
         
            +
                "10": {
         
     | 
| 85 | 
         
            +
                  "content": ">>MIDDLE<<",
         
     | 
| 86 | 
         
            +
                  "lstrip": false,
         
     | 
| 87 | 
         
            +
                  "normalized": false,
         
     | 
| 88 | 
         
            +
                  "rstrip": false,
         
     | 
| 89 | 
         
            +
                  "single_word": false,
         
     | 
| 90 | 
         
            +
                  "special": true
         
     | 
| 91 | 
         
            +
                },
         
     | 
| 92 | 
         
            +
                "11": {
         
     | 
| 93 | 
         
            +
                  "content": "<|endoftext|>",
         
     | 
| 94 | 
         
            +
                  "lstrip": false,
         
     | 
| 95 | 
         
            +
                  "normalized": false,
         
     | 
| 96 | 
         
            +
                  "rstrip": false,
         
     | 
| 97 | 
         
            +
                  "single_word": false,
         
     | 
| 98 | 
         
            +
                  "special": true
         
     | 
| 99 | 
         
            +
                }
         
     | 
| 100 | 
         
            +
              },
         
     | 
| 101 | 
         
            +
              "additional_special_tokens": [
         
     | 
| 102 | 
         
            +
                ">>TITLE<<",
         
     | 
| 103 | 
         
            +
                ">>ABSTRACT<<",
         
     | 
| 104 | 
         
            +
                ">>INTRODUCTION<<",
         
     | 
| 105 | 
         
            +
                ">>SUMMARY<<",
         
     | 
| 106 | 
         
            +
                ">>COMMENT<<",
         
     | 
| 107 | 
         
            +
                ">>ANSWER<<",
         
     | 
| 108 | 
         
            +
                ">>QUESTION<<",
         
     | 
| 109 | 
         
            +
                ">>DOMAIN<<",
         
     | 
| 110 | 
         
            +
                ">>PREFIX<<",
         
     | 
| 111 | 
         
            +
                ">>SUFFIX<<",
         
     | 
| 112 | 
         
            +
                ">>MIDDLE<<"
         
     | 
| 113 | 
         
            +
              ],
         
     | 
| 114 | 
         
            +
              "clean_up_tokenization_spaces": true,
         
     | 
| 115 | 
         
            +
              "eos_token": "<|endoftext|>",
         
     | 
| 116 | 
         
            +
              "model_input_names": [
         
     | 
| 117 | 
         
            +
                "input_ids",
         
     | 
| 118 | 
         
            +
                "attention_mask"
         
     | 
| 119 | 
         
            +
              ],
         
     | 
| 120 | 
         
            +
              "model_max_length": 2048,
         
     | 
| 121 | 
         
            +
              "tokenizer_class": "PreTrainedTokenizerFast"
         
     | 
| 122 | 
         
            +
            }
         
     |