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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

cristvz01
/
my-embedding-gemma

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

Instructions to use cristvz01/my-embedding-gemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use cristvz01/my-embedding-gemma with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("cristvz01/my-embedding-gemma")
    
    sentences = [
        "Lệnh `print(\"đồ rê mi \"*3 + \"pha son la si đô \"*2)` sẽ in ra kết quả gì?",
        "Trong khi hầu hết các phép toán được tính từ trái qua phải, phép toán lũy thừa lại được tính theo hướng ngược lại.",
        "Giải thích kết quả của việc lặp lại chuỗi 'đồ rê mi' 3 lần và nối với chuỗi 'pha son la si đô' được lặp lại 2 lần trong Python.",
        "Một địa chỉ IP là một nhãn số được gán cho mỗi thiết bị tham gia vào một mạng máy tính sử dụng Giao thức Internet để giao tiếp."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
my-embedding-gemma
1.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
cristvz01's picture
cristvz01
Add new SentenceTransformer model
d367ac9 verified 5 months ago
  • 1_Pooling
    Add new SentenceTransformer model 5 months ago
  • 2_Dense
    Add new SentenceTransformer model 5 months ago
  • 3_Dense
    Add new SentenceTransformer model 5 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 5 months ago
  • README.md
    16.1 kB
    Add new SentenceTransformer model 5 months ago
  • added_tokens.json
    35 Bytes
    Add new SentenceTransformer model 5 months ago
  • config.json
    1.49 kB
    Add new SentenceTransformer model 5 months ago
  • config_sentence_transformers.json
    997 Bytes
    Add new SentenceTransformer model 5 months ago
  • model.safetensors
    1.21 GB
    xet
    Add new SentenceTransformer model 5 months ago
  • modules.json
    573 Bytes
    Add new SentenceTransformer model 5 months ago
  • sentence_bert_config.json
    58 Bytes
    Add new SentenceTransformer model 5 months ago
  • special_tokens_map.json
    662 Bytes
    Add new SentenceTransformer model 5 months ago
  • tokenizer.json
    33.4 MB
    xet
    Add new SentenceTransformer model 5 months ago
  • tokenizer.model
    4.69 MB
    xet
    Add new SentenceTransformer model 5 months ago
  • tokenizer_config.json
    1.16 MB
    Add new SentenceTransformer model 5 months ago