add model
Browse files- config.json +67 -0
- pytorch_model.bin +3 -0
    	
        config.json
    ADDED
    
    | @@ -0,0 +1,67 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "activation_function": "gelu_new",
         | 
| 3 | 
            +
              "architectures": [
         | 
| 4 | 
            +
                "GPTNeoForCausalLM"
         | 
| 5 | 
            +
              ],
         | 
| 6 | 
            +
              "attention_dropout": 0.0,
         | 
| 7 | 
            +
              "attention_layers": [
         | 
| 8 | 
            +
                "global",
         | 
| 9 | 
            +
                "local",
         | 
| 10 | 
            +
                "global",
         | 
| 11 | 
            +
                "local",
         | 
| 12 | 
            +
                "global",
         | 
| 13 | 
            +
                "local",
         | 
| 14 | 
            +
                "global",
         | 
| 15 | 
            +
                "local",
         | 
| 16 | 
            +
                "global",
         | 
| 17 | 
            +
                "local",
         | 
| 18 | 
            +
                "global",
         | 
| 19 | 
            +
                "local",
         | 
| 20 | 
            +
                "global",
         | 
| 21 | 
            +
                "local",
         | 
| 22 | 
            +
                "global",
         | 
| 23 | 
            +
                "local",
         | 
| 24 | 
            +
                "global",
         | 
| 25 | 
            +
                "local",
         | 
| 26 | 
            +
                "global",
         | 
| 27 | 
            +
                "local",
         | 
| 28 | 
            +
                "global",
         | 
| 29 | 
            +
                "local",
         | 
| 30 | 
            +
                "global",
         | 
| 31 | 
            +
                "local"
         | 
| 32 | 
            +
              ],
         | 
| 33 | 
            +
              "attention_types": [
         | 
| 34 | 
            +
                [
         | 
| 35 | 
            +
                  [
         | 
| 36 | 
            +
                    "global",
         | 
| 37 | 
            +
                    "local"
         | 
| 38 | 
            +
                  ],
         | 
| 39 | 
            +
                  12
         | 
| 40 | 
            +
                ]
         | 
| 41 | 
            +
              ],
         | 
| 42 | 
            +
              "bos_token_id": 50256,
         | 
| 43 | 
            +
              "cache_path": "/data1/groups/ai4bio_shared/molecules/models/",
         | 
| 44 | 
            +
              "embed_dropout": 0.0,
         | 
| 45 | 
            +
              "eos_token_id": 50256,
         | 
| 46 | 
            +
              "gradient_checkpointing": false,
         | 
| 47 | 
            +
              "hidden_size": 2048,
         | 
| 48 | 
            +
              "initializer_range": 0.02,
         | 
| 49 | 
            +
              "intermediate_size": null,
         | 
| 50 | 
            +
              "layer_norm_epsilon": 1e-05,
         | 
| 51 | 
            +
              "max_length": 512,
         | 
| 52 | 
            +
              "max_position_embeddings": 2048,
         | 
| 53 | 
            +
              "model_type": "gpt_neo",
         | 
| 54 | 
            +
              "num_heads": 16,
         | 
| 55 | 
            +
              "num_layers": 24,
         | 
| 56 | 
            +
              "resid_dropout": 0.0,
         | 
| 57 | 
            +
              "summary_activation": null,
         | 
| 58 | 
            +
              "summary_first_dropout": 0.1,
         | 
| 59 | 
            +
              "summary_proj_to_labels": true,
         | 
| 60 | 
            +
              "summary_type": "cls_index",
         | 
| 61 | 
            +
              "summary_use_proj": true,
         | 
| 62 | 
            +
              "torch_dtype": "float32",
         | 
| 63 | 
            +
              "transformers_version": "4.10.2",
         | 
| 64 | 
            +
              "use_cache": true,
         | 
| 65 | 
            +
              "vocab_size": 684,
         | 
| 66 | 
            +
              "window_size": 256
         | 
| 67 | 
            +
            }
         | 
    	
        pytorch_model.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:2a4123291e777d97761963f0684f9a0ad59746dd326ff053afffb14ec13cb9b8
         | 
| 3 | 
            +
            size 4906642673
         |