flashrag-dev 0.1.3.dev20241106__tar.gz → 0.1.3.dev20241107__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. {flashrag-dev-0.1.3.dev20241106/flashrag_dev.egg-info → flashrag-dev-0.1.3.dev20241107}/PKG-INFO +6 -4
  2. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/README.md +5 -3
  3. flashrag-dev-0.1.3.dev20241107/flashrag/version.py +1 -0
  4. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107/flashrag_dev.egg-info}/PKG-INFO +6 -4
  5. flashrag-dev-0.1.3.dev20241106/flashrag/version.py +0 -1
  6. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/LICENSE +0 -0
  7. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/__init__.py +0 -0
  8. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/config/__init__.py +0 -0
  9. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/config/basic_config.yaml +0 -0
  10. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/config/config.py +0 -0
  11. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/dataset/__init__.py +0 -0
  12. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/dataset/dataset.py +0 -0
  13. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/dataset/utils.py +0 -0
  14. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/evaluator/__init__.py +0 -0
  15. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/evaluator/_bleu.py +0 -0
  16. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/evaluator/evaluator.py +0 -0
  17. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/evaluator/metrics.py +0 -0
  18. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/evaluator/utils.py +0 -0
  19. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/generator/__init__.py +0 -0
  20. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/generator/fid.py +0 -0
  21. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/generator/generator.py +0 -0
  22. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/generator/openai_generator.py +0 -0
  23. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/generator/stop_word_criteria.py +0 -0
  24. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/judger/__init__.py +0 -0
  25. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/judger/judger.py +0 -0
  26. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/pipeline/__init__.py +0 -0
  27. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/pipeline/active_pipeline.py +0 -0
  28. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/pipeline/branching_pipeline.py +0 -0
  29. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/pipeline/pipeline.py +0 -0
  30. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/pipeline/replug_utils.py +0 -0
  31. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/prompt/__init__.py +0 -0
  32. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/prompt/base_prompt.py +0 -0
  33. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/prompt/selfask_examplars.py +0 -0
  34. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/prompt/trace_examplars.py +0 -0
  35. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/refiner/__init__.py +0 -0
  36. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/refiner/kg_refiner.py +0 -0
  37. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/refiner/llmlingua_compressor.py +0 -0
  38. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/refiner/refiner.py +0 -0
  39. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/refiner/selective_context_compressor.py +0 -0
  40. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/__init__.py +0 -0
  41. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/__main__.py +0 -0
  42. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/encoder.py +0 -0
  43. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/index_builder.py +0 -0
  44. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/reranker.py +0 -0
  45. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/retriever.py +0 -0
  46. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/retriever/utils.py +0 -0
  47. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/utils/__init__.py +0 -0
  48. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/utils/constants.py +0 -0
  49. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/utils/pred_parse.py +0 -0
  50. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag/utils/utils.py +0 -0
  51. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag_dev.egg-info/SOURCES.txt +0 -0
  52. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag_dev.egg-info/dependency_links.txt +0 -0
  53. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag_dev.egg-info/requires.txt +0 -0
  54. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/flashrag_dev.egg-info/top_level.txt +0 -0
  55. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/pyproject.toml +0 -0
  56. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/setup.cfg +0 -0
  57. {flashrag-dev-0.1.3.dev20241106 → flashrag-dev-0.1.3.dev20241107}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flashrag-dev
3
- Version: 0.1.3.dev20241106
3
+ Version: 0.1.3.dev20241107
4
4
  Summary: A library for efficient Retrieval-Augmented Generation research
5
5
  Home-page: https://github.com/RUC-NLPIR/FlashRAG
6
6
  Author: Jiajie Jin, Yutao Zhu, Chenghao Zhang, Xinyu Yang, Zhicheng Dou
@@ -38,7 +38,7 @@ License-File: LICENSE
38
38
  </p>
39
39
 
40
40
  </h4>
41
- FlashRAG is a Python toolkit for the reproduction and development of Retrieval Augmented Generation (RAG) research. Our toolkit includes 33 pre-processed benchmark RAG datasets and 15 state-of-the-art RAG algorithms.
41
+ FlashRAG is a Python toolkit for the reproduction and development of Retrieval Augmented Generation (RAG) research. Our toolkit includes 36 pre-processed benchmark RAG datasets and 15 state-of-the-art RAG algorithms.
42
42
 
43
43
  <p align="center">
44
44
  <img src="asset/framework.jpg">
@@ -54,7 +54,7 @@ With FlashRAG and provided resources, you can effortlessly reproduce existing SO
54
54
 
55
55
  - **Extensive and Customizable Framework**: Includes essential components for RAG scenarios such as retrievers, rerankers, generators, and compressors, allowing for flexible assembly of complex pipelines.
56
56
 
57
- - **Comprehensive Benchmark Datasets**: A collection of 33 pre-processed RAG benchmark datasets to test and validate RAG models' performances.
57
+ - **Comprehensive Benchmark Datasets**: A collection of 36 pre-processed RAG benchmark datasets to test and validate RAG models' performances.
58
58
 
59
59
  - **Pre-implemented Advanced RAG Algorithms**: Features 15 advancing RAG algorithms with reported results, based on our framework. Easily reproducing results under different settings.
60
60
 
@@ -467,7 +467,7 @@ It’s important to note that, to ensure consistency, we have utilized a uniform
467
467
 
468
468
  ### Datasets
469
469
 
470
- We have collected and processed 35 datasets widely used in RAG research, pre-processing them to ensure a consistent format for ease of use. For certain datasets (such as Wiki-asp), we have adapted them to fit the requirements of RAG tasks according to the methods commonly used within the community. All datasets are available at [<u>Huggingface datasets</u>](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets).
470
+ We have collected and processed 36 datasets widely used in RAG research, pre-processing them to ensure a consistent format for ease of use. For certain datasets (such as Wiki-asp), we have adapted them to fit the requirements of RAG tasks according to the methods commonly used within the community. All datasets are available at [<u>Huggingface datasets</u>](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets).
471
471
 
472
472
  For each dataset, we save each split as a `jsonl` file, and each line is a dict as follows:
473
473
  ```python
@@ -505,12 +505,14 @@ Below is the list of datasets along with the corresponding sample sizes:
505
505
  | multi-hop QA | StrategyQA | wiki | 2290 | / | /
506
506
  | Long-form QA | ASQA | wiki | 4,353 | 948 | / |
507
507
  | Long-form QA | ELI5 | Reddit | 272,634 | 1,507 | / |
508
+ | Long-form QA | WikiPassageQA | wiki | 3,332 | 417 | 416 |
508
509
  | Open-Domain Summarization | WikiASP | wiki | 300,636 | 37,046 | 37,368 |
509
510
  | multiple-choice | MMLU | - | 99,842 | 1,531 | 14,042 |
510
511
  | multiple-choice | TruthfulQA | wiki | / | 817 | / |
511
512
  | multiple-choice | HellaSWAG | ActivityNet | 39,905 | 10,042 | / |
512
513
  | multiple-choice | ARC | - | 3,370 | 869 | 3,548 |
513
514
  | multiple-choice | OpenBookQA | - | 4,957 | 500 | 500 |
515
+ | multiple-choice | QuaRTz | - | 2696 | 384 | 784 |
514
516
  | Fact Verification | FEVER | wiki | 104,966 | 10,444 | / |
515
517
  | Dialog Generation | WOW | wiki | 63,734 | 3,054 | / |
516
518
  | Entity Linking | AIDA CoNll-yago | Freebase & wiki | 18,395 | 4,784 | / |
@@ -22,7 +22,7 @@
22
22
  </p>
23
23
 
24
24
  </h4>
25
- FlashRAG is a Python toolkit for the reproduction and development of Retrieval Augmented Generation (RAG) research. Our toolkit includes 33 pre-processed benchmark RAG datasets and 15 state-of-the-art RAG algorithms.
25
+ FlashRAG is a Python toolkit for the reproduction and development of Retrieval Augmented Generation (RAG) research. Our toolkit includes 36 pre-processed benchmark RAG datasets and 15 state-of-the-art RAG algorithms.
26
26
 
27
27
  <p align="center">
28
28
  <img src="asset/framework.jpg">
@@ -38,7 +38,7 @@ With FlashRAG and provided resources, you can effortlessly reproduce existing SO
38
38
 
39
39
  - **Extensive and Customizable Framework**: Includes essential components for RAG scenarios such as retrievers, rerankers, generators, and compressors, allowing for flexible assembly of complex pipelines.
40
40
 
41
- - **Comprehensive Benchmark Datasets**: A collection of 33 pre-processed RAG benchmark datasets to test and validate RAG models' performances.
41
+ - **Comprehensive Benchmark Datasets**: A collection of 36 pre-processed RAG benchmark datasets to test and validate RAG models' performances.
42
42
 
43
43
  - **Pre-implemented Advanced RAG Algorithms**: Features 15 advancing RAG algorithms with reported results, based on our framework. Easily reproducing results under different settings.
44
44
 
@@ -451,7 +451,7 @@ It’s important to note that, to ensure consistency, we have utilized a uniform
451
451
 
452
452
  ### Datasets
453
453
 
454
- We have collected and processed 35 datasets widely used in RAG research, pre-processing them to ensure a consistent format for ease of use. For certain datasets (such as Wiki-asp), we have adapted them to fit the requirements of RAG tasks according to the methods commonly used within the community. All datasets are available at [<u>Huggingface datasets</u>](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets).
454
+ We have collected and processed 36 datasets widely used in RAG research, pre-processing them to ensure a consistent format for ease of use. For certain datasets (such as Wiki-asp), we have adapted them to fit the requirements of RAG tasks according to the methods commonly used within the community. All datasets are available at [<u>Huggingface datasets</u>](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets).
455
455
 
456
456
  For each dataset, we save each split as a `jsonl` file, and each line is a dict as follows:
457
457
  ```python
@@ -489,12 +489,14 @@ Below is the list of datasets along with the corresponding sample sizes:
489
489
  | multi-hop QA | StrategyQA | wiki | 2290 | / | /
490
490
  | Long-form QA | ASQA | wiki | 4,353 | 948 | / |
491
491
  | Long-form QA | ELI5 | Reddit | 272,634 | 1,507 | / |
492
+ | Long-form QA | WikiPassageQA | wiki | 3,332 | 417 | 416 |
492
493
  | Open-Domain Summarization | WikiASP | wiki | 300,636 | 37,046 | 37,368 |
493
494
  | multiple-choice | MMLU | - | 99,842 | 1,531 | 14,042 |
494
495
  | multiple-choice | TruthfulQA | wiki | / | 817 | / |
495
496
  | multiple-choice | HellaSWAG | ActivityNet | 39,905 | 10,042 | / |
496
497
  | multiple-choice | ARC | - | 3,370 | 869 | 3,548 |
497
498
  | multiple-choice | OpenBookQA | - | 4,957 | 500 | 500 |
499
+ | multiple-choice | QuaRTz | - | 2696 | 384 | 784 |
498
500
  | Fact Verification | FEVER | wiki | 104,966 | 10,444 | / |
499
501
  | Dialog Generation | WOW | wiki | 63,734 | 3,054 | / |
500
502
  | Entity Linking | AIDA CoNll-yago | Freebase & wiki | 18,395 | 4,784 | / |
@@ -0,0 +1 @@
1
+ __version__ = "0.1.3dev20241107"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flashrag-dev
3
- Version: 0.1.3.dev20241106
3
+ Version: 0.1.3.dev20241107
4
4
  Summary: A library for efficient Retrieval-Augmented Generation research
5
5
  Home-page: https://github.com/RUC-NLPIR/FlashRAG
6
6
  Author: Jiajie Jin, Yutao Zhu, Chenghao Zhang, Xinyu Yang, Zhicheng Dou
@@ -38,7 +38,7 @@ License-File: LICENSE
38
38
  </p>
39
39
 
40
40
  </h4>
41
- FlashRAG is a Python toolkit for the reproduction and development of Retrieval Augmented Generation (RAG) research. Our toolkit includes 33 pre-processed benchmark RAG datasets and 15 state-of-the-art RAG algorithms.
41
+ FlashRAG is a Python toolkit for the reproduction and development of Retrieval Augmented Generation (RAG) research. Our toolkit includes 36 pre-processed benchmark RAG datasets and 15 state-of-the-art RAG algorithms.
42
42
 
43
43
  <p align="center">
44
44
  <img src="asset/framework.jpg">
@@ -54,7 +54,7 @@ With FlashRAG and provided resources, you can effortlessly reproduce existing SO
54
54
 
55
55
  - **Extensive and Customizable Framework**: Includes essential components for RAG scenarios such as retrievers, rerankers, generators, and compressors, allowing for flexible assembly of complex pipelines.
56
56
 
57
- - **Comprehensive Benchmark Datasets**: A collection of 33 pre-processed RAG benchmark datasets to test and validate RAG models' performances.
57
+ - **Comprehensive Benchmark Datasets**: A collection of 36 pre-processed RAG benchmark datasets to test and validate RAG models' performances.
58
58
 
59
59
  - **Pre-implemented Advanced RAG Algorithms**: Features 15 advancing RAG algorithms with reported results, based on our framework. Easily reproducing results under different settings.
60
60
 
@@ -467,7 +467,7 @@ It’s important to note that, to ensure consistency, we have utilized a uniform
467
467
 
468
468
  ### Datasets
469
469
 
470
- We have collected and processed 35 datasets widely used in RAG research, pre-processing them to ensure a consistent format for ease of use. For certain datasets (such as Wiki-asp), we have adapted them to fit the requirements of RAG tasks according to the methods commonly used within the community. All datasets are available at [<u>Huggingface datasets</u>](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets).
470
+ We have collected and processed 36 datasets widely used in RAG research, pre-processing them to ensure a consistent format for ease of use. For certain datasets (such as Wiki-asp), we have adapted them to fit the requirements of RAG tasks according to the methods commonly used within the community. All datasets are available at [<u>Huggingface datasets</u>](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets).
471
471
 
472
472
  For each dataset, we save each split as a `jsonl` file, and each line is a dict as follows:
473
473
  ```python
@@ -505,12 +505,14 @@ Below is the list of datasets along with the corresponding sample sizes:
505
505
  | multi-hop QA | StrategyQA | wiki | 2290 | / | /
506
506
  | Long-form QA | ASQA | wiki | 4,353 | 948 | / |
507
507
  | Long-form QA | ELI5 | Reddit | 272,634 | 1,507 | / |
508
+ | Long-form QA | WikiPassageQA | wiki | 3,332 | 417 | 416 |
508
509
  | Open-Domain Summarization | WikiASP | wiki | 300,636 | 37,046 | 37,368 |
509
510
  | multiple-choice | MMLU | - | 99,842 | 1,531 | 14,042 |
510
511
  | multiple-choice | TruthfulQA | wiki | / | 817 | / |
511
512
  | multiple-choice | HellaSWAG | ActivityNet | 39,905 | 10,042 | / |
512
513
  | multiple-choice | ARC | - | 3,370 | 869 | 3,548 |
513
514
  | multiple-choice | OpenBookQA | - | 4,957 | 500 | 500 |
515
+ | multiple-choice | QuaRTz | - | 2696 | 384 | 784 |
514
516
  | Fact Verification | FEVER | wiki | 104,966 | 10,444 | / |
515
517
  | Dialog Generation | WOW | wiki | 63,734 | 3,054 | / |
516
518
  | Entity Linking | AIDA CoNll-yago | Freebase & wiki | 18,395 | 4,784 | / |
@@ -1 +0,0 @@
1
- __version__ = "0.1.3dev20241106"