Full models v2.0
Browse files- .gitattributes +3 -0
- README.md +18 -0
- config.json +30 -0
- metadata.yaml +29 -0
- model.es-de.de +3 -0
- model.es-de.es +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +15 -0
- tf_model.h5 +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +21 -0
.gitattributes
CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
lm.* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
model.??-??.?? filter=lfs diff=lfs merge=lfs -text
|
37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- es
|
4 |
+
- de
|
5 |
+
- multilingual
|
6 |
+
license: cc-by-sa-4.0
|
7 |
+
tags:
|
8 |
+
- bicleaner-ai
|
9 |
+
tasks:
|
10 |
+
- text-classification
|
11 |
+
---
|
12 |
+
|
13 |
+
# Bicleaner AI full model for es-de
|
14 |
+
Bicleaner AI is a tool that aims at detecting noisy sentence pairs in a parallel corpus. It
|
15 |
+
indicates the likelihood of a pair of sentences being mutual translations (with a value near to 1) or not (with a value near to 0).
|
16 |
+
Sentence pairs considered very noisy are scored with 0.
|
17 |
+
|
18 |
+
Find out at our repository for further instructions on how to use it: https://github.com/bitextor/bicleaner-ai
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bitextor/bicleaner-ai-full-es-de",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRBicleanerAI"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"head_activation": "relu",
|
11 |
+
"head_dropout": 0.1,
|
12 |
+
"head_hidden_size": 2048,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"layer_norm_eps": 1e-05,
|
19 |
+
"max_position_embeddings": 514,
|
20 |
+
"model_type": "xlm-roberta",
|
21 |
+
"num_attention_heads": 12,
|
22 |
+
"num_hidden_layers": 12,
|
23 |
+
"output_past": true,
|
24 |
+
"pad_token_id": 1,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"transformers_version": "4.26.0",
|
27 |
+
"type_vocab_size": 1,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 250002
|
30 |
+
}
|
metadata.yaml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
bicleaner_ai_version: 2.1.1
|
2 |
+
precision_score: 0.855
|
3 |
+
recall_score: 0.944
|
4 |
+
f1_score: 0.897
|
5 |
+
matthews_corr_coef: 0.886
|
6 |
+
source_lang: es
|
7 |
+
target_lang: de
|
8 |
+
source_lm: model.es-de.es
|
9 |
+
target_lm: model.es-de.de
|
10 |
+
lm_type: CHARACTER
|
11 |
+
clean_mean_perp: -1.0053406724184482
|
12 |
+
clean_stddev_perp: 0.16846611775236867
|
13 |
+
noisy_mean_perp: -4.061811291902795
|
14 |
+
noisy_stddev_perp: 0.14427543598081158
|
15 |
+
classifier_type: xlmr
|
16 |
+
classifier_settings:
|
17 |
+
activation: relu
|
18 |
+
base_model: jplu/tf-xlm-roberta-base
|
19 |
+
batch_size: 96
|
20 |
+
calibration_params: [8.46914959, -3.50302720]
|
21 |
+
epochs: 15
|
22 |
+
loss: binary_crossentropy
|
23 |
+
maxlen: 150
|
24 |
+
model_name: bitextor/bicleaner-ai-full-es-de
|
25 |
+
n_classes: 2
|
26 |
+
n_hidden: 2048
|
27 |
+
patience: 3
|
28 |
+
steps_per_epoch: 2000
|
29 |
+
warmup_steps: 1000
|
model.es-de.de
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b29d0ce0d5e0380cacfd62a45dffb75e8ed32a59a7aaa102771026e3052b1f2c
|
3 |
+
size 177270539
|
model.es-de.es
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0ad7b064e8c221eb99efa72f2bdf96f7d0ac90bbe9c81a0c13ea25fbe72b940
|
3 |
+
size 155682610
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0952d4fba811cbf0f1287c47c21bc2e5a27adffef9890d3d9ba5cc24e29bee79
|
3 |
+
size 1116401472
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:672b5602c725cafd47011e4e49d4b211fd746d0de2e8e187549f0324685987d0
|
3 |
+
size 17098332
|
tokenizer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"__type": "AddedToken",
|
7 |
+
"content": "<mask>",
|
8 |
+
"lstrip": true,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"model_max_length": 1000000000000000019884624838656,
|
14 |
+
"name_or_path": "jplu/tf-xlm-roberta-base",
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"sep_token": "</s>",
|
17 |
+
"sp_model_kwargs": {},
|
18 |
+
"special_tokens_map_file": null,
|
19 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
20 |
+
"unk_token": "<unk>"
|
21 |
+
}
|