monologg / kobigbird-bert-base

huggingface.co
Total runs: 3.8K
24-hour runs: 8
7-day runs: 40
30-day runs: 376
Model's Last Updated: June 12 2023
fill-mask

Introduction of kobigbird-bert-base

Model Details of kobigbird-bert-base

KoBigBird

Pretrained BigBird Model for Korean ( kobigbird-bert-base )

About

BigBird, is a sparse-attention based transformer which extends Transformer based models, such as BERT to much longer sequences.

BigBird relies on block sparse attention instead of normal attention (i.e. BERT's attention) and can handle sequences up to a length of 4096 at a much lower compute cost compared to BERT.

Model is warm started from Korean BERT’s checkpoint.

How to use

NOTE: Use BertTokenizer instead of BigBirdTokenizer. ( AutoTokenizer will load BertTokenizer )

from transformers import AutoModel, AutoTokenizer

# by default its in `block_sparse` mode with num_random_blocks=3, block_size=64
model = AutoModel.from_pretrained("monologg/kobigbird-bert-base")

# you can change `attention_type` to full attention like this:
model = AutoModel.from_pretrained("monologg/kobigbird-bert-base", attention_type="original_full")

# you can change `block_size` & `num_random_blocks` like this:
model = AutoModel.from_pretrained("monologg/kobigbird-bert-base", block_size=16, num_random_blocks=2)

tokenizer = AutoTokenizer.from_pretrained("monologg/kobigbird-bert-base")
text = "한국어 BigBird 모델을 공개합니다!"
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)

Runs of monologg kobigbird-bert-base on huggingface.co

3.8K
Total runs
8
24-hour runs
88
3-day runs
40
7-day runs
376
30-day runs

More Information About kobigbird-bert-base huggingface.co Model

kobigbird-bert-base huggingface.co

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

kobigbird-bert-base huggingface.co Url

https://huggingface.co/monologg/kobigbird-bert-base

monologg kobigbird-bert-base online free

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

monologg kobigbird-bert-base online free url in huggingface.co:

https://huggingface.co/monologg/kobigbird-bert-base

kobigbird-bert-base install

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

kobigbird-bert-base install url in huggingface.co:

https://huggingface.co/monologg/kobigbird-bert-base

Url of kobigbird-bert-base

kobigbird-bert-base huggingface.co Url

Provider of kobigbird-bert-base huggingface.co

monologg
ORGANIZATIONS

Other API from monologg

huggingface.co

Total runs: 66.6K
Run Growth: -633
Growth Rate: -0.95%
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