Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:28450
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use AndreasThinks/all-MiniLM-L6-v2_policy_doc_finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AndreasThinks/all-MiniLM-L6-v2_policy_doc_finetune with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AndreasThinks/all-MiniLM-L6-v2_policy_doc_finetune") sentences = [ "What are the five criteria that community projects must meet to be considered for funding by the Community Ownership Fund?", "We want to fund community projects that do at least 1 of these 5 things:\nincrease feelings of pride in, and improve perceptions of, the local area as a place to live\nimprove social trust, cohesion, and sense of belonging\nincrease local participation in community life, arts, culture, or sport\nimprove local economic outcomes – including creating jobs, volunteering opportunities, and improving employability and skills levels in the local community\nimprove social and wellbeing outcomes – including having a positive impact on physical and mental health of local people, and reducing loneliness and social isolation\nStrengthening community ownership across the UK\nThe Fund will be delivered directly by the UK government to communities in England, Scotland, Wales, and Northern Ireland. The UK government is committed to fair opportunities to access funding through the Community Ownership Fund across the UK.\nA minimum target of spending in line with per-capita allocations has therefore been set in Scotland, Wales, and Northern Ireland. The Community Ownership Fund will target a minimum of £12.3 million in Scotland, £7.1 million in Wales, and £4.3 million in Northern Ireland of the total Fund over the 4 years until March 2025.\nThe design of the Fund recognises the different landscapes for community ownership across the UK, with different legislation in England and Wales, Scotland, and Northern Ireland. We have engaged widely with local stakeholders to ensure the Fund is effective, accessible and achieves its objectives.\nApplications will be assessed against a consistent framework. Eligibility for the Fund and the bidding assessment criteria are consistent in all 4 nations.\nGlossary\nCommunity asset\nFor this fund, an asset is physical building or space. It must be used by the community and accessible to as many people as possible.\nCommunity Asset Transfer\nAcross the United Kingdom, Community Asset Transfer (CAT) policy frameworks support the transfer of community assets from public authorities to community organisations. The legislation and policy contexts work slightly differently in parts of the United Kingdom.\nEngland\nAsset of community value\nIn England the Localism Act 2011 introduced a right for community groups to nominate buildings or land to their local authority as an asset of community value.\nIf the local authority agreed that the nomination met the test of being land of community value, the council would place the asset on a list of assets of community value for a period of 5 years.\nWhat this did was introduce a community right to bid. If the owner of a listed asset decided that they wish to sell the asset during the 5-year period of listing, then they must notify the local authority who would inform the nominating community group.", "In designated catchments, water companies have a duty to ensure wastewater treatment works serving a population equivalent over 2,000 meet specified nutrient removal standards by 1 April 2030 where the designation takes effect from 25 January 2024. For designations that take effect subsequent to that date, the upgrade date is specified in the notice. Competent authorities (including local planning authorities) considering planning proposals for development draining via a sewer to a wastewater treatment works subject to the upgrade duty are required to consider that the nutrient pollution standard will be met by the upgrade date for the purposes of Habitats Regulations Assessments. \nWhilst the upgrade date under the Water Industry Act 1991 for this catchment is 16 May 2031, the sewerage undertaker has committed to the delivery of the wastewater treatment work upgrades by 1 April 2030. The Environment Agency has also committed to varying Environmental Permits for the relevant wastewater treatment works so that the permits will require compliance with the nutrient pollution standard by 1 April 2030. ↩", "https://gcscc.ox.ac.uk/cmm-reviews#/ ↩\nWorld Bank, ‘Green Digital Transformation: How to Sustainably Close the Digital Divide and Harness Digital Tools for Climate Action’ https://openknowledge.worldbank.org/entities/ publication/6be73f14-f899-4a6d-a26e-56d98393acf3 ↩\nRitchie, 2020 https://ourworldindata.org/ghg-emissions-by-sector ↩\nWHO, e-waste factsheet, 2023: https://www.who.int/news-room/fact-sheets/detail/ electronic-waste-(e-waste) ↩\nInternational development in a contested world: ending extreme poverty and tackling climate change https://www.gov.uk/government/publications/international-development-in-a-contested-world-ending-extreme-poverty-and-tackling-climate-change ↩\nhttps://www.gov.uk/government/publications/greening-government-ict-and-digitalservices-strategy-2020-2025 ↩\nUK Government’s Department for Environment, Food & Rural Affairs ↩\nhttps://digitalprinciples.org/ ↩\nhttps://www.dynamicspectrumalliance.org/ ↩\nhttps://www.itu.int/itu-d/sites/partner2connect/ ↩\nhttps://www.govstack.global/ ↩" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!