Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

along26
/
all-MiniLM-Malaysian-Multi

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:139404
loss:TripletLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use along26/all-MiniLM-Malaysian-Multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use along26/all-MiniLM-Malaysian-Multi with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("along26/all-MiniLM-Malaysian-Multi")
    
    sentences = [
        "The evolution of specific physical adaptations, such as teeth and claws, has played a significant role in the development of carnivorous behavior in mammals. These adaptations have allowed mammals to effectively hunt, capture, and consume prey, providing them with the necessary nutrients for survival and reproduction.\n\n1. Teeth: The evolution of specialized teeth in carnivorous mammals has been crucial for their predatory lifestyle. Carnivores possess sharp, pointed teeth called canines, which are used for piercing and holding onto their prey. They also have carnassial teeth, which are modified molars and premolars that work like scissors to slice through flesh and break down tough connective tissues. These specialized teeth enable carnivorous mammals to efficiently consume meat and extract essential nutrients, such as proteins and fats, which are vital for their growth, maintenance, and reproduction.\n\n2. Claws: The development of sharp, curved claws in carnivorous mammals has also contributed to their predatory behavior. Claws serve multiple purposes, such as aiding in the capture and immobilization of prey, providing traction during high-speed chases, and assisting in climbing or digging. These adaptations enable carnivores to effectively hunt and capture a wide variety of prey species, increasing their chances of survival and reproductive success.\n\n3. Jaw structure and musculature: Carnivorous mammals have evolved strong jaw muscles and a specialized jaw structure that allows them to generate a powerful bite force. This adaptation enables them to kill their prey quickly and efficiently, as well as crush bones to access the nutrient-rich marrow inside.\n\n4. Digestive system: The evolution of a specialized digestive system in carnivorous mammals has also played a role in the development of their carnivorous behavior. Carnivores have a relatively short and simple gastrointestinal tract, which allows for the rapid digestion and absorption of nutrients from their protein-rich diet. This efficient digestive system enables carnivores to extract the maximum amount of energy and nutrients from their prey, supporting their high-energy lifestyle and promoting growth and reproduction.\n\n5. Sensory adaptations: Carnivorous mammals have evolved various sensory adaptations that aid in their predatory behavior. These include acute vision, hearing, and olfactory senses, which help them detect, locate, and track their prey. These sensory adaptations increase their hunting efficiency and overall success as predators.\n\nIn conclusion, the evolution of specific physical adaptations, such as teeth and claws, has significantly contributed to the development of carnivorous behavior in mammals. These adaptations have allowed them to effectively hunt, capture, and consume prey, providing them with the necessary nutrients for survival and reproduction. As a result, carnivorous mammals have thrived in various ecosystems and have become some of the most successful predators on Earth.",
        "Evolusi penyesuaian fizikal tertentu, seperti gigi dan kuku, telah memainkan peranan penting dalam perkembangan tingkah laku karnivor dalam mamalia. Penyesuaian ini telah membolehkan mamalia memburu, menangkap dan memakan mangsa dengan berkesan, memberikan mereka nutrien yang diperlukan untuk kelangsungan hidup dan pembiakan.\n\n1. Gigi: Evolusi gigi khusus dalam mamalia karnivor sangat penting untuk gaya hidup pemangsa mereka. Karnivor mempunyai gigi tajam dan runcing yang dipanggil taring, yang digunakan untuk menindik dan memegang mangsanya. Mereka juga mempunyai gigi karnassial, iaitu molar dan premolar yang diubah suai yang berfungsi seperti gunting untuk menghiris daging dan memecahkan tisu penghubung yang keras. Gigi khusus ini membolehkan mamalia karnivor memakan daging dengan cekap dan mengekstrak nutrien penting, seperti protein dan lemak, yang penting untuk pertumbuhan, penyelenggaraan dan pembiakan mereka.\n\n2. Cakar: Perkembangan kuku tajam dan melengkung dalam mamalia karnivor juga telah menyumbang kepada tingkah laku pemangsa mereka. Cakar mempunyai pelbagai tujuan, seperti membantu dalam menangkap dan melumpuhkan mangsa, memberikan daya tarikan semasa mengejar kelajuan tinggi, dan membantu dalam memanjat atau menggali. Penyesuaian ini membolehkan karnivor memburu dan menangkap pelbagai spesies mangsa dengan berkesan, meningkatkan peluang mereka untuk hidup dan kejayaan pembiakan.\n\n3. Struktur rahang dan otot: Mamalia karnivor telah mengembangkan otot rahang yang kuat dan struktur rahang khusus yang membolehkan mereka menjana daya gigitan yang kuat. Penyesuaian ini membolehkan mereka membunuh mangsanya dengan cepat dan cekap, serta menghancurkan tulang untuk mengakses sumsum yang kaya dengan nutrien di dalamnya.\n\n4. Sistem pencernaan: Evolusi sistem pencernaan khusus dalam mamalia karnivor juga telah memainkan peranan dalam perkembangan tingkah laku karnivor mereka. Karnivor mempunyai saluran gastrousus yang agak pendek dan ringkas, yang membolehkan pencernaan cepat dan penyerapan nutrien daripada diet kaya protein mereka. Sistem penghadaman yang cekap ini membolehkan karnivor mengekstrak jumlah maksimum tenaga dan nutrien daripada mangsanya, menyokong gaya hidup bertenaga tinggi mereka dan menggalakkan pertumbuhan dan pembiakan.\n\n5. Penyesuaian deria: Mamalia karnivor telah mengembangkan pelbagai penyesuaian deria yang membantu dalam tingkah laku pemangsa mereka. Ini termasuk penglihatan akut, pendengaran dan deria penciuman, yang membantu mereka mengesan, mencari dan menjejaki mangsanya. Penyesuaian deria ini meningkatkan kecekapan memburu mereka dan kejayaan keseluruhan sebagai pemangsa.\n\nKesimpulannya, evolusi penyesuaian fizikal tertentu, seperti gigi dan kuku, telah menyumbang dengan ketara kepada perkembangan tingkah laku karnivor dalam mamalia. Penyesuaian ini telah membolehkan mereka memburu, menangkap dan memakan mangsa dengan berkesan, memberikan mereka nutrien yang diperlukan untuk hidup dan pembiakan. Akibatnya, mamalia karnivor telah berkembang maju dalam pelbagai ekosistem dan telah menjadi antara pemangsa yang paling berjaya di Bumi.",
        "Eh, you flip fair coin 10 times one, what chance you get 6 head and 4 tail ah? Wah lau, so many question sia! You want to know or not? Aiyoh, just use calculator lah, so easy one!",
        "Malaysia's politicians and political parties have been accused of corruption and misconduct in various ways, including:\n\n1. Bribery and abuse of power: Politicians have been accused of accepting bribes in exchange for political favors, contracts, and other benefits. They have also been accused of using their positions for personal gain, such as awarding government contracts to companies they have a financial interest in.\n2. Election fraud: There have been allegations of vote-buying, phantom voters, and other forms of election fraud in Malaysia. These practices are intended to manipulate election results in favor of certain politicians or political parties.\n3. Misuse of public funds: Politicians have been accused of misusing public funds for personal gain or to benefit their political parties. This includes using government resources for campaigning, as well as embezzling public funds.\n\nTo address these issues, the Malaysian government has taken various measures, including:\n\n1. Anti-corruption laws: Malaysia has enacted various laws to combat corruption, such as the Malaysian Anti-Corruption Commission Act and the Whistleblower Protection Act. These laws establish penalties for corruption and provide protection for whistleblowers who report corruption.\n2. Electoral reforms: The Malaysian government has implemented various electoral reforms to prevent election fraud, such as introducing indelible ink to prevent voter impersonation and establishing the Election Commission to oversee elections.\n3. Political financing regulations: The Malaysian government has introduced regulations to limit the amount of money that political parties can receive from donors, as well as to require political parties to disclose their sources of funding.\n4. Investigations and prosecutions: The Malaysian Anti-Corruption Commission and other law enforcement agencies have launched investigations and prosecutions against politicians and political parties accused of corruption and misconduct.\n\nHowever, corruption and misconduct remain significant issues in Malaysia's political landscape. Transparency International's Corruption Perceptions Index ranks Malaysia 57 out of 180 countries, indicating a high level of perceived corruption in the country. Civil society organizations and opposition parties have criticized the government for not doing enough to address corruption and have called for further reforms to strengthen anti-corruption measures and promote transparency and accountability in government."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-Malaysian-Multi
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
along26's picture
along26
Add new SentenceTransformer model
3c1da75 verified 7 months ago
  • 1_Pooling
    Add new SentenceTransformer model 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    58.9 kB
    Add new SentenceTransformer model 7 months ago
  • config.json
    611 Bytes
    Add new SentenceTransformer model 7 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 7 months ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model 7 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 7 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 7 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 7 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 7 months ago
  • tokenizer_config.json
    1.46 kB
    Add new SentenceTransformer model 7 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 7 months ago