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

nfhakim
/
police-sentiment-c2-v2

Text Classification
Transformers
PyTorch
Indonesian
bert
indobert
indobenchmark
indonlu
Model card Files Files and versions
xet
Community
1

Instructions to use nfhakim/police-sentiment-c2-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use nfhakim/police-sentiment-c2-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="nfhakim/police-sentiment-c2-v2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("nfhakim/police-sentiment-c2-v2")
    model = AutoModelForSequenceClassification.from_pretrained("nfhakim/police-sentiment-c2-v2")
  • Notebooks
  • Google Colab
  • Kaggle
police-sentiment-c2-v2
498 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
nfhakim's picture
nfhakim
Create README.md
a83d94a verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.12 kB
    Create README.md almost 2 years ago
  • config.json
    951 Bytes
    Update config.json almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage"

    What is a pickle import?

    498 MB
    xet
    Upload 5 files almost 2 years ago
  • special_tokens_map.json
    112 Bytes
    Upload 5 files almost 2 years ago
  • tokenizer_config.json
    529 Bytes
    Upload 5 files almost 2 years ago
  • vocab.txt
    229 kB
    Upload 5 files almost 2 years ago