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

prompt-security
/
codenlbert-sm_onnx

Text Classification
Transformers
ONNX
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use prompt-security/codenlbert-sm_onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use prompt-security/codenlbert-sm_onnx with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="prompt-security/codenlbert-sm_onnx")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("prompt-security/codenlbert-sm_onnx")
    model = AutoModelForSequenceClassification.from_pretrained("prompt-security/codenlbert-sm_onnx")
  • Notebooks
  • Google Colab
  • Kaggle
codenlbert-sm_onnx
116 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
maortal's picture
maortal
Upload 6 files
42ad3f8 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    766 Bytes
    Upload 6 files over 2 years ago
  • model.onnx
    115 MB
    xet
    Upload 6 files over 2 years ago
  • special_tokens_map.json
    125 Bytes
    Upload 6 files over 2 years ago
  • tokenizer.json
    711 kB
    Upload 6 files over 2 years ago
  • tokenizer_config.json
    394 Bytes
    Upload 6 files over 2 years ago
  • vocab.txt
    232 kB
    Upload 6 files over 2 years ago