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

cardiffnlp
/
pcl_robertabase

Text Classification
Transformers
PyTorch
English
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use cardiffnlp/pcl_robertabase with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use cardiffnlp/pcl_robertabase with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="cardiffnlp/pcl_robertabase")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/pcl_robertabase")
    model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/pcl_robertabase")
  • Notebooks
  • Google Colab
  • Kaggle
pcl_robertabase
Ctrl+K
Ctrl+K
  • 1 contributor
History: 21 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
c2651c1 verified 6 months ago
  • .gitattributes
    108 Bytes
    Adding `safetensors` variant of this model 6 months ago
  • README.md
    2.12 kB
    Update README.md 6 months ago
  • config.json
    878 Bytes
    Upload 7 files almost 3 years ago
  • merges.txt
    456 kB
    Upload 7 files almost 3 years ago
  • model.safetensors
    499 MB
    xet
    Adding `safetensors` variant of this model 6 months ago
  • pytorch_model.bin
    499 MB
    xet
    Upload 7 files almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload 7 files almost 3 years ago
  • tokenizer.json
    2.11 MB
    Upload 7 files almost 3 years ago
  • tokenizer_config.json
    448 Bytes
    Upload 7 files almost 3 years ago
  • vocab.json
    798 kB
    Upload 7 files almost 3 years ago