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

KucLab
/
Barist.2

Text Classification
Transformers
ONNX
Safetensors
llama
safety
content-moderation
multi-label
multilingual
tiny-language-model
from-scratch
distilled
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use KucLab/Barist.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KucLab/Barist.2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="KucLab/Barist.2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("KucLab/Barist.2")
    model = AutoModelForSequenceClassification.from_pretrained("KucLab/Barist.2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Barist.2 / data
49.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
KucLab's picture
KucLab
Add data/regex_benign_test.jsonl
ae19da2 verified 1 day ago
  • cs_benign.jsonl
    18.2 kB
    Add data/cs_benign.jsonl 1 day ago
  • mustcatch_dev.jsonl
    6.03 kB
    Add data/mustcatch_dev.jsonl 1 day ago
  • mustcatch_heldout2.jsonl
    7.9 kB
    Add data/mustcatch_heldout2.jsonl 1 day ago
  • regex_benign_test.jsonl
    17 kB
    Add data/regex_benign_test.jsonl 1 day ago