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

onelevelstudio
/
MPNET-0.3B

Sentence Similarity
sentence-transformers
PyTorch
google-tensorflow TensorFlow
ONNX
Safetensors
OpenVINO
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use onelevelstudio/MPNET-0.3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use onelevelstudio/MPNET-0.3B with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("onelevelstudio/MPNET-0.3B")
    
    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 onelevelstudio/MPNET-0.3B with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("onelevelstudio/MPNET-0.3B")
    model = AutoModelForMultimodalLM.from_pretrained("onelevelstudio/MPNET-0.3B")
  • Notebooks
  • Google Colab
  • Kaggle
MPNET-0.3B / onnx
6.11 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
baobuiquang's picture
baobuiquang
init
49f0060 verified about 1 year ago
  • model.onnx
    1.11 GB
    xet
    init about 1 year ago
  • model_O1.onnx
    1.11 GB
    xet
    init about 1 year ago
  • model_O2.onnx
    1.11 GB
    xet
    init about 1 year ago
  • model_O3.onnx
    1.11 GB
    xet
    init about 1 year ago
  • model_O4.onnx
    555 MB
    xet
    init about 1 year ago
  • model_qint8_arm64.onnx
    279 MB
    xet
    init about 1 year ago
  • model_qint8_avx512.onnx
    279 MB
    xet
    init about 1 year ago
  • model_qint8_avx512_vnni.onnx
    279 MB
    xet
    init about 1 year ago
  • model_quint8_avx2.onnx
    279 MB
    xet
    init about 1 year ago