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

  • Log In
  • Sign Up

rasgaard
/
m2v-dfm-large

Model2Vec
Safetensors
sentence-transformers
Danish
embeddings
static-embeddings
Model card Files Files and versions
xet
Community

Instructions to use rasgaard/m2v-dfm-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Model2Vec

    How to use rasgaard/m2v-dfm-large with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("rasgaard/m2v-dfm-large")
  • sentence-transformers

    How to use rasgaard/m2v-dfm-large with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("rasgaard/m2v-dfm-large")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
m2v-dfm-large
94.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
rasgaard's picture
rasgaard
Update README.md
387897c verified 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    4.69 kB
    Update README.md 7 months ago
  • config.json
    338 Bytes
    Upload folder using huggingface_hub 7 months ago
  • model.safetensors
    91.6 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • modules.json
    278 Bytes
    Upload folder using huggingface_hub 7 months ago
  • tokenizer.json
    3.13 MB
    Upload folder using huggingface_hub 7 months ago