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

Kobichris
/
cb-policy-tone

Text Classification
Transformers
ONNX
Safetensors
Transformers.js
English
bert
finance
central-bank
monetary-policy
ghana
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Kobichris/cb-policy-tone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Kobichris/cb-policy-tone with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Kobichris/cb-policy-tone")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Kobichris/cb-policy-tone")
    model = AutoModelForSequenceClassification.from_pretrained("Kobichris/cb-policy-tone", device_map="auto")
  • Transformers.js

    How to use Kobichris/cb-policy-tone with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('text-classification', 'Kobichris/cb-policy-tone');
  • Notebooks
  • Google Colab
  • Kaggle
cb-policy-tone
658 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Kobichris's picture
Kobichris
Model card: browser version is 16-bit
16be36c verified 12 days ago
  • onnx
    Add ONNX model for transformers.js 12 days ago
  • .gitattributes
    1.52 kB
    initial commit 14 days ago
  • README.md
    2.3 kB
    Model card: browser version is 16-bit 12 days ago
  • config.json
    918 Bytes
    Upload BertForSequenceClassification 14 days ago
  • model.safetensors
    438 MB
    xet
    Upload BertForSequenceClassification 14 days ago
  • tokenizer.json
    712 kB
    Upload tokenizer 14 days ago
  • tokenizer_config.json
    351 Bytes
    Upload tokenizer 14 days ago