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

Shankarblr
/
bert-based-MovieQA

Question Answering
Transformers
Safetensors
English
distilbert
imdb-movies-dataset
Model card Files Files and versions
xet
Community

Instructions to use Shankarblr/bert-based-MovieQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Shankarblr/bert-based-MovieQA 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="Shankarblr/bert-based-MovieQA")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("Shankarblr/bert-based-MovieQA")
    model = AutoModelForQuestionAnswering.from_pretrained("Shankarblr/bert-based-MovieQA", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bert-based-MovieQA
266 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
Shankarblr's picture
Shankarblr
Update README.md
84043d7 verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    1.39 kB
    Update README.md about 1 month ago
  • config.json
    610 Bytes
    Initial Commit about 1 month ago
  • model.safetensors
    265 MB
    xet
    Initial Commit about 1 month ago
  • tokenizer.json
    712 kB
    Initial Commit about 1 month ago
  • tokenizer_config.json
    357 Bytes
    Initial Commit about 1 month ago
  • training_args.bin
    5.2 kB
    xet
    Initial Commit about 1 month ago