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

justinhl
/
hybrid-qa1

Question Answering
Transformers
Safetensors
phi3
text-generation
custom_code
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use justinhl/hybrid-qa1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use justinhl/hybrid-qa1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="justinhl/hybrid-qa1", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("justinhl/hybrid-qa1", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("justinhl/hybrid-qa1", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
hybrid-qa1
16.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 26 commits
justinhl's picture
justinhl
Update hybrid_pipe.py
ceb5437 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.21 kB
    Update README.md over 2 years ago
  • added_tokens.json
    293 Bytes
    Upload HybridQAPipeline over 2 years ago
  • config.json
    1.18 kB
    Update config.json over 2 years ago
  • generation_config.json
    172 Bytes
    Upload HybridQAPipeline over 2 years ago
  • hybrid_pipe.py
    5.37 kB
    Update hybrid_pipe.py over 2 years ago
  • model-00001-of-00004.safetensors
    4.96 GB
    xet
    Upload HybridQAPipeline over 2 years ago
  • model-00002-of-00004.safetensors
    4.98 GB
    xet
    Upload HybridQAPipeline over 2 years ago
  • model-00003-of-00004.safetensors
    4.95 GB
    xet
    Upload HybridQAPipeline over 2 years ago
  • model-00004-of-00004.safetensors
    394 MB
    xet
    Upload HybridQAPipeline over 2 years ago
  • model.safetensors
    1.34 GB
    xet
    Upload HybridQAPipeline over 2 years ago
  • model.safetensors.index.json
    16.3 kB
    Upload HybridQAPipeline over 2 years ago
  • special_tokens_map.json
    695 Bytes
    Upload HybridQAPipeline over 2 years ago
  • spiece.model
    792 kB
    xet
    Upload HybridQAPipeline over 2 years ago
  • tokenizer.json
    711 kB
    Upload HybridQAPipeline over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload HybridQAPipeline over 2 years ago
  • tokenizer_config.json
    1.2 kB
    Upload HybridQAPipeline over 2 years ago
  • vocab.txt
    232 kB
    Upload HybridQAPipeline over 2 years ago