Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

quicktensor
/
dexml_lf-wikipedia-500k

Sentence Similarity
sentence-transformers
Safetensors
Transformers
English
distilbert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use quicktensor/dexml_lf-wikipedia-500k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use quicktensor/dexml_lf-wikipedia-500k with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("quicktensor/dexml_lf-wikipedia-500k")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use quicktensor/dexml_lf-wikipedia-500k with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("quicktensor/dexml_lf-wikipedia-500k")
    model = AutoModel.from_pretrained("quicktensor/dexml_lf-wikipedia-500k")
  • Notebooks
  • Google Colab
  • Kaggle
dexml_lf-wikipedia-500k
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
nilesh2797
update readme
43099cd about 2 years ago
  • 1_Pooling
    add sentence-transformer support about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.96 kB
    update readme about 2 years ago
  • config.json
    546 Bytes
    push about 2 years ago
  • config_sentence_transformers.json
    126 Bytes
    add sentence-transformer support about 2 years ago
  • model.safetensors
    265 MB
    xet
    push about 2 years ago
  • modules.json
    253 Bytes
    add sentence-transformer support about 2 years ago
  • sentence_bert_config.json
    56 Bytes
    add sentence-transformer support about 2 years ago
  • special_tokens_map.json
    125 Bytes
    push about 2 years ago
  • tokenizer.json
    711 kB
    push about 2 years ago
  • tokenizer_config.json
    1.2 kB
    push about 2 years ago
  • vocab.txt
    232 kB
    push about 2 years ago