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

  • 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
8

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")
    # 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")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

is it commercial use allowed?

1
#8 opened 6 months ago by
hdnh2006

Update sentence bert config to 4096

#7 opened about 1 year ago by
michaelfeil

Is this the same model which is mentioned in a blogpost?

1
#6 opened over 1 year ago by
Someshfengde

Is there a plan to open-source the training code?

2
#4 opened almost 2 years ago by
FancyJay

Os error : you are trying to access a gated repo

1
#3 opened almost 2 years ago by
claraadam

How Can I Try STS task using this model? Can I get some prompt or code pieces for STS task?

1
#2 opened almost 2 years ago by
andreaKIM
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs