Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

protectai
/
codebert-base-Malicious_URLs-onnx

Text Classification
Transformers
ONNX
English
roberta
malicious-urls
url
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use protectai/codebert-base-Malicious_URLs-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use protectai/codebert-base-Malicious_URLs-onnx with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="protectai/codebert-base-Malicious_URLs-onnx")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("protectai/codebert-base-Malicious_URLs-onnx")
    model = AutoModelForSequenceClassification.from_pretrained("protectai/codebert-base-Malicious_URLs-onnx")
  • Notebooks
  • Google Colab
  • Kaggle
codebert-base-Malicious_URLs-onnx
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
asofter's picture
asofter
Update README.md
7bc4fa9 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.13 kB
    Update README.md about 2 years ago
  • config.json
    981 Bytes
    Upload config.json with huggingface_hub over 2 years ago
  • merges.txt
    456 kB
    Upload merges.txt with huggingface_hub over 2 years ago
  • model.onnx
    499 MB
    xet
    Upload model.onnx with huggingface_hub over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Upload special_tokens_map.json with huggingface_hub over 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer.json with huggingface_hub over 2 years ago
  • tokenizer_config.json
    1.41 kB
    Upload tokenizer_config.json with huggingface_hub over 2 years ago
  • vocab.json
    798 kB
    Upload vocab.json with huggingface_hub over 2 years ago