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

fangyuan
/
hotpotqa_extractive_compressor

Feature Extraction
Transformers
PyTorch
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use fangyuan/hotpotqa_extractive_compressor with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="fangyuan/hotpotqa_extractive_compressor")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("fangyuan/hotpotqa_extractive_compressor")
    model = AutoModel.from_pretrained("fangyuan/hotpotqa_extractive_compressor")
  • Notebooks
  • Google Colab
  • Kaggle
hotpotqa_extractive_compressor / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
fangyuan's picture
fangyuan
Upload 11 files
c818795 verified about 2 years ago
  • config.json
    270 Bytes
    Upload 11 files about 2 years ago