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

  • Log In
  • Sign Up

deebak14
/
embedding_gemma_ft_v1

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

Instructions to use deebak14/embedding_gemma_ft_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use deebak14/embedding_gemma_ft_v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("deebak14/embedding_gemma_ft_v1")
    
    sentences = [
        "I need to lock an object in my model so I can work on other parts without accidentally selecting it. How can I do that?",
        "You cannot use the following methods IsObjectLocked, LockObjects, UnlockObject, SelectObject, SelectObjects, UnlockObjects, IsObjectSelectable, ShowObject, IsObjectNormal",
        "object",
        "You can use the following methods to complete the task.\nmethod: LockObject\ndescription: Locks a single object. Locked objects are visible, and they can be\r\n    snapped to. But, they cannot be selected.\nsyntax: LockObject(object_id)\nparameters: object_id (guid): The identifier of an object\nreturns: bool: True or False indicating success or failure\n\nFollowing is the code that uses this method to complete the task as per user query.\n\n```python\nimport rhinoscriptsyntax as rs\n\n# Lock an object in the model to prevent accidental selection\nid = rs.GetObject(\"Select object to lock\")\nif id:\n    rs.LockObject(id)\n    print(\"Object locked successfully.\")\nelse:\n    print(\"No object selected.\")\n```"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
embedding_gemma_ft_v1
1.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
deebak14's picture
deebak14
Add new SentenceTransformer model
178a831 verified 7 months ago
  • 1_Pooling
    Add new SentenceTransformer model 7 months ago
  • 2_Dense
    Add new SentenceTransformer model 7 months ago
  • 3_Dense
    Add new SentenceTransformer model 7 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 7 months ago
  • README.md
    37.3 kB
    Add new SentenceTransformer model 7 months ago
  • added_tokens.json
    35 Bytes
    Add new SentenceTransformer model 7 months ago
  • config.json
    1.48 kB
    Add new SentenceTransformer model 7 months ago
  • config_sentence_transformers.json
    992 Bytes
    Add new SentenceTransformer model 7 months ago
  • model.safetensors
    1.21 GB
    xet
    Add new SentenceTransformer model 7 months ago
  • modules.json
    573 Bytes
    Add new SentenceTransformer model 7 months ago
  • sentence_bert_config.json
    58 Bytes
    Add new SentenceTransformer model 7 months ago
  • special_tokens_map.json
    662 Bytes
    Add new SentenceTransformer model 7 months ago
  • tokenizer.json
    33.4 MB
    xet
    Add new SentenceTransformer model 7 months ago
  • tokenizer.model
    4.69 MB
    xet
    Add new SentenceTransformer model 7 months ago
  • tokenizer_config.json
    1.16 MB
    Add new SentenceTransformer model 7 months ago