Spanish CBOW Word Embeddings in Floret
收藏Zenodo2022-11-23 更新2026-05-25 收录
下载链接:
https://zenodo.org/record/7314098
下载链接
链接失效反馈官方服务:
资源简介:
<strong>Spanish CBOW Word Embeddings in Floret</strong> The embeddings have been trained with the corpus from the National Library of Spain (Biblioteca Nacional de España or BNE) using floret with the following hyperparameters: mode: str = "floret",<br> model: str = "cbow",<br> dim: int = 300,<br> mincount: int = 10,<br> minn: int = 5,<br> maxn: int = 6,<br> neg: int = 10,<br> hashcount: int = 2,<br> bucket: int = 50000,<br> thread: int = 128, Detailed information about the corpus can be found here The processing took place on an HPC node equipped with an AMD EPYC 7742 (@ 2.250GHz) processor with 128 threads. <strong>How to use</strong> First initialize the spacy vectors from the floret table (.floret file): <pre><code>spacy init vectors es floret_embeddings_bne_es.floret floret_embeddings_bne_es --mode floret</code></pre> <pre><code>import spacy # Load the floret vectors floret_embeddings = spacy.load("floret_embeddings_bne_es") # Get the embeddings of some words playa = floret_embeddings.vocab["playa"] frío = floret_embeddings.vocab["frío"] invierno = floret_embeddings.vocab["invierno"] verano = floret_embeddings.vocab["verano"] # Get some similarities print(frío.similarity(invierno)) print(frío.similarity(verano)) # frío should be more similar to invierno than verano. print(playa.similarity(invierno)) print(playa.similarity(verano)) # playa should be more similar to verano than invierno.</code></pre> <strong>Intended Uses and Limitations</strong> At the time of submission, no measures have been taken to estimate the bias and toxicity embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this card will be updated. <strong>Authors</strong> The Text Mining Unit from Barcelona Supercomputing Center. <strong>Contact Information</strong> For further information, send an email to plantl-gob-es@bsc.es <strong>Funding</strong> This work was funded by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) within the framework of the Plan-TL. <strong>Copyright </strong> Copyright (c) 2021 Secretaría de Estado de Digitalización e Inteligencia Artificial
提供机构:
Zenodo创建时间:
2022-11-11



