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

  • Log In
  • Sign Up

annamodels
/
LGAI-Embedding-Preview

Sentence Similarity
sentence-transformers
Safetensors
Transformers
English
mistral
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use annamodels/LGAI-Embedding-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use annamodels/LGAI-Embedding-Preview with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("annamodels/LGAI-Embedding-Preview")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use annamodels/LGAI-Embedding-Preview with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("annamodels/LGAI-Embedding-Preview")
    model = AutoModel.from_pretrained("annamodels/LGAI-Embedding-Preview")
  • Notebooks
  • Google Colab
  • Kaggle
LGAI-Embedding-Preview
28.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
annamodels's picture
annamodels
Update README.md
e9b2453 verified 6 months ago
  • 1_Pooling
    Initial commit 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • LICENSE
    1.83 kB
    Create LICENSE 7 months ago
  • README.md
    1.15 kB
    Update README.md 6 months ago
  • added_tokens.json
    69 Bytes
    Initial commit 11 months ago
  • config.json
    663 Bytes
    Initial commit 11 months ago
  • model-00001-of-00006.safetensors
    4.99 GB
    xet
    Initial commit 11 months ago
  • model-00002-of-00006.safetensors
    4.9 GB
    xet
    Initial commit 11 months ago
  • model-00003-of-00006.safetensors
    5 GB
    xet
    Initial commit 11 months ago
  • model-00004-of-00006.safetensors
    5 GB
    xet
    Initial commit 11 months ago
  • model-00005-of-00006.safetensors
    4.83 GB
    xet
    Initial commit 11 months ago
  • model-00006-of-00006.safetensors
    3.72 GB
    xet
    Initial commit 11 months ago
  • model.safetensors.index.json
    22.2 kB
    Initial commit 11 months ago
  • modules.json
    255 Bytes
    Initial commit 11 months ago
  • sentence_bert_config.json
    61 Bytes
    Initial commit 11 months ago
  • special_tokens_map.json
    640 Bytes
    Initial commit 11 months ago
  • tokenizer.json
    3.51 MB
    Initial commit 11 months ago
  • tokenizer.model
    493 kB
    xet
    Initial commit 11 months ago
  • tokenizer_config.json
    1.58 kB
    Initial commit 11 months ago