climate-nlp
commited on
Commit
•
7372ea5
1
Parent(s):
f955490
Upload LongformerForSequenceClassification
Browse files- config.json +75 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "log/neurips_log/longformer-base-4096/2_classify_query",
|
3 |
+
"architectures": [
|
4 |
+
"LongformerForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_mode": "longformer",
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"attention_window": [
|
9 |
+
512,
|
10 |
+
512,
|
11 |
+
512,
|
12 |
+
512,
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512,
|
20 |
+
512
|
21 |
+
],
|
22 |
+
"bos_token_id": 0,
|
23 |
+
"eos_token_id": 2,
|
24 |
+
"gradient_checkpointing": false,
|
25 |
+
"hidden_act": "gelu",
|
26 |
+
"hidden_dropout_prob": 0.1,
|
27 |
+
"hidden_size": 768,
|
28 |
+
"id2label": {
|
29 |
+
"0": "alignment_with_ipcc_on_climate_action",
|
30 |
+
"1": "carbon_tax",
|
31 |
+
"2": "communication_of_climate_science",
|
32 |
+
"3": "disclosure_on_relationships",
|
33 |
+
"4": "emissions_trading",
|
34 |
+
"5": "energy_and_resource_efficiency",
|
35 |
+
"6": "energy_transition_&_zero_carbon_technologies",
|
36 |
+
"7": "ghg_emission_regulation",
|
37 |
+
"8": "land_use",
|
38 |
+
"9": "renewable_energy",
|
39 |
+
"10": "support_of_un_climate_process",
|
40 |
+
"11": "supporting_the_need_for_regulations",
|
41 |
+
"12": "transparency_on_legislation"
|
42 |
+
},
|
43 |
+
"ignore_attention_mask": false,
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"intermediate_size": 3072,
|
46 |
+
"label2id": {
|
47 |
+
"alignment_with_ipcc_on_climate_action": 0,
|
48 |
+
"carbon_tax": 1,
|
49 |
+
"communication_of_climate_science": 2,
|
50 |
+
"disclosure_on_relationships": 3,
|
51 |
+
"emissions_trading": 4,
|
52 |
+
"energy_and_resource_efficiency": 5,
|
53 |
+
"energy_transition_&_zero_carbon_technologies": 6,
|
54 |
+
"ghg_emission_regulation": 7,
|
55 |
+
"land_use": 8,
|
56 |
+
"renewable_energy": 9,
|
57 |
+
"support_of_un_climate_process": 10,
|
58 |
+
"supporting_the_need_for_regulations": 11,
|
59 |
+
"transparency_on_legislation": 12
|
60 |
+
},
|
61 |
+
"layer_norm_eps": 1e-05,
|
62 |
+
"max_position_embeddings": 4098,
|
63 |
+
"model_type": "longformer",
|
64 |
+
"num_attention_heads": 12,
|
65 |
+
"num_hidden_layers": 12,
|
66 |
+
"onnx_export": false,
|
67 |
+
"pad_token_id": 1,
|
68 |
+
"position_embedding_type": "absolute",
|
69 |
+
"problem_type": "multi_label_classification",
|
70 |
+
"sep_token_id": 2,
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.28.0.dev0",
|
73 |
+
"type_vocab_size": 1,
|
74 |
+
"vocab_size": 50265
|
75 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5a83ebe71d6a50174eb1c13b309ac43897cb634413c9fc0fc0802864992d237
|
3 |
+
size 594769233
|