Downloads · 30 days
295
14% of all-time downloads
danjohnvelasco/filipino-sentence-roberta-v1
filipino-sentence-roberta-v1 is a machine learning model from danjohnvelasco. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for sentence-transformers. The card lists the license as cc-by-sa-4.0.
We finetuned RoBERTa Tagalog Base (finetuned on COHFIE) on NewsPH-NLI to learn to encode filipino/tagalog sentences to sentence embeddings. We used sentence-transformers to finetune the model. All model details, train…
Downloads · 30 days
295
14% of all-time downloads
All-time downloads
2.1K
Public
Repo size
873 MB
Likes
2
Public
Click a slice to open those files.
.bin436 MB · 100%
From the Hugging Face model README
We finetuned RoBERTa Tagalog Base (finetuned on COHFIE) on NewsPH-NLI to learn to encode filipino/tagalog sentences to sentence embeddings. We used sentence-transformers to finetune the model. All model details, training setups, and corpus details can be found in this paper: Automatic WordNet Construction using Word Sense Induction through Sentence Embeddings.
The intended use of this model is to extract sentence embeddings which will be used for clustering. This model may not be safe for use in production since we did not examine it for biases. Please use it with caution.
Using this model is easier when you have sentence-transformers installed:
pip install -U sentence-transformers
Here is how to use this model to encode sentences to sentence embeddings using SentenceTransformer:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("danjohnvelasco/filipino-sentence-roberta-v1")
sentence_list = ["sentence 1", "sentence 2", "sentence 3"]
sentence_embeddings = model.encode(sentence_list)
print(sentence_embeddings)
If you use this model, please cite our work:
@misc{https://doi.org/10.48550/arxiv.2204.03251,
doi = {10.48550/ARXIV.2204.03251},
url = {https://arxiv.org/abs/2204.03251},
author = {Velasco, Dan John and Alba, Axel and Pelagio, Trisha Gail and Ramirez, Bryce Anthony and Cruz, Jan Christian Blaise and Cheng, Charibeth},
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
title = {Automatic WordNet Construction using Word Sense Induction through Sentence Embeddings},
publisher = {arXiv},
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}