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

AIFunOver
/
all-mpnet-base-v2-openvino-8bit

Sentence Similarity
sentence-transformers
OpenVINO
Transformers
English
mpnet
fill-mask
feature-extraction
nncf
8-bit precision
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use AIFunOver/all-mpnet-base-v2-openvino-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AIFunOver/all-mpnet-base-v2-openvino-8bit with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AIFunOver/all-mpnet-base-v2-openvino-8bit")
    
    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 AIFunOver/all-mpnet-base-v2-openvino-8bit with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("AIFunOver/all-mpnet-base-v2-openvino-8bit")
    model = AutoModelForMaskedLM.from_pretrained("AIFunOver/all-mpnet-base-v2-openvino-8bit")
  • Notebooks
  • Google Colab
  • Kaggle
all-mpnet-base-v2-openvino-8bit
111 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
AIFunOver's picture
AIFunOver
Upload README.md with huggingface_hub
8ceafd6 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1.43 kB
    Upload README.md with huggingface_hub over 1 year ago
  • config.json
    591 Bytes
    Upload config.json with huggingface_hub over 1 year ago
  • config_sentence_transformers.json
    116 Bytes
    Upload config_sentence_transformers.json with huggingface_hub over 1 year ago
  • data_config.json
    39.3 kB
    Upload data_config.json with huggingface_hub over 1 year ago
  • modules.json
    349 Bytes
    Upload modules.json with huggingface_hub over 1 year ago
  • openvino_config.json
    557 Bytes
    Upload openvino_config.json with huggingface_hub over 1 year ago
  • openvino_model.bin
    110 MB
    xet
    Upload openvino_model.bin with huggingface_hub over 1 year ago
  • openvino_model.xml
    649 kB
    Upload openvino_model.xml with huggingface_hub over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload sentence_bert_config.json with huggingface_hub over 1 year ago
  • special_tokens_map.json
    239 Bytes
    Upload special_tokens_map.json with huggingface_hub over 1 year ago
  • tokenizer.json
    466 kB
    Upload tokenizer.json with huggingface_hub over 1 year ago
  • tokenizer_config.json
    363 Bytes
    Upload tokenizer_config.json with huggingface_hub over 1 year ago