Downloads · 30 days
21
38% of all-time downloads
meilanynonsitentua/bertskill-relative-key
bertskill-relative-key is a fill-mask model from meilanynonsitentua. Use it when you need the model to fill a missing word. It is set up for transformers.
The proposed method aims to overcome the challenges in recognizing Indonesian skills due to the complexity of the Indonesian language and the lack of annotated data. The EBERT-RP model incorporates relative position e…
Downloads · 30 days
21
38% of all-time downloads
All-time downloads
56
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.pt888 MB · 67%
From the Hugging Face model README
The proposed method aims to overcome the challenges in recognizing Indonesian skills due to the complexity of the Indonesian language and the lack of annotated data. The EBERT-RP model incorporates relative position embeddings, which allow the model to capture the relative positions of tokens in a sentence, and a novel attention mechanism that improves the model’s ability to attend the critical information. To evaluate the performance of the EBERT-RP model, we conducted experiments on a dataset of Indonesian skill recognition task. Please cite our paper at http://www.icicel.org/ell/contents/2024/4/el-18-04-02.pdf
from transformers import pipeline
pipe = pipeline("fill-mask", model="meilanynonsitentua/bertskill-relative-key") Copy # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("meilanynonsitentua/bertskill-relative-key")
model = AutoModelForMaskedLM.from_pretrained("meilanynonsitentua/bertskill-relative-key")