Views
No views yet
pip install -U sentence-transformers1from sentence_transformers import SentenceTransformer
2
3# Download from the 🤗 Hub
4model = SentenceTransformer(
5 "Applied-Artificial-Intelligence-Eurecat/water-governance-bge-m3"
6)
7
8# Run inference
9sentences = [
10 "How can water governance systems improve stakeholder participation and decision-making?",
11
12 "The InnWater project supports more resilient and sustainable water governance by integrating data-driven tools, stakeholder knowledge, and decision-support mechanisms. The project focuses on improving the way water-related information is collected, structured, shared, and used by decision-makers, public authorities, and other relevant stakeholders.",
13
14 "Water governance requires the coordination of multiple actors, including public administrations, water utilities, citizens, environmental agencies, and policy makers. Effective governance frameworks must account for climate pressures, competing water uses, regulatory requirements, social participation, and long-term sustainability objectives.",
15]
16
17embeddings = model.encode(sentences)
18
19print(embeddings.shape)
20# [3, 1024]
21
22# Get the similarity scores for the embeddings
23similarities = model.similarity(embeddings, embeddings)
24
25print(similarities.shape)
26# [3, 3]Oriol Alàs, Ian Palacín, Water Governance Embedding Model, Eurecat – Technology Centre of Catalonia, 2026.
Trained using public deliverables from the InnWater project, funded by the European Union’s Horizon Europe programme (Grant Agreement No. 101086512)