Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Heng666
/
codecarbon-text-classification

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

Instructions to use Heng666/codecarbon-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Heng666/codecarbon-text-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Heng666/codecarbon-text-classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Heng666/codecarbon-text-classification")
    model = AutoModelForSequenceClassification.from_pretrained("Heng666/codecarbon-text-classification")
  • Notebooks
  • Google Colab
  • Kaggle
codecarbon-text-classification
433 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Heng666's picture
Heng666
Update README.md
80e9c73 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    264 Bytes
    Update README.md almost 3 years ago
  • config.json
    730 Bytes
    Upload BertForSequenceClassification (#1) almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    433 MB
    xet
    Upload BertForSequenceClassification (#1) almost 3 years ago