chunk_id stringlengths 16 16 | doc_id stringlengths 16 16 | chunk_index int64 0 206 | corpus stringclasses 7
values | decade stringdate 1954-01-01 00:00:00 2026-01-01 00:00:00 | issue_date stringlengths 10 12 | source_pdf stringlengths 48 60 | source_file stringlengths 42 54 | text stringlengths 43 383k | embedding list | sparse_indices listlengths 1 365 | sparse_values listlengths 1 365 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d8ba37afdc3a3d59 | d8ba37afdc3a3d59 | 0 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | Ciudad Universitaria
3 de enero de 2000
Número 3,329
ISSN 0188-5138
http://www.unam.mx/gaceta
dirección electrónica (Email):
dginfo@condor.dgsca.unam.mx
ÓRGANO
INFORMATIVO
01
LA
UNIVERSIDAD
11'
# Habrá congreso universitario, anuncia el rector
En su mensaje de fin de año, los representantes de los medios de co... | [
-0.00655364990234375,
-0.0005259513854980469,
-0.0296783447265625,
-0.044219970703125,
-0.055328369140625,
-0.01490020751953125,
0.0160369873046875,
0.00295257568359375,
0.011474609375,
0.01629638671875,
0.057464599609375,
0.0218048095703125,
-0.006473541259765625,
-0.00222015380859375,
... | [
106,
106825,
110,
11506,
11715,
118754,
11928,
1215,
122729,
124236,
126904,
126943,
12772,
131669,
134698,
136268,
138,
1391,
139175,
141535,
144092,
145045,
147791,
156779,
156806,
156861,
157312,
158,
161145,
161994,
16275,
172540,
174477,
17562,
... | [
0.0030651092529296875,
0.07489013671875,
0.046539306640625,
0.01245880126953125,
0.00560760498046875,
0.059539794921875,
0.0189056396484375,
0.0014829635620117188,
0.147216796875,
0.278564453125,
0.040069580078125,
0.1427001953125,
0.0821533203125,
0.004459381103515625,
0.08465576171875,... |
f8f6ad5ed8242ddf | f8f6ad5ed8242ddf | 1 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | # I sido muy clara desde el principio:
2 tratar de ir construyendo, con base
&
Q
2
# 8 retomo a la ~idad permffirá redefinir yreorganizar a la Universidad: De la Fuente Q
7 Y9
---
Viene de la página 1
Habrá congreso universitario ...
en un diálogo respetuoso yen en un intercambio de ideas, un consenso
universita... | [
0.034027099609375,
0.01629638671875,
-0.037078857421875,
-0.0258636474609375,
-0.04229736328125,
-0.02337646484375,
0.01303863525390625,
0.0164947509765625,
0.0091552734375,
0.025115966796875,
0.051513671875,
-0.00258636474609375,
-0.027374267578125,
0.0215301513671875,
-0.01907348632812... | [
10,
1005,
100760,
102575,
104386,
1055,
106,
107,
11,
110,
112,
1126,
113,
11311,
113817,
11550,
116,
117,
119053,
12,
121,
12234,
12385,
124692,
125796,
126530,
126943,
1283,
128691,
129931,
129959,
13085,
13130,
132424,
134465,
136213,
136920... | [
0.030853271484375,
0.12188720703125,
0.072509765625,
0.1405029296875,
0.0005512237548828125,
0.0172271728515625,
0.0478515625,
0.1146240234375,
0.018463134765625,
0.0291748046875,
0.01568603515625,
0.10675048828125,
0.0823974609375,
0.044586181640625,
0.0160980224609375,
0.16845703125,... |
86ff956a1c1767eb | 86ff956a1c1767eb | 2 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | Muchas gracias.
México, DF., 31 de diciembre de 1999.
El Rector
Dr. Juan Ramón de la Fuente
nacional de nuestra Universidad no está ni estará a discusión durante
el proceso de reforma.
También es importante señalar que esa reforma no contemplará la
atomización de l~ Universidad; no se trata de reformarla amputándole
a... | [
-0.033721923828125,
0.00848388671875,
-0.0181884765625,
-0.02734375,
-0.038299560546875,
0.0015726089477539062,
0.02862548828125,
0.0016422271728515625,
0.02490234375,
-0.00466156005859375,
0.050628662109375,
0.018035888671875,
-0.01253509521484375,
0.010772705078125,
-0.0254974365234375... | [
10,
100061,
1005,
100942,
1011,
10165,
104386,
109294,
11,
110,
11056,
112,
112230,
113,
11313,
1150,
11598,
117938,
1183,
121,
121311,
12234,
123644,
12409,
124236,
12604,
126943,
12846,
13,
1312,
131702,
132424,
133670,
136213,
136823,
13700,
... | [
0.040496826171875,
0.1580810546875,
0.0904541015625,
0.12548828125,
0.00823211669921875,
0.06573486328125,
0.005680084228515625,
0.09100341796875,
0.04046630859375,
0.1317138671875,
0.038818359375,
0.04022216796875,
0.10064697265625,
0.0858154296875,
0.11517333984375,
0.04052734375,
... |
1ec11ab6a1bdf3f9 | 1ec11ab6a1bdf3f9 | 3 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | Gacela UNAM
2 O 3 de enero de 2000.
---
La comisión de la Rectoría aclaró que el diálogo /la está roto, sólo se trata de un receso para que
el Consejo General de Huelga analice lo que su solicitud representa para el marco legal de la
Universidad
# Piden al CGH rectifique su petición de considerar al
# CLETA y a la ... | [
0.007427215576171875,
0.0011720657348632812,
-0.0172119140625,
-0.029388427734375,
-0.00749969482421875,
-0.037567138671875,
-0.01049041748046875,
0.026641845703125,
-0.030181884765625,
0.0209808349609375,
0.0199127197265625,
0.0006866455078125,
-0.0288848876953125,
-0.0195159912109375,
... | [
10,
101039,
10165,
1055,
10578,
11,
110,
112,
1124,
113,
1150,
11550,
116,
116279,
116548,
121,
1218,
1235,
124236,
124692,
126943,
13,
1311,
131746,
132700,
13333,
13443,
134465,
135381,
136062,
138,
138160,
143,
144,
146,
147,
151580,
15179... | [
0.0005950927734375,
0.08111572265625,
0.08795166015625,
0.0013370513916015625,
0.08526611328125,
0.001434326171875,
0.047607421875,
0.0014896392822265625,
0.001491546630859375,
0.06610107421875,
0.00139617919921875,
0.078857421875,
0.0953369140625,
0.0013055801391601562,
0.1990966796875,... |
ec8672ce10104088 | ec8672ce10104088 | 4 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | receso para que somet:aQ. a consulta
entresusasambleaseseplanteamien-
to. "Es necesario que evalúen la
magnitud de su ptopuesta y la
presión que con ella ejercen al mar-
co legal de la Universidad".
El licenciado Pérez BIas entregó
a -los representantes del CGR una
nueva propuesta de ocho punios en
la que se manifiesta... | [
-0.023162841796875,
-0.02783203125,
-0.01227569580078125,
-0.0305328369140625,
-0.040496826171875,
-0.044952392578125,
-0.0223388671875,
-0.01062774658203125,
-0.01947021484375,
0.033599853515625,
0.01207733154296875,
0.0167083740234375,
-0.003955841064453125,
0.0113983154296875,
-0.0094... | [
1005,
1010,
101668,
10578,
107,
110,
110990,
111119,
112011,
11295,
1148,
116548,
120482,
121,
1218,
124,
124236,
126,
12646,
126530,
126943,
13333,
133706,
134465,
135381,
13844,
14018,
152503,
153732,
155483,
156566,
162,
16386,
171533,
17234,
... | [
0.04461669921875,
0.08056640625,
0.06842041015625,
0.07769775390625,
0.0054168701171875,
0.10125732421875,
0.03607177734375,
0.081298828125,
0.1695556640625,
0.00936126708984375,
0.09259033203125,
0.11883544921875,
0.07781982421875,
0.0804443359375,
0.07501220703125,
0.06597900390625,
... |
e3a2669a003b932a | e3a2669a003b932a | 5 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | El licenciado Alberto Pérez
Bias, director general de Infor-
mación e integrante de dicha co-
misión, dijo que lo que se pide ~s
respeto a los principios que rigen
y dan vida a la Universidad.
En su momento el ingeniero
José Manuel Covarrubias Solís,
tesorero de la UNAM, exhortó a
los integrantes del CGH a que
reconsid... | [
0.0170440673828125,
-0.0286407470703125,
-0.0579833984375,
-0.0249481201171875,
-0.02685546875,
-0.07940673828125,
0.003818511962890625,
-0.024871826171875,
-0.0400390625,
0.0299835205078125,
0.01012420654296875,
0.019256591796875,
-0.022186279296875,
-0.01220703125,
0.01282501220703125,... | [
10591,
110,
113,
1150,
116548,
11704,
11789,
120,
1218,
122525,
1229,
123,
124236,
126943,
1311,
131746,
132689,
132700,
13333,
134225,
135381,
138,
139002,
1397,
14048,
14364,
147791,
1483,
151,
152480,
15707,
157846,
160321,
162,
16352,
16378,
... | [
0.07611083984375,
0.050628662109375,
0.0223846435546875,
0.06463623046875,
0.1805419921875,
0.1361083984375,
0.038909912109375,
0.06341552734375,
0.0845947265625,
0.0897216796875,
0.0062408447265625,
0.034027099609375,
0.2481689453125,
0.08795166015625,
0.032562255859375,
0.10681152343... |
87f80f82e6aa1288 | 87f80f82e6aa1288 | 6 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | ---
El investigador emérito ha recibido numerosas
diStinciones; por mencionar las más sobresalientes: El
Aguila Azteca, otorgada por el Gobierno de la República
Mexicana, y Creador Emérito Vitalicio, por el Consejo
Nacional para la Cultura y las Artes
# Por su trayectoria académica, Alejandro Rossi
# es Premio Nacio... | [
0.00745391845703125,
-0.0107421875,
0.00417327880859375,
0.00021731853485107422,
-0.020355224609375,
-0.051239013671875,
-0.008880615234375,
-0.025421142578125,
-0.00893402099609375,
-0.0084381103515625,
0.0035533905029296875,
0.034942626953125,
-0.0860595703125,
0.019073486328125,
0.022... | [
10,
1005,
101039,
101280,
101985,
102690,
1028,
1029,
1039,
104394,
105324,
1055,
105576,
106473,
10931,
11,
11056,
111021,
112,
113,
1148,
1150,
1155,
116393,
116627,
116972,
117147,
11732,
117418,
118849,
121,
122835,
123059,
124236,
125015,
12... | [
0.03472900390625,
0.070556640625,
0.06243896484375,
0.0103607177734375,
0.0556640625,
0.048309326171875,
0.05596923828125,
0.034698486328125,
0.01861572265625,
0.033172607421875,
0.1431884765625,
0.034149169921875,
0.031097412109375,
0.0517578125,
0.057769775390625,
0.03485107421875,
... |
2b1980aca95d72b8 | 2b1980aca95d72b8 | 7 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | "Gaceta UNAM\n\nNacido en\n\nFlorencia,' Italia, .el\n\n22 de septiembre\n\nde 1932, Alejandro\n\nFr(...TRUNCATED) | [0.043701171875,-0.056182861328125,-0.004901885986328125,0.003814697265625,-0.040252685546875,0.0150(...TRUNCATED) | [10,1010,102,102690,102736,1039,105576,109416,10958,11,110,110117,110245,111455,111869,112,113,1148,(...TRUNCATED) | [0.0222930908203125,0.02197265625,0.15380859375,0.021881103515625,0.151123046875,0.00374221801757812(...TRUNCATED) |
7eb762e2b0b33938 | 7eb762e2b0b33938 | 8 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | "# e\n\nLAURA ROMERO\n\namo parte del programa de\nPosgrado en Ciencias Políticas y So-\ncialesde l(...TRUNCATED) | [-0.036590576171875,-0.029998779296875,-0.02349853515625,-0.01055145263671875,-0.03582763671875,-0.0(...TRUNCATED) | [10,100935,102,105274,1059,10592,1061,11,111,111455,111869,112,112172,113,1140,114024,1150,11500,115(...TRUNCATED) | [0.03167724609375,0.22900390625,0.01042938232421875,0.00576019287109375,0.0247039794921875,0.0930175(...TRUNCATED) |
1e31288cad31bbfd | 1e31288cad31bbfd | 9 | gum00 | 2000 | 2000-01-03 | ./data/gum00/2000/issue_3186_3329_2000-01-03/issue.pdf | gum00_2000_issue_3186_3329_2000-01-03_issue.json | "petítorio no debe considerarsecomo\nuna debilidad.\nPor su parte el profesor emérito\nde la FQ, C(...TRUNCATED) | [-0.019805908203125,0.01311492919921875,-0.0139007568359375,-0.043121337890625,-0.0276641845703125,-(...TRUNCATED) | [101039,1019,10304,104026,1061,10685,110,110224,11035,11056,112,113,124236,125120,125661,132424,1342(...TRUNCATED) | [0.07928466796875,0.006488800048828125,0.0462646484375,0.1451416015625,0.03094482421875,0.0357360839(...TRUNCATED) |
Gaceta UNAM BGE-M3 V2 (Dense + Sparse)
Dataset Overview
Gaceta UNAM BGE-M3 V2 is a dataset of semantic embeddings for text chunks extracted from issues of Gaceta UNAM, generated with BAAI/bge-m3. It includes both dense and sparse (lexical) representations, so it can be used directly for hybrid retrieval (dense ANN + sparse lexical matching) without re-encoding the corpus.
- Creator: Fernando Morales (
ferMorales) - Embedding Model: BAAI/bge-m3
- Language: Spanish
- License: Other
Summary
| Property | Value |
|---|---|
| File | embeddings.parquet |
| Embedding Model | BAAI/bge-m3 |
| Total Records (chunks) | 207,888 |
Unique Issues (source_file) |
5,628 |
| Embedding Dimension (dense) | 1024 |
| Sparse Vectors | Variable-length (token id → weight) |
| Time Coverage | 1954-08-23 to 2026-02-09 |
Schema (Columns)
| Column | Type | Description |
|---|---|---|
chunk_id |
string | Unique chunk identifier (UUID5 derived from source) |
doc_id |
string | Document/issue identifier |
chunk_index |
int64 | Chunk position within the source document |
corpus |
string | Corpus segment / decade family (gum00, gum10, …) |
decade |
string | Decade grouping derived from the document |
issue_date |
string | Issue date (YYYY-MM-DD); may be the literal "unknown-date" |
source_pdf |
string | Path to the original PDF |
source_file |
string | Path to the intermediate JSON file |
text |
string | Chunk text used for embedding |
embedding |
fixed_size_list<float32>[1024] |
L2-normalized BGE-M3 dense vector |
sparse_indices |
list<uint32> |
BGE-M3 lexical token IDs |
sparse_values |
list<float32> |
BGE-M3 lexical token weights (parallel to sparse_indices) |
The sparse representation comes directly from BGEM3FlagModel.encode(..., return_sparse=True)["lexical_weights"] — each chunk has a variable-length
list of (token_id, weight) pairs split into two parallel columns.
Corpus Distribution
| Corpus | Chunks |
|---|---|
| gum10 | 60,285 |
| gum90 | 48,962 |
| gum80 | 48,687 |
| gum00 | 27,988 |
| gum70 | 13,989 |
| gum60 | 4,695 |
| gum50 | 3,282 |
Coverage notes
- 623 chunks have
issue_date = "unknown-date"(date could not be parsed from the source). Filter these out for time-based analyses. - All other rows have non-null values for every schema field.
- Chunks are produced from OCR'd historical documents — minor noise may
remain in
text. - All data for 2004 is missing due to upstream scraper issues.
Usage
Load with datasets / pandas
from datasets import load_dataset
ds = load_dataset("ferMorales/Gaceta_UNAM_BGE_M3_V2", split="train")
print(ds[0]["text"][:200])
print(len(ds[0]["embedding"])) # 1024
print(len(ds[0]["sparse_indices"])) # variable
import pandas as pd
df = pd.read_parquet("hf://datasets/ferMorales/Gaceta_UNAM_BGE_M3_V2/embeddings.parquet")
Hybrid retrieval (dense + sparse)
The sparse columns are stored as parallel list<uint32> / list<float32>
arrays. To convert one row back into a {token_id: weight} dict:
def row_to_sparse(row):
return dict(zip(row["sparse_indices"], row["sparse_values"]))
For Qdrant, you can ingest these directly into a collection that has both a
dense Vector config (size 1024, cosine) and a SparseVectorParams named
vector — pass indices=row["sparse_indices"] and values=row["sparse_values"].
Encoding queries with the same model
from FlagEmbedding import BGEM3FlagModel
model = BGEM3FlagModel("BAAI/bge-m3", use_fp16=True)
out = model.encode(["mi consulta"], return_dense=True, return_sparse=True)
dense_q = out["dense_vecs"][0] # shape (1024,)
sparse_q = out["lexical_weights"][0] # {token_id: weight}
Recommended Use
- Hybrid semantic search — combine dense cosine + sparse lexical scoring for improved recall on rare terms / proper nouns / OCR artifacts.
- Historical RAG — retrieval with full source traceability via
source_pdf,source_file, andchunk_index. - Metadata filtering — slice by
corpus,decade,issue_date, ordoc_idbefore re-ranking.
Citation
If you use this dataset, please cite both the embedding model and this release:
@misc{gaceta_unam_bgem3_v2,
author = {Fernando Morales},
title = {Gaceta UNAM BGE-M3 V2 (dense + sparse)},
year = {2026},
url = {https://huggingface.co/datasets/ferMorales/Gaceta_UNAM_BGE_M3_V2},
}
- Downloads last month
- 6