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

KPF
/
KPF-bert-cls1

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

Instructions to use KPF/KPF-bert-cls1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KPF/KPF-bert-cls1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="KPF/KPF-bert-cls1")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("KPF/KPF-bert-cls1")
    model = AutoModelForSequenceClassification.from_pretrained("KPF/KPF-bert-cls1", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
KPF-bert-cls1
456 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
KPF's picture
KPF
Update README.md
44fa9bc over 3 years ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • README.md
    2.57 kB
    Update README.md over 3 years ago
  • config.json
    3.43 kB
    initial commit over 3 years ago
  • pytorch_model.bin
    456 MB
    xet
    initial commit over 3 years ago