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

  • Log In
  • Sign Up

deepset
/
minilm-uncased-squad2

Question Answering
Transformers
PyTorch
JAX
Safetensors
English
bert
Eval Results (legacy)
Model card Files Files and versions
xet
Community
6

Instructions to use deepset/minilm-uncased-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use deepset/minilm-uncased-squad2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="deepset/minilm-uncased-squad2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("deepset/minilm-uncased-squad2")
    model = AutoModelForQuestionAnswering.from_pretrained("deepset/minilm-uncased-squad2")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
minilm-uncased-squad2
400 MB
Ctrl+K
Ctrl+K
  • 9 contributors
History: 28 commits
julianrisch's picture
julianrisch
Update README.md
934656c verified over 1 year ago
  • .gitattributes
    445 Bytes
    Adding `safetensors` variant of this model (#6) almost 3 years ago
  • README.md
    6.14 kB
    Update README.md over 1 year ago
  • config.json
    477 Bytes
    Update config.json almost 6 years ago
  • flax_model.msgpack
    133 MB
    xet
    upload flax model almost 5 years ago
  • model.safetensors
    133 MB
    xet
    Adding `safetensors` variant of this model (#6) almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    133 MB
    xet
    Update pytorch_model.bin almost 6 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json almost 6 years ago
  • tokenizer_config.json
    107 Bytes
    Update tokenizer_config.json almost 6 years ago
  • training_args.bin

    Detected Pickle imports (2)

    • "argparse.Namespace",
    • "torch.device"

    How to fix it?

    1.49 kB
    xet
    Update training_args.bin almost 6 years ago
  • vocab.txt
    232 kB
    Update vocab.txt almost 6 years ago