monologg / koelectra-small-generator

huggingface.co
Total runs: 87
24-hour runs: 0
7-day runs: 5
30-day runs: 43
Model's Last Updated: December 27 2020
fill-mask

Introduction of koelectra-small-generator

Model Details of koelectra-small-generator

KoELECTRA (Small Generator)

Pretrained ELECTRA Language Model for Korean ( koelectra-small-generator )

For more detail, please see original repository .

Usage
Load model and tokenizer
>>> from transformers import ElectraModel, ElectraTokenizer

>>> model = ElectraModel.from_pretrained("monologg/koelectra-small-generator")
>>> tokenizer = ElectraTokenizer.from_pretrained("monologg/koelectra-small-generator")
Tokenizer example
>>> from transformers import ElectraTokenizer
>>> tokenizer = ElectraTokenizer.from_pretrained("monologg/koelectra-small-generator")
>>> tokenizer.tokenize("[CLS] 한국어 ELECTRA를 공유합니다. [SEP]")
['[CLS]', '한국어', 'E', '##L', '##EC', '##T', '##RA', '##를', '공유', '##합니다', '.', '[SEP]']
>>> tokenizer.convert_tokens_to_ids(['[CLS]', '한국어', 'E', '##L', '##EC', '##T', '##RA', '##를', '공유', '##합니다', '.', '[SEP]'])
[2, 18429, 41, 6240, 15229, 6204, 20894, 5689, 12622, 10690, 18, 3]
Example using ElectraForMaskedLM
from transformers import pipeline

fill_mask = pipeline(
    "fill-mask",
    model="monologg/koelectra-small-generator",
    tokenizer="monologg/koelectra-small-generator"
)

print(fill_mask("나는 {} 밥을 먹었다.".format(fill_mask.tokenizer.mask_token)))

Runs of monologg koelectra-small-generator on huggingface.co

87
Total runs
0
24-hour runs
8
3-day runs
5
7-day runs
43
30-day runs

More Information About koelectra-small-generator huggingface.co Model

koelectra-small-generator huggingface.co

koelectra-small-generator huggingface.co is an AI model on huggingface.co that provides koelectra-small-generator's model effect (), which can be used instantly with this monologg koelectra-small-generator model. huggingface.co supports a free trial of the koelectra-small-generator model, and also provides paid use of the koelectra-small-generator. Support call koelectra-small-generator model through api, including Node.js, Python, http.

koelectra-small-generator huggingface.co Url

https://huggingface.co/monologg/koelectra-small-generator

monologg koelectra-small-generator online free

koelectra-small-generator huggingface.co is an online trial and call api platform, which integrates koelectra-small-generator's modeling effects, including api services, and provides a free online trial of koelectra-small-generator, you can try koelectra-small-generator online for free by clicking the link below.

monologg koelectra-small-generator online free url in huggingface.co:

https://huggingface.co/monologg/koelectra-small-generator

koelectra-small-generator install

koelectra-small-generator is an open source model from GitHub that offers a free installation service, and any user can find koelectra-small-generator on GitHub to install. At the same time, huggingface.co provides the effect of koelectra-small-generator install, users can directly use koelectra-small-generator installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

koelectra-small-generator install url in huggingface.co:

https://huggingface.co/monologg/koelectra-small-generator

Url of koelectra-small-generator

koelectra-small-generator huggingface.co Url

Provider of koelectra-small-generator huggingface.co

monologg
ORGANIZATIONS

Other API from monologg

huggingface.co

Total runs: 66.4K
Run Growth: -1.1K
Growth Rate: -1.68%
Updated:August 21 2024
huggingface.co

Total runs: 29.1K
Run Growth: -1.1K
Growth Rate: -3.84%
Updated:August 21 2024
huggingface.co

Total runs: 20
Run Growth: -73
Growth Rate: -365.00%
Updated:August 21 2024