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

deutsche-telekom
/
bert-multi-english-german-squad2

Question Answering
Transformers
PyTorch
Safetensors
German
English
multilingual
bert
english
german
Model card Files Files and versions
xet
Community
5

Instructions to use deutsche-telekom/bert-multi-english-german-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use deutsche-telekom/bert-multi-english-german-squad2 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="deutsche-telekom/bert-multi-english-german-squad2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("deutsche-telekom/bert-multi-english-german-squad2")
    model = AutoModelForQuestionAnswering.from_pretrained("deutsche-telekom/bert-multi-english-german-squad2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bert-multi-english-german-squad2
1.42 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 20 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
11bc55a over 3 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model over 3 years ago
  • README.md
    3.15 kB
    Add multilingual to the language tag (#1) almost 4 years ago
  • config.json
    817 Bytes
    Initial commit over 5 years ago
  • model.safetensors
    709 MB
    xet
    Adding `safetensors` variant of this model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    709 MB
    xet
    Initial commit over 5 years ago
  • special_tokens_map.json
    112 Bytes
    Initial commit over 5 years ago
  • tokenizer_config.json
    264 Bytes
    Initial commit over 5 years ago
  • vocab.txt
    996 kB
    Initial commit over 5 years ago