File size: 4,254 Bytes
a97deb7
 
3a18f92
 
 
 
 
 
 
 
 
 
 
 
 
a97deb7
3a18f92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
license: cc-by-nc-4.0
language:
  - es
tags:
  - word-embeddings
  - fasttext
  - skip-gram
  - economics
  - finance
  - banking
  - central-banks
  - spanish
  - ecobecs
library_name: gensim
---

# 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:** `fastText` Skip-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.0` for non-commercial use with attribution.

## Citation
If you use these embeddings in your research or applications, please cite the **EcoBECS** work and collection:

```bibtex
@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}
}