Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Linq-AI-Research
/
Linq-Embed-Mistral

Feature Extraction
sentence-transformers
Safetensors
Transformers
English
mistral
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
9

Instructions to use Linq-AI-Research/Linq-Embed-Mistral with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Linq-AI-Research/Linq-Embed-Mistral with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Linq-AI-Research/Linq-Embed-Mistral")
    
    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]
  • Transformers

    How to use Linq-AI-Research/Linq-Embed-Mistral with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Linq-AI-Research/Linq-Embed-Mistral")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("Linq-AI-Research/Linq-Embed-Mistral")
    model = AutoModel.from_pretrained("Linq-AI-Research/Linq-Embed-Mistral", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Linq-Embed-Mistral
14.2 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 13 commits
Junseong's picture
Junseong
MOD: scores and links for referenced models
ff8be30 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    7.23 kB
    MOD: scores and links for referenced models over 2 years ago
  • config.json
    663 Bytes
    upload model over 2 years ago
  • model-00001-of-00003.safetensors
    4.94 GB
    xet
    upload model over 2 years ago
  • model-00002-of-00003.safetensors
    5 GB
    xet
    upload model over 2 years ago
  • model-00003-of-00003.safetensors
    4.28 GB
    xet
    upload model over 2 years ago
  • model.safetensors.index.json
    22.2 kB
    upload model over 2 years ago
  • special_tokens_map.json
    624 Bytes
    upload model over 2 years ago
  • tokenizer.json
    1.8 MB
    upload model over 2 years ago
  • tokenizer.model
    493 kB
    xet
    upload model over 2 years ago
  • tokenizer_config.json
    1.01 kB
    upload model over 2 years ago