Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Captain-1337
/
CrudeBERT

Text Classification
Transformers
PyTorch
bert
Model card Files Files and versions
xet
Community
4

Instructions to use Captain-1337/CrudeBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Captain-1337/CrudeBERT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Captain-1337/CrudeBERT")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Captain-1337/CrudeBERT")
    model = AutoModelForSequenceClassification.from_pretrained("Captain-1337/CrudeBERT", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CrudeBERT
1.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
Captain-1337's picture
Captain-1337
Update README.md
a1cd8d1 verified about 2 years ago
  • .gitattributes
    737 Bytes
    initial commit about 5 years ago
  • CrudeBERT.pth
    438 MB
    xet
    Upload CrudeBERT.pth with git-lfs about 5 years ago
  • README.md
    6.69 kB
    Update README.md about 2 years ago
  • config.json
    842 Bytes
    Upload 2 files over 3 years ago
  • crude_bert_config.json
    876 Bytes
    Upload crude_bert_config.json almost 5 years ago
  • crude_bert_model.bin
    438 MB
    xet
    Upload crude_bert_model.bin with git-lfs almost 5 years ago
  • pytorch_model.bin
    438 MB
    xet
    Upload 2 files over 3 years ago
  • tokenizer_config.json
    252 Bytes
    Upload tokenizer_config.json over 3 years ago