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

leslie
/
bert_cn_finetuning

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

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

  • Libraries
  • Transformers

    How to use leslie/bert_cn_finetuning with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="leslie/bert_cn_finetuning")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("leslie/bert_cn_finetuning")
    model = AutoModelForSequenceClassification.from_pretrained("leslie/bert_cn_finetuning")
  • Notebooks
  • Google Colab
  • Kaggle
bert_cn_finetuning
2.99 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
patrickvonplaten's picture
patrickvonplaten
allow flax
9d90191 almost 5 years ago
  • .gitattributes
    391 Bytes
    allow flax almost 5 years ago
  • config.json
    1.23 kB
    Update config.json almost 6 years ago
  • eval_results.txt
    11 Bytes
    Update eval_results.txt almost 6 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json almost 6 years ago
  • tokenizer_config.json
    40 Bytes
    Update tokenizer_config.json almost 6 years ago
  • training_args.bin

    Detected Pickle imports (2)

    • "argparse.Namespace",
    • "torch.device"

    How to fix it?

    1.21 kB
    xet
    Update training_args.bin almost 6 years ago