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

  • Log In
  • Sign Up

ldhldh
/
bert_YN_small

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

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

  • Libraries
  • Transformers

    How to use ldhldh/bert_YN_small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ldhldh/bert_YN_small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ldhldh/bert_YN_small")
    model = AutoModelForSequenceClassification.from_pretrained("ldhldh/bert_YN_small")
  • Notebooks
  • Google Colab
  • Kaggle
bert_YN_small
369 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
ldhldh's picture
ldhldh
Upload BertForSequenceClassification
8b8fc85 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • config.json
    830 Bytes
    Upload BertForSequenceClassification almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    369 MB
    xet
    Upload BertForSequenceClassification almost 3 years ago
  • special_tokens_map.json
    244 Bytes
    Upload 3 files almost 3 years ago
  • spiece.model
    371 kB
    xet
    Upload 3 files almost 3 years ago
  • tokenizer_config.json
    508 Bytes
    Update tokenizer_config.json almost 3 years ago