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

  • Log In
  • Sign Up

Valli
/
distillbert_custom_answer

Question Answering
Transformers
PyTorch
distilbert
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Valli/distillbert_custom_answer with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="Valli/distillbert_custom_answer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("Valli/distillbert_custom_answer")
    model = AutoModelForQuestionAnswering.from_pretrained("Valli/distillbert_custom_answer")
  • Notebooks
  • Google Colab
  • Kaggle
distillbert_custom_answer
266 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Valli's picture
Valli
Uploaded model
e41b39f over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    561 Bytes
    Uploaded model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    265 MB
    xet
    Uploaded model over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Uploaded model over 3 years ago
  • tokenizer.json
    712 kB
    Uploaded model over 3 years ago
  • tokenizer_config.json
    360 Bytes
    Uploaded model over 3 years ago
  • vocab.txt
    232 kB
    Uploaded model over 3 years ago