Instructions to use ESAUCS/EcoBECS-FastText-Embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use ESAUCS/EcoBECS-FastText-Embeddings with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("ESAUCS/EcoBECS-FastText-Embeddings", "model.bin")) - Notebooks
- Google Colab
- Kaggle
EcoBECS Word Embeddings (EcoBECS_ft-sg) — EcoBECS Collection
Model Description
This repository hosts the EcoBECS (Economic and Banking Extended Corpus & Sources) Spanish word embedding models trained with fastText (Skip-gram) on a specialized corpus of economics, central banking, and finance texts.
The experimental suite comprises 27 models generated across three text-normalization variants (base, lower, fined), three vector dimensionalities (300, 400, 500), and three training epoch settings (10, 15, 20), exported in both binary (.bin) and plain-text vector (.vec) formats following the naming convention:
EcoBECS_ft-sg_ws8_dim<D>_ep<E>_2026_<variant>
Training Corpus & Preprocessing
The embedding models were trained sequentially line-by-line (444,687 lines) over specialized Spanish and translated economic/financial sources integrated within the EcoBECS ecosystem (~74,416 documents across the broader collection):
- Banxico Quarterly Reports (
Banxico_Quarterly_Reports_ES): 86 historical inflation and monetary policy reports (2000–2021, including the Q3 2009 addendum) with encoding cleanup. - JEL Classification Catalog (
JEL_Classification_Catalog): Spanish taxonomy descriptors, keywords, and scope notes. - Central Bank Speeches (
CBS_Speeches_ES): Central bank speeches and monetary policy communications in Spanish. - Academic Literature & Working Papers (
CB_abstracts_journals_ES&CB_abstracts_papers_ES): Economics/finance journal abstracts and central bank working paper abstracts in Spanish.
Corpus Variants
base: Preserves original casing, punctuation, and accents (replacing em-dashes with spaces).lower: Lowercases the base text to reduce lexical sparsity from capitalization.fined: Applies Unicode NFKD normalization, strips punctuation, symbols, digits, and diacritics, caps consecutive repeated characters, and lowercases the text.
Training Configuration
- Architecture:
fastTextSkip-gram (model='skipgram') - Context window (
ws):8 - Minimum word count (
minCount):5 - Dimensionalities:
300,400,500 - Epochs:
10,15,20
EcoBECS Project Context & Authorship
- Curator / Author: Benjamín Esaú Contreras-Solis
- Project: EcoBECS (Economic and Banking Extended Corpus & Sources) — Maestría en Ciencia de Datos e Información, INFOTEC, Centro de Investigación e Innovación en Tecnologías de la Información y Comunicación, Ciudad de México, México
- Thesis Advisor: Dr. Sabino Miranda-Jiménez — Departamento de Informática, Universidad Autónoma de la Ciudad de México, Ciudad de México, México
- Reference Project: Master's Thesis in Data Science and Information (INFOTEC, 2026)
Intended Use & Limitations
- Intended use: Static subword-aware word representations in Spanish for economic, banking, and financial text classification (e.g., with
LinearSVC), semantic similarity analysis, and benchmarking against TF-IDF, Spanish Transformers (BETO, RoBERTuito), and fine-tuned LLMs (Qwen2.5-7B-Instruct with QLoRA). - Limitations: As static word/subword embeddings, they do not capture dynamic sentence-level contextual disambiguation. Some source texts were machine-translated into Spanish, and representations reflect the institutional and academic domain of the training corpus. Licensed under
CC BY-NC 4.0for non-commercial use with attribution.
Citation
If you use these embeddings in your research or applications, please cite the EcoBECS work and collection:
@misc{contreras2026ecobecs_embeddings,
title = {EcoBECS -- Economic and Banking Extended Corpus \& Sources: Spanish fastText Word Embeddings},
author = {Contreras-Solis, Benjam{\'i}n Esa{\'u} and Miranda-Jim{\'e}nez, Sabino},
year = {2026},
howpublished = {Hugging Face (ESAUCS / EcoBECS Collection)},
note = {Maestr{\'i}a en Ciencia de Datos e Informaci{\'o}n, INFOTEC}
}
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("ESAUCS/EcoBECS-FastText-Embeddings", "model.bin"))