sentence-transformers How to use frankwong2001/3_modernbert-embed-base with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("frankwong2001/3_modernbert-embed-base")
sentences = [
"The Keeper/Aquarist is responsible for the care and management of wildlife within the organisation/attractions sites. This includes the preparation and feeding of food to the wildlife, caring for ill animals, checking enclosures and cages for signs of wear or damage for animal, staff and visitor safety, and giving educational talks/tours to the visitors. He/she also maintains animal training behaviours and promotes conservation awareness through his animal presentations. Detail-oriented with a strong passion for animals, he is attentive to the needs of the wildlife under his care, and leverages his strong communication skills to communicate effectively with visitors on the characteristics and behaviours of the wildlife. He is physically fit and works in a shift system encompassing weekends and public holidays. Outside the working hours, he may be on a rota for call-outs. He often stays outdoors for long periods of time even through inclement weather, and may need a driving licence if he is working in a large zoo or safari park. He may also need a scuba-diving licence if working in an aquarium.",
"The Director of Nursing in the Education sector collaborates closely with the Chief Nurse to develop a comprehensive nursing education framework that addresses the diverse learning requirements of nursing students and practicing nurses. This role involves identifying emerging competencies and partnering with critical stakeholders to promote adaptable and responsive skill acquisition that enhances the nursing workforce's capabilities. The Director champions nursing practice through exceptional ongoing professional development initiatives tailored to meet the changing demands of the national healthcare landscape. Additionally, they secure organizational resources to support nurses in their lifelong learning journeys and encourage the integration of cutting-edge technologies and innovations in nursing education. This position operates across various environments, including acute care, primary care, and community care, requiring a visionary leader who is dynamic and attuned to the evolving healthcare needs, with strong leadership abilities in fostering psychological resilience and creating effective learning environments.",
"The Keeper/Aquarist is responsible for managing the administrative tasks related to wildlife licensing and permits within the organization. This includes ensuring compliance with local regulations, filing necessary documents, and maintaining records, without direct interaction with the animals or visitors.\n\nThe Keeper/Aquarist oversees a team of junior staff members and is focused on strategic planning for conservation policies rather than hands-on animal care. This role requires several years of experience in management and decision-making authority regarding budget allocations and resource management.\n\nThe Keeper/Aquarist works as a Compliance Associate in the banking sector, where he/she analyzes regulatory frameworks and ensures adherence to financial policies. This position requires a strong understanding of financial compliance rather than animal welfare.\n\nThe Keeper/Aquarist is tasked with wildlife management in an international context, focusing on cross-border regulatory issues and global wildlife trade laws, without direct involvement in animal care or public education.\n\nThe Keeper/Aquarist combines duties of an event coordinator and animal caretaker, responsible for planning wildlife-related events while also providing care for the animals, leading to confusion in priorities and skill requirements across both roles.",
"The Keeper/Aquarist is entrusted with the comprehensive care and management of wildlife within the organization’s attractions. This role involves preparing and providing nutritious food for the animals, tending to those that are unwell, and inspecting enclosures for any signs of damage to ensure the safety of animals, staff, and visitors. The Keeper/Aquarist also engages guests through educational talks and tours, enhancing their understanding of wildlife conservation. With a keen eye for detail and a deep passion for animals, he/she is dedicated to meeting the needs of the creatures in their care and utilizes strong communication skills to effectively share insights about animal behavior and characteristics with visitors. The position requires physical fitness, as it involves working shifts that include weekends and public holidays. Additionally, the Keeper/Aquarist may be on call outside regular hours and is accustomed to spending extended periods outdoors, regardless of weather conditions. A driving license is essential for those working in larger facilities, and a scuba-diving license may be required for aquarium settings."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]