Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

DataScientist1122
/
BERT

Question Answering
Transformers
TensorBoard
Safetensors
bert
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use DataScientist1122/BERT with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # pip install "transformers<5.0.0"
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="DataScientist1122/BERT")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("DataScientist1122/BERT")
    model = AutoModelForQuestionAnswering.from_pretrained("DataScientist1122/BERT", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
BERT
437 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
DataScientist1122's picture
DataScientist1122
Training in progress, step 2250
7e9f4a0 verified over 2 years ago
  • runs
    Training in progress, step 2250 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    673 Bytes
    Training in progress, step 250 over 2 years ago
  • model.safetensors
    436 MB
    xet
    Training in progress, step 2250 over 2 years ago
  • special_tokens_map.json
    125 Bytes
    Training in progress, step 250 over 2 years ago
  • tokenizer.json
    712 kB
    Training in progress, step 250 over 2 years ago
  • tokenizer_config.json
    1.19 kB
    Training in progress, step 250 over 2 years ago
  • training_args.bin
    4.92 kB
    xet
    Training in progress, step 250 over 2 years ago
  • vocab.txt
    232 kB
    Training in progress, step 250 over 2 years ago