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

  • Log In
  • Sign Up

jrc2139
/
e5-large-v2-ONNX

Feature Extraction
sentence-transformers
ONNX
Transformers
bert
onnxruntime
reranker
int8
int4
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use jrc2139/e5-large-v2-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jrc2139/e5-large-v2-ONNX with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jrc2139/e5-large-v2-ONNX")
    
    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 jrc2139/e5-large-v2-ONNX with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="jrc2139/e5-large-v2-ONNX")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("jrc2139/e5-large-v2-ONNX")
    model = AutoModel.from_pretrained("jrc2139/e5-large-v2-ONNX")
  • Notebooks
  • Google Colab
  • Kaggle
e5-large-v2-ONNX
3.01 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
jrc2139's picture
jrc2139
Upload folder using huggingface_hub
f173942 verified 9 days ago
  • 1_Pooling
    Upload folder using huggingface_hub 9 days ago
  • onnx
    Upload folder using huggingface_hub 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    639 Bytes
    Upload folder using huggingface_hub 9 days ago
  • config.json
    578 Bytes
    Upload folder using huggingface_hub 9 days ago
  • config_sentence_transformers.json
    278 Bytes
    Upload folder using huggingface_hub 9 days ago
  • modules.json
    429 Bytes
    Upload folder using huggingface_hub 9 days ago
  • sentence_bert_config.json
    241 Bytes
    Upload folder using huggingface_hub 9 days ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    1.22 kB
    Upload folder using huggingface_hub 4 months ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 4 months ago