Upload 5 files
Browse files- README.md +35 -3
- config.json +26 -0
- pytorch_model.bin +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is the ELECTRA-Tiny language model that is effective for discriminative tasks with fewer than 6 million parameters. The embeddings were enriched using multimodal embeddings from a multiplex network. It was trained on the BabyLM 100M dataset.
|
| 2 |
+
|
| 3 |
+
### Citation
|
| 4 |
+
|
| 5 |
+
@inproceedings{fields-etal-2023-tiny,
|
| 6 |
+
title = "Tiny Language Models Enriched with Multimodal Knowledge from Multiplex Networks",
|
| 7 |
+
author = "Fields, Clayton and
|
| 8 |
+
Natouf, Osama and
|
| 9 |
+
McMains, Andrew and
|
| 10 |
+
Henry, Catherine and
|
| 11 |
+
Kennington, Casey",
|
| 12 |
+
editor = "Warstadt, Alex and
|
| 13 |
+
Mueller, Aaron and
|
| 14 |
+
Choshen, Leshem and
|
| 15 |
+
Wilcox, Ethan and
|
| 16 |
+
Zhuang, Chengxu and
|
| 17 |
+
Ciro, Juan and
|
| 18 |
+
Mosquera, Rafael and
|
| 19 |
+
Paranjabe, Bhargavi and
|
| 20 |
+
Williams, Adina and
|
| 21 |
+
Linzen, Tal and
|
| 22 |
+
Cotterell, Ryan",
|
| 23 |
+
booktitle = "Proceedings of the BabyLM Challenge at the 27th Conference on Computational Natural Language Learning",
|
| 24 |
+
month = dec,
|
| 25 |
+
year = "2023",
|
| 26 |
+
address = "Singapore",
|
| 27 |
+
publisher = "Association for Computational Linguistics",
|
| 28 |
+
url = "https://aclanthology.org/2023.conll-babylm.3/",
|
| 29 |
+
doi = "10.18653/v1/2023.conll-babylm.3",
|
| 30 |
+
pages = "47--57"
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
### Acknowledgements
|
| 35 |
+
This material is based upon work supported by the National Science Foundation under Grant No. 2140642.
|
config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attention_probs_dropout_prob": 0.1,
|
| 3 |
+
"classifier_dropout": null,
|
| 4 |
+
"embedding_size": 128,
|
| 5 |
+
"hidden_act": "gelu",
|
| 6 |
+
"hidden_dropout_prob": 0.1,
|
| 7 |
+
"hidden_size": 196,
|
| 8 |
+
"initializer_range": 0.02,
|
| 9 |
+
"intermediate_size": 128,
|
| 10 |
+
"layer_norm_eps": 1e-12,
|
| 11 |
+
"max_position_embeddings": 128,
|
| 12 |
+
"model_type": "electra",
|
| 13 |
+
"num_attention_heads": 4,
|
| 14 |
+
"num_hidden_layers": 18,
|
| 15 |
+
"pad_token_id": 0,
|
| 16 |
+
"position_embedding_type": "absolute",
|
| 17 |
+
"summary_activation": "gelu",
|
| 18 |
+
"summary_last_dropout": 0.1,
|
| 19 |
+
"summary_type": "first",
|
| 20 |
+
"summary_use_proj": true,
|
| 21 |
+
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.26.1",
|
| 23 |
+
"type_vocab_size": 2,
|
| 24 |
+
"use_cache": true,
|
| 25 |
+
"vocab_size": 30522
|
| 26 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2864905003a3efd2e62b571dedf74156651bd21fec3b15bbea8fc99f36dbe48f
|
| 3 |
+
size 30953767
|
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": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "google/electra-small-discriminator", "tokenizer_class": "ElectraTokenizer"}
|