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

  • Log In
  • Sign Up

parsi-ai-nlpclass
/
NLP_Spring23_HW4_Question_Answering_G13

Question Answering
Transformers
PyTorch
English
Persian
bert
Model card Files Files and versions
xet
Community
2

Instructions to use parsi-ai-nlpclass/NLP_Spring23_HW4_Question_Answering_G13 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use parsi-ai-nlpclass/NLP_Spring23_HW4_Question_Answering_G13 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="parsi-ai-nlpclass/NLP_Spring23_HW4_Question_Answering_G13")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("parsi-ai-nlpclass/NLP_Spring23_HW4_Question_Answering_G13")
    model = AutoModelForQuestionAnswering.from_pretrained("parsi-ai-nlpclass/NLP_Spring23_HW4_Question_Answering_G13")
  • Notebooks
  • Google Colab
  • Kaggle
NLP_Spring23_HW4_Question_Answering_G13
653 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
mmdrez4's picture
mmdrez4
Update README.md
0724e96 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    222 Bytes
    Update README.md over 2 years ago
  • config.json
    669 Bytes
    Upload BertForQuestionAnswering almost 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?

    649 MB
    xet
    Upload BertForQuestionAnswering almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    upload tokenizer almost 3 years ago
  • tokenizer.json
    2.79 MB
    upload tokenizer almost 3 years ago
  • tokenizer_config.json
    394 Bytes
    upload tokenizer almost 3 years ago
  • vocab.txt
    1.2 MB
    upload tokenizer almost 3 years ago