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

  • Log In
  • Sign Up

yonichi
/
cbert

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

Instructions to use yonichi/cbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use yonichi/cbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="yonichi/cbert", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("yonichi/cbert", trust_remote_code=True)
    model = AutoModelForSequenceClassification.from_pretrained("yonichi/cbert", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
cbert
442 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
yonichi's picture
yonichi
Update README.md
f24c441 about 4 years ago
  • .gitattributes
    1.18 kB
    initial commit about 4 years ago
  • README.md
    0 Bytes
    Update README.md about 4 years ago
  • config.json
    1.22 kB
    Update config.json about 4 years ago
  • configuration_cbert.py
    2.05 kB
    add model about 4 years ago
  • model_cbert.py
    1.91 kB
    add model about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    441 MB
    xet
    add model about 4 years ago
  • special_tokens_map.json
    112 Bytes
    add tokenizer about 4 years ago
  • tokenizer_config.json
    415 Bytes
    add tokenizer about 4 years ago
  • vocab.txt
    226 kB
    add tokenizer about 4 years ago