Instructions to use NlpHUST/electra-base-vn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NlpHUST/electra-base-vn with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("NlpHUST/electra-base-vn") model = AutoModelForPreTraining.from_pretrained("NlpHUST/electra-base-vn", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
# ELECTRA
|
| 2 |
## Introduction
|
| 3 |
**ELECTRA** is a method for self-supervised language representation learning. It can be used to pre-train transformer networks using relatively little compute. ELECTRA models are trained to distinguish "real" input tokens vs "fake" input tokens generated by another neural network, similar to the discriminator of a [GAN](https://arxiv.org/pdf/1406.2661.pdf). At small scale, ELECTRA achieves strong results even when trained on a single GPU. At large scale, ELECTRA achieves state-of-the-art results on the [SQuAD 2.0](https://rajpurkar.github.io/SQuAD-explorer/) dataset.
|
|
|
|
|
|
|
| 4 |
### Contact information
|
| 5 |
For personal communication related to this project, please contact Nha Nguyen Van (nha282@gmail.com).
|
|
|
|
| 1 |
# ELECTRA
|
| 2 |
## Introduction
|
| 3 |
**ELECTRA** is a method for self-supervised language representation learning. It can be used to pre-train transformer networks using relatively little compute. ELECTRA models are trained to distinguish "real" input tokens vs "fake" input tokens generated by another neural network, similar to the discriminator of a [GAN](https://arxiv.org/pdf/1406.2661.pdf). At small scale, ELECTRA achieves strong results even when trained on a single GPU. At large scale, ELECTRA achieves state-of-the-art results on the [SQuAD 2.0](https://rajpurkar.github.io/SQuAD-explorer/) dataset.
|
| 4 |
+
|
| 5 |
+
Electra-base-vn is trained on 137Gb text of CC-100 corpus and 30Gb from news datasets
|
| 6 |
### Contact information
|
| 7 |
For personal communication related to this project, please contact Nha Nguyen Van (nha282@gmail.com).
|