Jón Daðason
commited on
Commit
·
d088faf
1
Parent(s):
6f2d591
Initial commit
Browse files- README.md +15 -3
- config.json +29 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- is
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
datasets:
|
| 6 |
+
- igc
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Icelandic TEAMS-Small
|
| 10 |
+
This model was pre-trained on the 2022 version of the [Icelandic Gigaword Corpus](http://igc.arnastofnun.is/) using the [TensorFlow Model Garden](https://github.com/tensorflow/models). Its pre-training configuration is identical to that of the original [TEAMS-Small model](https://github.com/tensorflow/models/blob/master/official/projects/teams/experiments/small/wiki_books_pretrain.yaml), except for the use of a Unigram tokenizer with a vocabulary size of 64,105.
|
| 11 |
+
|
| 12 |
+
TEAMS is a variant of the ELECTRA architecture, described in [Training ELECTRA Augmented with Multi-word Selection](https://aclanthology.org/2021.findings-acl.219/). While architecturally equivalent to ELECTRA, TEAMS introduces an additional pre-training objective.
|
| 13 |
+
|
| 14 |
+
# Acknowledgments
|
| 15 |
+
This research was supported with Cloud TPUs from Google's TPU Research Cloud (TRC).
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ElectraForPreTraining"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"embedding_size": 128,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 256,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 1024,
|
| 13 |
+
"layer_norm_eps": 1e-12,
|
| 14 |
+
"max_position_embeddings": 512,
|
| 15 |
+
"model_type": "electra",
|
| 16 |
+
"num_attention_heads": 4,
|
| 17 |
+
"num_hidden_layers": 12,
|
| 18 |
+
"pad_token_id": 0,
|
| 19 |
+
"position_embedding_type": "absolute",
|
| 20 |
+
"summary_activation": "gelu",
|
| 21 |
+
"summary_last_dropout": 0.1,
|
| 22 |
+
"summary_type": "first",
|
| 23 |
+
"summary_use_proj": true,
|
| 24 |
+
"torch_dtype": "float32",
|
| 25 |
+
"transformers_version": "4.45.1",
|
| 26 |
+
"type_vocab_size": 2,
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 64105
|
| 29 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71c29b5380614a4bcae582df3d84a5d38337d69224bd98d0b522b65a677c5cf8
|
| 3 |
+
size 71414748
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82d3c3361fc4db7b4727799293acb097560188a20145e266ec733f98471eb3ae
|
| 3 |
+
size 71458038
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"do_lower_case": false, "strip_accents": false, "model_max_length": 512}
|