Upload UncertaintyHead model and config
Browse files- config.yaml +30 -0
- weights.pth +3 -0
config.yaml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
head_type: luh
|
2 |
+
feature_extractor:
|
3 |
+
- name: luq.feature_extractors.lookback_lens
|
4 |
+
- name: luq.feature_extractors.basic_hidden_states
|
5 |
+
layer_nums:
|
6 |
+
- -1
|
7 |
+
- -5
|
8 |
+
- -15
|
9 |
+
- name: luq.feature_extractors.basic_attention
|
10 |
+
layer_nums:
|
11 |
+
- -1
|
12 |
+
- -2
|
13 |
+
- -3
|
14 |
+
- -4
|
15 |
+
- -5
|
16 |
+
- -10
|
17 |
+
- -15
|
18 |
+
- -20
|
19 |
+
- -25
|
20 |
+
attn_history_sz: 2
|
21 |
+
pool: false
|
22 |
+
- name: luq.feature_extractors.token_probabilities
|
23 |
+
top_n: 4
|
24 |
+
uncertainty_head:
|
25 |
+
head_dim: 256
|
26 |
+
n_layers: 2
|
27 |
+
n_heads: 8
|
28 |
+
dropout: 0.2
|
29 |
+
enable_feature_projection_layer: true
|
30 |
+
interim_dim: 256
|
weights.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b775c7f47ec392bc2bc475fa35efd7aea17a39cb3cd7a936e30c269e56b30b4f
|
3 |
+
size 39784356
|