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

  • Log In
  • Sign Up

goldandrabbit
/
finetune_bert_using_Trainer_vs_pytorch_train_loop

Text Classification
Transformers
Safetensors
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use goldandrabbit/finetune_bert_using_Trainer_vs_pytorch_train_loop with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="goldandrabbit/finetune_bert_using_Trainer_vs_pytorch_train_loop")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("goldandrabbit/finetune_bert_using_Trainer_vs_pytorch_train_loop")
    model = AutoModelForSequenceClassification.from_pretrained("goldandrabbit/finetune_bert_using_Trainer_vs_pytorch_train_loop")
  • Notebooks
  • Google Colab
  • Kaggle
finetune_bert_using_Trainer_vs_pytorch_train_loop
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
goldandrabbit's picture
goldandrabbit
Upload BertForSequenceClassification
797b90a verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    5.17 kB
    Upload BertForSequenceClassification about 1 year ago
  • config.json
    917 Bytes
    Upload BertForSequenceClassification about 1 year ago
  • model.safetensors
    433 MB
    xet
    Upload BertForSequenceClassification about 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer about 1 year ago
  • tokenizer.json
    669 kB
    Upload tokenizer about 1 year ago
  • tokenizer_config.json
    1.22 kB
    Upload tokenizer about 1 year ago
  • vocab.txt
    213 kB
    Upload tokenizer about 1 year ago