Update flaubert2_configuration.py
Browse files
flaubert2_configuration.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
|
2 |
from transformers.models.roberta.modeling_roberta import RobertaConfig
|
3 |
|
4 |
-
class
|
5 |
-
model_type = "
|
6 |
|
7 |
def __init__(self, compress_layer= 1,
|
8 |
shared_layer_kv_compressed=1,
|
|
|
1 |
|
2 |
from transformers.models.roberta.modeling_roberta import RobertaConfig
|
3 |
|
4 |
+
class JargonConfig(RobertaConfig):
|
5 |
+
model_type = "jargon"
|
6 |
|
7 |
def __init__(self, compress_layer= 1,
|
8 |
shared_layer_kv_compressed=1,
|