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

sjrhuschlee
/
flan-t5-base-squad2

Question Answering
Transformers
PyTorch
Safetensors
English
t5
squad
squad_v2
custom_code
Eval Results (legacy)
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use sjrhuschlee/flan-t5-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sjrhuschlee/flan-t5-base-squad2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="sjrhuschlee/flan-t5-base-squad2", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("sjrhuschlee/flan-t5-base-squad2", trust_remote_code=True)
    model = AutoModelForQuestionAnswering.from_pretrained("sjrhuschlee/flan-t5-base-squad2", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
flan-t5-base-squad2
1.79 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 36 commits
sjrhuschlee's picture
sjrhuschlee
Update README.md
c1fc232 verified 11 months ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    6.43 kB
    Update README.md 11 months ago
  • added_tokens.json
    21 Bytes
    Upload added_tokens.json with huggingface_hub about 3 years ago
  • config.json
    1.63 kB
    Upload config.json with huggingface_hub about 3 years ago
  • model.safetensors
    892 MB
    xet
    Upload model.safetensors with huggingface_hub about 3 years ago
  • modeling_t5qa.py
    9.08 kB
    Update modeling_t5qa.py about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    892 MB
    xet
    Upload pytorch_model.bin with huggingface_hub about 3 years ago
  • special_tokens_map.json
    2.23 kB
    Upload special_tokens_map.json with huggingface_hub about 3 years ago
  • spiece.model
    792 kB
    xet
    Upload spiece.model with huggingface_hub about 3 years ago
  • tokenizer.json
    2.42 MB
    Upload tokenizer.json with huggingface_hub about 3 years ago
  • tokenizer_config.json
    2.35 kB
    Upload tokenizer_config.json with huggingface_hub about 3 years ago