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

  • Log In
  • Sign Up

PietroSaveri
/
meme-cluster-classifier

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:6066
loss:OnlineContrastiveLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use PietroSaveri/meme-cluster-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use PietroSaveri/meme-cluster-classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("PietroSaveri/meme-cluster-classifier")
    
    sentences = [
        "Mitochondria, often called 'powerhouses of the cell,' generate most of the cell's ATP through cellular respiration and have their own DNA.",
        "Plate tectonics theory explains that Earth's lithosphere is divided into plates that move, causing earthquakes, volcanoes, and mountain formation.",
        "The Titanic was intentionally sunk as part of an insurance scam by J.P. Morgan.",
        "Why can't you trust a statistician? They're always plotting something, and they have a mean personality."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
meme-cluster-classifier
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
PietroSaveri's picture
PietroSaveri
Update README.md
30e27ca verified 11 months ago
  • 1_Pooling
    Upload fine-tuned meme cluster classifier 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    16.2 kB
    Update README.md 11 months ago
  • config.json
    551 Bytes
    Upload fine-tuned meme cluster classifier 11 months ago
  • config_sentence_transformers.json
    205 Bytes
    Upload fine-tuned meme cluster classifier 11 months ago
  • model.safetensors
    438 MB
    xet
    Upload fine-tuned meme cluster classifier 11 months ago
  • modules.json
    349 Bytes
    Upload fine-tuned meme cluster classifier 11 months ago
  • sentence_bert_config.json
    53 Bytes
    Upload fine-tuned meme cluster classifier 11 months ago
  • special_tokens_map.json
    964 Bytes
    Upload fine-tuned meme cluster classifier 11 months ago
  • tokenizer.json
    711 kB
    Upload fine-tuned meme cluster classifier 11 months ago
  • tokenizer_config.json
    1.62 kB
    Upload fine-tuned meme cluster classifier 11 months ago
  • vocab.txt
    232 kB
    Upload fine-tuned meme cluster classifier 11 months ago