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

  • Log In
  • Sign Up

turingevo
/
bge-base-zh-v1.5-openvino-8bit

Feature Extraction
sentence-transformers
OpenVINO
Transformers
Chinese
bert
sentence-similarity
nncf
8-bit precision
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use turingevo/bge-base-zh-v1.5-openvino-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use turingevo/bge-base-zh-v1.5-openvino-8bit with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("turingevo/bge-base-zh-v1.5-openvino-8bit")
    
    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 turingevo/bge-base-zh-v1.5-openvino-8bit with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="turingevo/bge-base-zh-v1.5-openvino-8bit")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("turingevo/bge-base-zh-v1.5-openvino-8bit")
    model = AutoModel.from_pretrained("turingevo/bge-base-zh-v1.5-openvino-8bit")
  • Notebooks
  • Google Colab
  • Kaggle
bge-base-zh-v1.5-openvino-8bit
103 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
turingevo's picture
turingevo
Upload README.md with huggingface_hub
f96d48c verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    845 Bytes
    Upload README.md with huggingface_hub about 1 year ago
  • config.json
    961 Bytes
    Upload config.json with huggingface_hub about 1 year ago
  • config_sentence_transformers.json
    124 Bytes
    Upload config_sentence_transformers.json with huggingface_hub about 1 year ago
  • modules.json
    349 Bytes
    Upload modules.json with huggingface_hub about 1 year ago
  • openvino_config.json
    609 Bytes
    Upload openvino_config.json with huggingface_hub about 1 year ago
  • openvino_model.bin
    102 MB
    xet
    Upload openvino_model.bin with huggingface_hub about 1 year ago
  • openvino_model.xml
    594 kB
    Upload openvino_model.xml with huggingface_hub about 1 year ago
  • sentence_bert_config.json
    52 Bytes
    Upload sentence_bert_config.json with huggingface_hub about 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload special_tokens_map.json with huggingface_hub about 1 year ago
  • tokenizer.json
    439 kB
    Upload tokenizer.json with huggingface_hub about 1 year ago
  • tokenizer_config.json
    366 Bytes
    Upload tokenizer_config.json with huggingface_hub about 1 year ago