Downloads · 30 days
59
6% of all-time downloads
krevas/finance-koelectra-base-generator
finance-koelectra-base-generator is a fill-mask model from krevas. Use it when you need the model to fill a missing word. It is set up for transformers.
Pretrained ELECTRA Language Model for Korean (finance-koelectra-base-generator)
Downloads · 30 days
59
6% of all-time downloads
All-time downloads
1K
Public
Repo size
277 MB
Likes
0
Public
Click a slice to open those files.
.bin138 MB · 100%
From the Hugging Face model README
Pretrained ELECTRA Language Model for Korean (finance-koelectra-base-generator)
ELECTRA is a new 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.
More details about ELECTRA can be found in the ICLR paper or in the official ELECTRA repository on GitHub.
The current version of the model is trained on a financial news data of Naver news.
The final training corpus has a size of 25GB and 2.3B tokens.
This model was trained a cased model on a TITAN RTX for 500k steps.
from transformers import pipeline
fill_mask = pipeline(
"fill-mask",
model="krevas/finance-koelectra-base-generator",
tokenizer="krevas/finance-koelectra-base-generator"
)
print(fill_mask(f"내일 해당 종목이 대폭 {fill_mask.tokenizer.mask_token}할 것이다."))
All models are available on the Huggingface model hub.