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

onnx-community
/
JobBERT-v2-ONNX

Sentence Similarity
Transformers.js
ONNX
sentence-transformers
English
mpnet
feature-extraction
Generated from Trainer
dataset_size:5579240
loss:CachedMultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use onnx-community/JobBERT-v2-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use onnx-community/JobBERT-v2-ONNX with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('sentence-similarity', 'onnx-community/JobBERT-v2-ONNX');
  • sentence-transformers

    How to use onnx-community/JobBERT-v2-ONNX with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("onnx-community/JobBERT-v2-ONNX")
    
    sentences = [
        "Program Coordinator RN",
        "discuss the medical history of the healthcare user, evidence-based approach in general practice, apply various lifting techniques, establish daily priorities, manage time, demonstrate disciplinary expertise, tolerate sitting for long periods, think critically, provide professional care in nursing, attend meetings, represent union members, nursing science, manage a multidisciplinary team involved in patient care, implement nursing care, customer service, work under supervision in care, keep up-to-date with training subjects, evidence-based nursing care, operate lifting equipment, follow code of ethics for biomedical practices, coordinate care, provide learning support in healthcare",
        "provide written content, prepare visual data, design computer network, deliver visual presentation of data, communication, operate relational database management system, ICT communications protocols, document management, use threading techniques, search engines, computer science, analyse network bandwidth requirements, analyse network configuration and performance, develop architectural plans, conduct ICT code review, hardware architectures, computer engineering, video-games functionalities, conduct web searches, use databases, use online tools to collaborate",
        "nursing science, administer appointments, administrative tasks in a medical environment, intravenous infusion, plan nursing care, prepare intravenous packs, work with nursing staff, supervise nursing staff, clinical perfusion"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
JobBERT-v2-ONNX
1.38 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Felladrin's picture
Felladrin
Upload folder using huggingface_hub
c684fd6 verified about 1 month ago
  • onnx
    Upload folder using huggingface_hub about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    18.7 kB
    Upload folder using huggingface_hub about 1 month ago
  • config.json
    545 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • special_tokens_map.json
    964 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer_config.json
    1.61 kB
    Upload folder using huggingface_hub about 1 month ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub about 1 month ago