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

ibm-research
/
re2g-reranker-triviaqa

Text Classification
Transformers
PyTorch
bert
information retrieval
reranking
Model card Files Files and versions
xet
Community
3

Instructions to use ibm-research/re2g-reranker-triviaqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ibm-research/re2g-reranker-triviaqa with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ibm-research/re2g-reranker-triviaqa")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ibm-research/re2g-reranker-triviaqa")
    model = AutoModelForSequenceClassification.from_pretrained("ibm-research/re2g-reranker-triviaqa")
  • Notebooks
  • Google Colab
  • Kaggle
re2g-reranker-triviaqa
438 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
michaelrglass's picture
michaelrglass
Added citation, github repo and paper link to model card.
c5f2b9e about 3 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    7.43 kB
    Added citation, github repo and paper link to model card. about 3 years ago
  • config.json
    670 Bytes
    Upload config.json almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    Upload pytorch_model.bin almost 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json almost 4 years ago
  • tokenizer_config.json
    541 Bytes
    Upload tokenizer_config.json almost 4 years ago
  • training_args.bin

    Detected Pickle imports (2)

    • "rag.dpr.retriever_dpr_bm25_reranker.RerankerHypers",
    • "torch.device"

    How to fix it?

    1.65 kB
    xet
    Upload training_args.bin almost 4 years ago
  • vocab.txt
    232 kB
    Upload vocab.txt almost 4 years ago