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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kristiannordby
/
bert_normal

Question Answering
Transformers
Safetensors
bert
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use kristiannordby/bert_normal 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="kristiannordby/bert_normal")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("kristiannordby/bert_normal")
    model = AutoModelForQuestionAnswering.from_pretrained("kristiannordby/bert_normal", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bert_normal
436 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
kristiannordby's picture
kristiannordby
Upload BertForQuestionAnswering
f4db978 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    5.17 kB
    Upload BertForQuestionAnswering almost 2 years ago
  • config.json
    673 Bytes
    Upload BertForQuestionAnswering almost 2 years ago
  • model.safetensors
    436 MB
    xet
    Upload BertForQuestionAnswering almost 2 years ago