albertgong1/qasper
Preprocessed QASPER dataset Working doc: https://docs.google.com/document/d/1gYPhPNJ5LGttgjix1dwai8pdNcqS6PbqhsM7W0rhKNQ/edit?usp=sharing Original: Dataset: https://github.com/allenai/qasper-led-baseline Baseline repo: https://github.com/allenai/qasper-led-baseline HF: https://huggingface.co/datasets/allenai/qasper Differences of our implementation over the original implementation: We use the dataset provided at https://huggingface.co/datasets/allenai/qasper since it doesn't… See the full description on the dataset page: https://huggingface.co/datasets/albertgong1/qasper.
Preprocessed QASPER dataset
Working doc: https://docs.google.com/document/d/1gYPhPNJ5LGttgjix1dwai8pdNcqS6PbqhsM7W0rhKNQ/edit?usp=sharing
Original:
- Dataset: https://github.com/allenai/qasper-led-baseline
- Baseline repo: https://github.com/allenai/qasper-led-baseline
- HF: https://huggingface.co/datasets/allenai/qasper
Differences of our implementation over the original implementation:
- We use the dataset provided at https://huggingface.co/datasets/allenai/qasper since it doesn't require manually downloading files.
- We remove usage of
allennlpsince the Python package cannot be installed anymore. - We add baselines to qasper/models. Currently, we have
- QASPER (Longformer Encoder Decoder)
- GPT-3.5-Turbo
- TODO: RAG (with R=TF-IDF or Contriever) implemented in LangChain?
- We replace
allennlpspecial tokens with the special tokens of the HF transformer tokenizer: - paragraph separator: '</s>' -> tokenizer.sep_token
- sequence pair start tokens: tokenizer.sequencepairstarttokens -> tokenizer.bos_token
Usage
from datasets import load_dataset
dataset = load_dataset("ag2435/qasper")