Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
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 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:
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: