Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
stringlengths
10
10
page
int32
1
55
text
stringlengths
116
3.85k
embedding
listlengths
384
384
section
stringclasses
7 values
word_count
int32
21
592
estimated_tokens
int32
27
769
chunk_0000
1
2025 PEOPLE’S ENACTED B U D G E T AGENDA FOR PROSPERITY: Fulfilling the Needs and Aspirations of the Filipino People
[ -0.04521344602108002, 0.052760764956474304, 0.012957972474396229, -0.06746752560138702, -0.03641534596681595, -0.046220798045396805, -0.057505715638399124, -0.0019050189293920994, -0.08877213299274445, 0.04249802976846695, 0.06811144202947617, 0.013266238383948803, -0.08955118805170059, -0...
ENACTED B U D G E T
21
27
chunk_0001
2
The reproduction, copying, printing, and/or dissemination of this publication is allowed strictly for non-commercial use, i.e., for public information, educational, or personal purposes, and with proper acknowledgement of the Department of Budget and Management (DBM) and its corresponding sources. The DBM, however, can...
[ 0.026199238374829292, 0.030221043154597282, -0.08759091049432755, 0.08160378783941269, 0.04285523667931557, 0.017419984564185143, -0.038836270570755005, 0.016200220212340355, -0.06574016064405441, 0.03223491460084915, 0.13974736630916595, -0.005599088501185179, 0.11201412230730057, -0.0904...
STNETNOC FO ELBAT
105
136
chunk_0002
3
tegduB detcanE s’elpoeP 5202 STNETNOC FO ELBAT Foreword 2 The Enacted 2025 National Budget Agenda for Prosperity: 4 Fulfilling the Needs and Aspirations of the Filipino People Budget Dimensions By Sector (Traditional System) 6 By Sector (COFOG) 8 By Expense Class 10 By Recipient Unit 12 By Region 14 By Special Purpose ...
[ 0.024811265990138054, 0.05619566887617111, -0.016280068084597588, 0.005690760910511017, 0.06296733021736145, -0.03619108721613884, -0.018993880599737167, -0.002741168951615691, -0.07236474007368088, 0.0480322390794754, 0.005929548293352127, -0.072836734354496, -0.08004111796617508, -0.0989...
STNETNOC FO ELBAT
122
158
chunk_0003
4
Foreword Assalamu alaikum wa Rahmatullah wa Barakatuh. modernizing agriculture, expanding agribusiness, and revitalizing key industries to ensure food We are pleased to present the People’s Enacted security, increase productivity, and generate Budget, the simplified version of the FY employment. We are also prioritizin...
[ 0.0283687561750412, 0.005406307056546211, -0.016591990366578102, -0.0161407720297575, 0.04481401666998863, -0.05762210488319397, -0.008404571563005447, -0.04073596000671387, -0.032474882900714874, 0.06646863371133804, 0.021961547434329987, -0.05575421079993248, -0.10685282945632935, -0.002...
null
470
611
chunk_0004
5
The FY 2025 budget addresses the needs and aspirations of the Filipino People, in line with our Philippine Development Plan, toward achieving our Agenda for Prosperity.
[ -0.03121676668524742, 0.06076675280928612, 0.012129576876759529, -0.0030613054987043142, 0.06300843507051468, -0.03630191087722778, -0.06575708091259003, 0.02416948787868023, -0.0855417475104332, 0.028493186458945274, -0.03513246774673462, 0.00533873587846756, -0.10282064974308014, -0.0099...
null
26
33
chunk_0005
6
THE ENACTED 2025 NATIONAL BUDGET Agenda for Prosperity: Fulfilling the Needs and Aspirations of the Filipino People The Philippine government remains committed to shaping a better future for the country. For 2025, the Php 6.326 trillion National Budget will focus on key areas like food security, healthcare, and infrast...
[ -0.04532948508858681, 0.07494363188743591, 0.011314413510262966, -0.057464104145765305, 0.05550093576312065, -0.058079931885004044, -0.022949635982513428, -0.02808995172381401, -0.01491404976695776, 0.02968791499733925, 0.0017156564863398671, -0.0472884401679039, -0.05734042450785637, -0.0...
null
218
283
chunk_0006
7
Highlights of the President’s Veto Direct Veto Php 26.1 billion Php 168.2 billion Programs and projects of Unprogrammed Department of Public Works Appropriations and Highways Conditional Implementation Strict Adherence to Laws, Policies, Rules, and Regulations β€’ Implementation of National Programs (Ayuda sa Kapos ang K...
[ -0.02841622568666935, -0.006602602545171976, 0.02111492119729519, -0.03636613115668297, -0.007659114897251129, -0.013926154933869839, 0.00022676587104797363, -0.0675879716873169, -0.06151484325528145, 0.04969467222690582, 0.044482145458459854, -0.014806325547397137, -0.012360978871583939, ...
null
103
133
chunk_0007
8
BUDGET DIMENSIONS Budget Dimensions By Sector (Traditional System) The 2025 National Budget is designed to propel the government’s Agenda for Prosperity by prioritizing key areas, ensuring that every allocation is aimed at sustaining progress and responding to the country’s most pressing needs. Social Services 4.1% 20...
[ -0.020681848749518394, -0.006347515620291233, -0.03839883208274841, 0.004020204301923513, 0.040472935885190964, 0.04894460737705231, -0.015959536656737328, -0.025004899129271507, -0.055100422352552414, 0.04036090150475502, 0.01602218858897686, -0.03637552633881569, -0.025924433022737503, -...
BUDGET DIMENSIONS
203
263
chunk_0008
9
General Public Services 19.4% 2025: Php 1.073 T 2024: Php 898.6 B To maintain public order and safety in the country, Php 1.073 trillion or 17.0% of the National Budget will be allocated to support general government activities and other governance and regulatory services, among others. Key Items β€’ Public Order and Sa...
[ -0.00889567006379366, -0.05277925357222557, -0.07697658240795135, -0.07457859814167023, 0.037431731820106506, 0.06761670112609863, 0.029879556968808174, -0.011390669271349907, -0.06871408969163895, 0.04187411069869995, 0.0031506372615695, -0.024503495544195175, -0.02623344399034977, -0.022...
null
192
249
chunk_0009
10
BUDGET DIMENSIONS Budget Dimensions By Sector (COFOG) The 2025 National Budget is also categorized using the Classification of the Functions of Government (COFOG) to provide a clearer picture of national priorities and how public resources are used based on their purpose and benefits to society. Sectors that Benefit So...
[ 0.021632051095366478, -0.01723659597337246, -0.07487672567367554, -0.0358152873814106, 0.05480567738413811, 0.0469365194439888, -0.02053116075694561, -0.048447735607624054, -0.06176548823714256, 0.029822811484336853, 0.015941224992275238, -0.06733037531375885, -0.05268874391913414, -0.0211...
BUDGET DIMENSIONS
218
283
chunk_0010
11
Sectors that Benefit Individuals Directly 2025: Php 942.0 B β€’ Pre-primary and primary education Php 330.7 B 2024: Php 928.2 B β€’ Secondary education Php 307.8 B Education β€’ Tertiary education Php 120.5 B β€’ Survivors (Gender Development, Php 96.9 B 2025: Php 722.8 B Internally Displaced Persons and Disaster Relief Assist...
[ 0.017013423144817352, 0.02081882394850254, -0.04572999104857445, -0.03172823041677475, 0.005212634336203337, 0.08321460336446762, -0.001019236515276134, -0.02470388263463974, -0.08260588347911835, 0.002326018875464797, 0.07790336012840271, -0.08295031636953354, -0.006544097792357206, -0.00...
null
191
248
chunk_0011
12
BUDGET DIMENSIONS Budget Dimensions By Expense Class The 2025 National Budget can also be classified by the nature or type of obligation, which are: Maintenance and Other Operating Expenditures (MOOE), Personnel Services (PS), Capital Outlays (CO), and Financial Expenses (FinEx). 13.4% Maintenance and Other Operating E...
[ -0.029139667749404907, 0.018219485878944397, -0.005929973907768726, 0.040852222591638565, 0.03932858258485794, 0.017581166699528694, 0.02030656300485134, -0.016149496659636497, -0.054498083889484406, 0.07996650785207748, 0.014616447500884533, -0.0938151627779007, -0.08458111435174942, -0.0...
BUDGET DIMENSIONS
182
236
chunk_0012
13
Capital Outlays Financial Expenses (including Net Lending) 2025 Php 1.461 T 2025 Php 848.1 B 2024 Php 1.339 T 2024 Php 670.5 B β€’ Banner infrastructure programs and projects of the β€’ Management supervision/trusteeship fees, interest National Government (NG) expenses, guarantee fees, commitment fees, β€’ Goods and services...
[ 0.02221003919839859, -0.0026955977082252502, -0.06423381716012955, 0.00668411236256361, 0.027017774060368538, -0.016241522505879402, 0.007122967392206192, 0.005933054722845554, -0.028264829888939857, 0.02367907017469406, -0.0020290901884436607, -0.07548001408576965, -0.02882053703069687, -...
null
188
244
chunk_0013
14
BUDGET DIMENSIONS Budget Dimensions By Recipient Unit Another way of presenting the National Budget is through its recipient entity. This method ensures that the budget is distributed properly among National Government Agencies (NGAs), Local Government Units (LGUs), Government-Owned and/or -Controlled Corporations (GOC...
[ 0.012881406582891941, 0.02418060041964054, -0.07269395142793655, 0.020175252109766006, -0.00826371368020773, -0.01664135232567787, 0.009747656062245369, 0.006036548875272274, 0.030240310356020927, 0.04696011170744896, 0.03608803078532219, -0.0823967307806015, 0.013945234008133411, -0.02132...
BUDGET DIMENSIONS
153
198
chunk_0014
15
2 3 1 4 NGAs 1 NGAs will receive Php 4.118 trillion to fund all their programs, activities, and projects in 2025, including day-to-day operation expenses, among others. LGUs 2 LGUs will receive Php 1.195 trillion to cover their National Tax Allotment and the annual block grant of the Bangsamoro Autonomous Region in Mus...
[ -0.015720294788479805, 0.017737936228513718, -0.01499008759856224, 0.0045732916332781315, -0.02607353962957859, -0.04391109570860863, -0.04795282334089279, 0.0207980964332819, -0.009143376722931862, 0.0028870729729533195, 0.05292193591594696, -0.1105840653181076, -0.12786269187927246, -0.0...
null
126
163
chunk_0015
16
BUDGET DIMENSIONS Budget Dimensions By Region With the goal of bridging the economic gap and reducing inequality, the government will be allocating the 2025 National Budget equitably to all regions to ensure that no one is left behind in the country’s journey toward a better Philippines. Regionalized Budget 2025: Php 4...
[ 0.08437971025705338, 0.010736766271293163, -0.01095922477543354, 0.028412707149982452, 0.01922149397432804, -0.06895707547664642, -0.08783204853534698, -0.001495329663157463, -0.04883788526058197, 0.06633993983268738, 0.03102058917284012, -0.09297026693820953, -0.10253209620714188, -0.0071...
BUDGET DIMENSIONS
173
224
chunk_0016
17
Non-Regionalized Budget Php 966.6 B 2025: Php 2.086 T Mindanao 2024: Php 1.810 T Per Capita: Php 35,012 Nationwide Allocations Central Office Allocations Php 149.3 B Php 137.8 B Region IX Region XII Per Capita: Php 38,263 Per Capita: Php 26,421 Php 195.7 B Php 138.9 B Region X CARAGA Per Capita: Php 37,101 Per Capita: ...
[ 0.07251730561256409, -0.04740235209465027, -0.05212865769863129, -0.0014699363382533193, -0.0048326109535992146, -0.00970645621418953, -0.024249307811260223, -0.009747231379151344, 0.007980458438396454, 0.06916295737028122, 0.03198563680052757, -0.07545015215873718, -0.09848947077989578, -...
null
183
237
chunk_0017
18
BUDGET DIMENSIONS Budget Dimensions By Special Purpose Fund The 2025 National Budget may be divided into two types of Special Purpose Funds (SPFs): disaggregated and lump sum. Disaggregated SPFs are allocated for specific programs of agencies during budget preparation while lump sums are yet to be released to specific ...
[ -0.022326070815324783, 0.018313098698854446, -0.06899623572826385, 0.012893912382423878, 0.0735299289226532, 0.020549600943922997, 0.04087386652827263, -0.03333636000752449, -0.043569643050432205, 0.015616029500961304, 0.058353301137685776, -0.08025188744068146, -0.06433486193418503, -0.01...
BUDGET DIMENSIONS
261
339
chunk_0018
19
Lump Sum SPFs Funds that are yet to be released to agencies during budget execution, pursuant to certain special provisions and conditions 2025 Php 897.7 B 2024 Php 719.3 B Php 1.161 T Allocations to LGUs Php 1.111 T Special Shares of LGUs in the Proceeds of Fire Code Fees Php 50 M Barangay Officials Death Benefits Php...
[ 0.018629634752869606, -0.011049103923141956, -0.03463583067059517, -0.006585643161088228, 0.10728969424962997, 0.024417800828814507, 0.06458722054958344, -0.029657728970050812, -0.034185849130153656, 0.06102428957819939, 0.08285687118768692, -0.08241818100214005, -0.0712534487247467, -0.00...
null
173
224
chunk_0019
20
BUDGET DIMENSIONS Budget Dimensions By Appropriation Source The 2025 National Budget consists of New General Appropriations and Automatic Appropriations. These allocations are categorized based on their funding sources and whether they are governed by any law or regulation. Additionally, some programs or projects may f...
[ 0.01815294660627842, -0.030337728559970856, -0.03079323284327984, -0.050715234130620956, 0.00844755582511425, 0.056032758206129074, 0.03265620395541191, -0.07484491169452667, 0.010282940231263638, 0.06291134655475616, -0.026645438745617867, -0.0187741219997406, -0.04640541598200798, -0.006...
BUDGET DIMENSIONS
192
249
chunk_0020
21
66.7 % 33.3 % New General Automatic Appropriations Appropriations Php 4.221 T Php 2.105 T Unprogrammed Appropriations 2025 Php 363.4 B These appropriations allow government agencies to spend more on priority projects when government revenues exceed targets, new funding 2024 Php 731.4 B sources arise, or approved foreig...
[ -0.01625215820968151, -0.0007231985800899565, -0.03653141111135483, -0.05267929285764694, 0.014537511393427849, 0.04368238151073456, 0.014438165351748466, -0.014261044561862946, -0.04184668883681297, 0.045377086848020554, 0.026164913550019264, -0.04429548606276512, -0.028993215411901474, 0...
null
158
205
End of preview. Expand in Data Studio

Philippine Budget 2025 - Vector Embeddings (all-MiniLM-L6-v2)

Dataset Description

This dataset contains vector embeddings of the 2025 People's Budget of the Philippines, a citizen-friendly overview of the PHP 6.326 trillion national budget published by the Department of Budget and Management (DBM).

Source Document

These embeddings are based on the 2025 People's Enacted Budget (English version, revised as of April 22, 2025).

Direct Download Link: 2025 People's Enacted Budget PDF

This 100+ page PDF provides a citizen-friendly overview of the PHP 6.326 trillion national budget, including:

  • Sector breakdowns
  • Priorities like Education (PHP 977.6B)
  • Infrastructure (PHP 1.507T)
  • Health, Social Protection, Food Security, and more

A Filipino version is also available via the DBM website.

Model Information

  • Embedding Model: all-MiniLM-L6-v2
  • Embedding Dimensions: 384
  • Description: Fast and efficient (384 dimensions)
  • Total Embeddings: 55
  • Library: sentence-transformers
  • Generated: 2025-10-18T11:40:47.888963

Quality Metrics

  • Normalization: L2 normalized (all vectors have norm = 1.0)
  • Sparsity: 0.78% (very dense embeddings)
  • Dimension Efficiency: 90.10%
  • Processing Speed: 1.46 seconds for 55 chunks

Dataset Structure

Data Fields

Field Type Description
chunk_id string Unique identifier for each chunk (e.g., "chunk_0000")
page int32 Page number in the original document (1-55)
text string Original text content from the budget document
embedding float32[384] Vector embedding (384 dimensions)
section string Document section (e.g., "SPENDING PRIORITIES")
word_count int32 Number of words in the chunk
estimated_tokens int32 Estimated token count for the chunk

Data Splits

This dataset contains a single split (train) with 55 examples.

Document Coverage

The embeddings cover all major sections of the Philippine Budget 2025:

  • βœ… Budget Dimensions: By sector (traditional and COFOG), expense class, recipient unit, region, special purpose fund, appropriation source
  • βœ… Spending Priorities: Education, Health, Social Protection, Food Security, Industry/Workforce/Tourism, Science & Technology, Infrastructure, Peace & Order, Governance, Environment
  • βœ… Financing: The 2025 Budget and the Economy, Fiscal Program, Revenues, Borrowings
  • βœ… Budget Basics: Budget Cycle, Glossary, Ask Your Government, Off-Budget Accounts

Usage

Load the Dataset

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("pageman/philippine-budget-2025-embeddings-minilm")

# Access embeddings
embeddings = dataset['train']['embedding']
texts = dataset['train']['text']
pages = dataset['train']['page']

print(f"Loaded {len(embeddings)} embeddings with {len(embeddings[0])} dimensions")

Semantic Search Example

from datasets import load_dataset
from sentence_transformers import SentenceTransformer
import numpy as np
from sklearn.metrics.pairwise import cosine_similarity

# Load dataset and model
dataset = load_dataset("pageman/philippine-budget-2025-embeddings-minilm")
model = SentenceTransformer('all-MiniLM-L6-v2')

# Get embeddings
doc_embeddings = np.array(dataset['train']['embedding'])
texts = dataset['train']['text']

# Search
query = "What is the education budget allocation?"
query_embedding = model.encode(query)
similarities = cosine_similarity([query_embedding], doc_embeddings)[0]

# Get top 5 results
top_indices = np.argsort(similarities)[-5:][::-1]
for idx in top_indices:
    print(f"Score: {similarities[idx]:.4f}")
    print(f"Page: {dataset['train']['page'][idx]}")
    print(f"Text: {texts[idx][:200]}...")
    print()

Use with ChromaDB

import chromadb
from datasets import load_dataset

# Load dataset
dataset = load_dataset("pageman/philippine-budget-2025-embeddings-minilm")

# Initialize ChromaDB
client = chromadb.Client()
collection = client.create_collection("philippine_budget")

# Add to collection
collection.add(
    ids=[item['chunk_id'] for item in dataset['train']],
    embeddings=[item['embedding'] for item in dataset['train']],
    documents=[item['text'] for item in dataset['train']],
    metadatas=[{'page': item['page'], 'section': item['section']} for item in dataset['train']]
)

# Query
results = collection.query(
    query_texts=["infrastructure spending priorities"],
    n_results=5
)
print(results)

Use with LangChain (RAG)

from langchain.vectorstores import Chroma
from langchain.embeddings import HuggingFaceEmbeddings
from datasets import load_dataset

# Load dataset
dataset = load_dataset("pageman/philippine-budget-2025-embeddings-minilm")

# Create embeddings
embeddings = HuggingFaceEmbeddings(model_name='all-MiniLM-L6-v2')

# Create vector store
texts = dataset['train']['text']
metadatas = [{'page': p, 'section': s} for p, s in zip(
    dataset['train']['page'], 
    dataset['train']['section']
)]

vectorstore = Chroma.from_texts(
    texts=texts,
    embedding=embeddings,
    metadatas=metadatas
)

# Use as retriever
retriever = vectorstore.as_retriever(search_kwargs={"k": 5})
docs = retriever.get_relevant_documents("healthcare funding")

Model Comparison

Model Dimensions Speed Quality File Size Best For
all-MiniLM-L6-v2 384 ⭐⭐⭐⭐⭐ Fast ⭐⭐⭐⭐ Good 0.70 MB General use, real-time search
all-mpnet-base-v2 768 ⭐⭐⭐ Moderate ⭐⭐⭐⭐⭐ Excellent 1.31 MB High-precision, research

When to Use This Model

Use all-MiniLM-L6-v2 when:

  • βœ… You need fast semantic search (12x faster than MPNet)
  • βœ… You're building real-time applications
  • βœ… You have storage constraints
  • βœ… You're deploying to mobile/edge devices
  • βœ… You need to scale to millions of documents

Use Cases

1. Semantic Search Portal

Build a citizen-friendly search interface for budget information:

query = "How much is allocated for public schools?"
# Returns relevant budget sections with similarity scores

2. Budget Q&A Chatbot (RAG)

Create an AI assistant that answers budget questions using retrieval-augmented generation.

3. Policy Analysis Tool

Enable researchers to quickly find and analyze budget allocations across sectors and regions.

4. Budget Comparison System

Compare spending priorities across different fiscal years or government departments.

5. Transparency Dashboard

Build interactive visualizations with semantic filtering and exploration.

Source Document Details

  • Title: AGENDA FOR PROSPERITY: Fulfilling the Needs and Aspirations of the Filipino People
  • Publisher: Department of Budget and Management (DBM), Philippines
  • Fiscal Year: 2025
  • Total Budget: PHP 6.326 trillion (22.1% of GDP)
  • Document Type: People's Enacted Budget (Citizen-friendly version)
  • Pages: 55
  • Last Revised: April 22, 2025
  • Languages Available: English, Filipino

Key Budget Highlights

  • Education: PHP 977.6 billion (highest allocation)
  • Infrastructure: PHP 1.507 trillion
  • Health: Substantial allocations for universal healthcare
  • Social Protection: Programs for vulnerable sectors
  • Food Security: Agricultural and agribusiness support

Technical Specifications

Chunking Strategy

  • Method: Semantic units with 20% overlap
  • Target Tokens: ~1000 per chunk
  • Average Words: 203.7 per chunk
  • Average Tokens: 264.3 per chunk

Embedding Properties

  • Normalization: L2 normalized (optimal for cosine similarity)
  • Value Range: Approximately [-0.12, 0.12]
  • Distribution: Symmetric around zero
  • Sparsity: <1% (very dense)

Citation

If you use this dataset in your research or application, please cite:

@dataset{philippine_budget_2025_embeddings_minilm,
  title={Philippine Budget 2025 - Vector Embeddings (all-MiniLM-L6-v2)},
  author={Department of Budget and Management, Philippines},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/pageman/philippine-budget-2025-embeddings-minilm}}
}

License

This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license, consistent with the source document's public information and educational use policy.

Related Resources

Contact & Support

  • Budget Questions: Visit DBM website
  • Technical Issues: Open an issue on this dataset's discussion page
  • Dataset Maintainer: @pageman

Acknowledgments

  • Department of Budget and Management (DBM), Philippines for publishing the source document
  • Sentence Transformers team for the embedding models
  • Hugging Face for dataset hosting infrastructure

Dataset Version: 1.0
Last Updated: 2025-10-18
Status: βœ… Production Ready

Downloads last month
23

Spaces using pageman/philippine-budget-2025-embeddings-minilm 2