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

  • Log In
  • Sign Up

cnmoro
/
custom-model2vec-tokenlearn-medium

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

Instructions to use cnmoro/custom-model2vec-tokenlearn-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Model2Vec

    How to use cnmoro/custom-model2vec-tokenlearn-medium with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("cnmoro/custom-model2vec-tokenlearn-medium")
  • sentence-transformers

    How to use cnmoro/custom-model2vec-tokenlearn-medium with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("cnmoro/custom-model2vec-tokenlearn-medium")
    
    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
custom-model2vec-tokenlearn-medium
265 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
cnmoro's picture
cnmoro
Update README.md
a96e898 verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    755 Bytes
    Update README.md 6 months ago
  • config.json
    326 Bytes
    Upload 5 files 6 months ago
  • model.safetensors
    256 MB
    xet
    Upload 5 files 6 months ago
  • modules.json
    278 Bytes
    Upload 5 files 6 months ago
  • tokenizer.json
    9.08 MB
    Upload 5 files 6 months ago