larskjeldgaard commited on
Commit
eaecd67
1 Parent(s): 69a8a5e

add tf backend

Browse files
Files changed (3) hide show
  1. README.md +4 -0
  2. config.json +2 -2
  3. tf_model.h5 +3 -0
README.md CHANGED
@@ -36,4 +36,8 @@ The `senda` model achieves an accuracy of 0.77 and a macro-averaged F1-score of
36
  #### Contact
37
  Feel free to contact author Lars Kjeldgaard on [lars.kjeldgaard@eb.dk](mailto:lars.kjeldgaard@eb.dk).
38
 
 
 
 
 
39
 
36
  #### Contact
37
  Feel free to contact author Lars Kjeldgaard on [lars.kjeldgaard@eb.dk](mailto:lars.kjeldgaard@eb.dk).
38
 
39
+ #### Shout-outs
40
+
41
+ Props to [Malte Højmark-Berthelsen](mailto:hjb@kmd.dk) for pretraining Danish BERT and helping out adding a TensorFlow backend for `senda`.
42
+
43
 
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "./results/checkpoint-900",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -33,7 +33,7 @@
33
  "pooler_size_per_head": 128,
34
  "pooler_type": "first_token_transform",
35
  "position_embedding_type": "absolute",
36
- "transformers_version": "4.5.0",
37
  "type_vocab_size": 2,
38
  "use_cache": true,
39
  "vocab_size": 32000
1
  {
2
+ "_name_or_path": ".",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
33
  "pooler_size_per_head": 128,
34
  "pooler_type": "first_token_transform",
35
  "position_embedding_type": "absolute",
36
+ "transformers_version": "4.6.1",
37
  "type_vocab_size": 2,
38
  "use_cache": true,
39
  "vocab_size": 32000
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:018cfd6b39364308b869c96c3a94fe78f01361722f56ed8beac3cc60bf11973d
3
+ size 442766684