Instructions to use meilanynonsitentua/bertskill-relative-key with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meilanynonsitentua/bertskill-relative-key with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="meilanynonsitentua/bertskill-relative-key")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("meilanynonsitentua/bertskill-relative-key") model = AutoModelForMaskedLM.from_pretrained("meilanynonsitentua/bertskill-relative-key") - Notebooks
- Google Colab
- Kaggle
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
Use a pipeline as a high-level helper
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")
- Downloads last month
- 6