flashrag-dev 0.1.4.dev20250310__tar.gz → 0.1.4.dev20250319__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.
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/PKG-INFO +18 -18
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/README.md +17 -17
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/openai_generator.py +1 -1
- flashrag_dev-0.1.4.dev20250319/flashrag/version.py +1 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/PKG-INFO +18 -18
- flashrag_dev-0.1.4.dev20250310/flashrag/version.py +0 -1
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/LICENSE +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/config/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/config/basic_config.yaml +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/config/config.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/dataset/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/dataset/dataset.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/dataset/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/_bleu.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/evaluator.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/metrics.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/fid.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/generator.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/multimodal_generator.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/stop_word_criteria.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/judger/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/judger/judger.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/active_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/branching_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/mm_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/replug_utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/base_prompt.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/mm_prompt.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/selfask_examplars.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/trace_examplars.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/kg_refiner.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/llmlingua_compressor.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/refiner.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/selective_context_compressor.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/__main__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/encoder.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/index_builder.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/reranker.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/retriever.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/constants.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/pred_parse.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/SOURCES.txt +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/dependency_links.txt +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/requires.txt +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/top_level.txt +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/pyproject.toml +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/setup.cfg +0 -0
- {flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flashrag_dev
|
|
3
|
-
Version: 0.1.4.
|
|
3
|
+
Version: 0.1.4.dev20250319
|
|
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
|
|
@@ -102,11 +102,11 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
102
102
|
|
|
103
103
|
[25/01/12] Introduce <strong>FlashRAG-UI</strong>, an easy to use interface. You can easily and quickly configure and experience the supported RAG methods and evaluate them on the benchmarks.
|
|
104
104
|
|
|
105
|
-
[25/01/11] We have added support for a new method [<u>RQRAG</u>](https://arxiv.org/abs/2404.00610) method, see it in [**reproduce_experiment**](docs/reproduce_experiment.md).
|
|
105
|
+
[25/01/11] We have added support for a new method [<u>RQRAG</u>](https://arxiv.org/abs/2404.00610) method, see it in [**reproduce_experiment**](docs/original_docs/reproduce_experiment.md).
|
|
106
106
|
|
|
107
|
-
[25/01/07] We have currently support the aggregation of multiple retrievers, see it in [**multi retriever usage**](https://github.com/RUC-NLPIR/FlashRAG/blob/main/docs/multi_retriever_usage.md).
|
|
107
|
+
[25/01/07] We have currently support the aggregation of multiple retrievers, see it in [**multi retriever usage**](https://github.com/RUC-NLPIR/FlashRAG/blob/main/docs/original_docs/multi_retriever_usage.md).
|
|
108
108
|
|
|
109
|
-
[25/01/07] We have integrated a very flexible and lightweight corpus chunking library [**Chunkie**](https://github.com/chonkie-ai/chonkie?tab=readme-ov-file#usage), which supports various custom chunking methods (tokens, sentences, semantic, etc.). Use it in [<u>chunking doc corpus</u>](docs/chunk-doc-corpus.md).
|
|
109
|
+
[25/01/07] We have integrated a very flexible and lightweight corpus chunking library [**Chunkie**](https://github.com/chonkie-ai/chonkie?tab=readme-ov-file#usage), which supports various custom chunking methods (tokens, sentences, semantic, etc.). Use it in [<u>chunking doc corpus</u>](docs/original_docs/chunk-doc-corpus.md).
|
|
110
110
|
|
|
111
111
|
[24/10/21] We have released a version based on the Paddle framework that supports Chinese hardware platforms. Please refer to [FlashRAG Paddle](https://github.com/RUC-NLPIR/FlashRAG-Paddle) for details.
|
|
112
112
|
|
|
@@ -125,7 +125,7 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
125
125
|
|
|
126
126
|
[24/07/17] Due to some unknown issues with HuggingFace, our original dataset link has been invalid. We have updated it. Please check the [new link](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets/) if you encounter any problems.
|
|
127
127
|
|
|
128
|
-
[24/07/06] We add support for a new method: [<u>Trace</u>](https://arxiv.org/abs/2406.11460), which refine text by constructing a knowledge graph. See it [<u>results</u>](#robot-supporting-methods) and [<u>details</u>](./docs/baseline_details.md).
|
|
128
|
+
[24/07/06] We add support for a new method: [<u>Trace</u>](https://arxiv.org/abs/2406.11460), which refine text by constructing a knowledge graph. See it [<u>results</u>](#robot-supporting-methods) and [<u>details</u>](./docs/original_docs/baseline_details.md).
|
|
129
129
|
|
|
130
130
|
[24/06/19] We add support for a new method: [<u>IRCoT</u>](https://arxiv.org/abs/2212.10509), and update the [<u>result table</u>](#robot-supporting-methods).
|
|
131
131
|
|
|
@@ -133,9 +133,9 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
133
133
|
|
|
134
134
|
[24/06/11] We have integrated `sentence transformers` in the retriever module. Now it's easier to use the retriever without setting pooling methods.
|
|
135
135
|
|
|
136
|
-
[24/06/05] We have provided detailed document for reproducing existing methods (see [how to reproduce](./docs/reproduce_experiment.md), [baseline details](./docs/baseline_details.md)), and [<u>configurations settings</u>](./docs/configuration.md).
|
|
136
|
+
[24/06/05] We have provided detailed document for reproducing existing methods (see [how to reproduce](./docs/original_docs/reproduce_experiment.md), [baseline details](./docs/original_docs/baseline_details.md)), and [<u>configurations settings</u>](./docs/original_docs/configuration.md).
|
|
137
137
|
|
|
138
|
-
[24/06/02] We have provided an introduction of FlashRAG for beginners, see [<u>an introduction to flashrag</u>](./docs/introduction_for_beginners_en.md) ([<u>中文版</u>](./docs/introduction_for_beginners_zh.md) [<u>한국어</u>](./docs/introduction_for_beginners_kr.md)).
|
|
138
|
+
[24/06/02] We have provided an introduction of FlashRAG for beginners, see [<u>an introduction to flashrag</u>](./docs/original_docs/introduction_for_beginners_en.md) ([<u>中文版</u>](./docs/original_docs/introduction_for_beginners_zh.md) [<u>한국어</u>](./docs/original_docs/introduction_for_beginners_kr.md)).
|
|
139
139
|
|
|
140
140
|
[24/05/31] We supported Openai-series models as generator.
|
|
141
141
|
|
|
@@ -200,7 +200,7 @@ To build an index, you first need to save your corpus as a `jsonl` file with eac
|
|
|
200
200
|
{"id": "1", "contents": "..."}
|
|
201
201
|
```
|
|
202
202
|
|
|
203
|
-
If you want to use Wikipedia as your corpus, you can refer to our documentation [Processing Wikipedia](./docs/process-wiki.md) to convert it into an indexable format.
|
|
203
|
+
If you want to use Wikipedia as your corpus, you can refer to our documentation [Processing Wikipedia](./docs/original_docs/process-wiki.md) to convert it into an indexable format.
|
|
204
204
|
|
|
205
205
|
### Index Construction
|
|
206
206
|
|
|
@@ -289,7 +289,7 @@ my_config = Config(
|
|
|
289
289
|
config_dict = config_dict
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
We provide comprehensive guidance on how to set configurations, you can see our [<u>configuration guidance</u>](./docs/configuration.md).
|
|
292
|
+
We provide comprehensive guidance on how to set configurations, you can see our [<u>configuration guidance</u>](./docs/original_docs/configuration.md).
|
|
293
293
|
You can also refer to the [<u>basic yaml file</u>](./flashrag/config/basic_config.yaml) we provide to set your own parameters.
|
|
294
294
|
|
|
295
295
|
Next, load the corresponding dataset and initialize the pipeline. The components in the pipeline will be automatically loaded.
|
|
@@ -360,11 +360,11 @@ class ToyPipeline(BasicPipeline):
|
|
|
360
360
|
return dataset
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
Please first understand the input and output forms of the components you need to use from our [<u>documentation</u>](./docs/basic_usage.md).
|
|
363
|
+
Please first understand the input and output forms of the components you need to use from our [<u>documentation</u>](./docs/original_docs/basic_usage.md).
|
|
364
364
|
|
|
365
365
|
### Just use components
|
|
366
366
|
|
|
367
|
-
If you already have your own code and only want to use our components to embed the original code, you can refer to the [<u>basic introduction of the components</u>](./docs/basic_usage.md) to obtain the input and output formats of each component.
|
|
367
|
+
If you already have your own code and only want to use our components to embed the original code, you can refer to the [<u>basic introduction of the components</u>](./docs/original_docs/basic_usage.md) to obtain the input and output formats of each component.
|
|
368
368
|
|
|
369
369
|
## :gear: Components
|
|
370
370
|
|
|
@@ -554,11 +554,11 @@ We have implemented 15 works with a consistent setting of:
|
|
|
554
554
|
|
|
555
555
|
- **Generator:** LLAMA3-8B-instruct with input length of 2048
|
|
556
556
|
- **Retriever:** e5-base-v2 as embedding model, retrieve 5 docs per query
|
|
557
|
-
- **Prompt:** A consistent default prompt, template can be found in the [<u>method details</u>](./docs/baseline_details.md).
|
|
557
|
+
- **Prompt:** A consistent default prompt, template can be found in the [<u>method details</u>](./docs/original_docs/baseline_details.md).
|
|
558
558
|
|
|
559
559
|
For open-source methods, we implemented their processes using our framework. For methods where the author did not provide source code, we will try our best to follow the methods in the original paper for implementation.
|
|
560
560
|
|
|
561
|
-
For necessary settings and hyperparameters specific to some methods, we have documented them in the **specific settings** column. For more details, please consult our [<u>reproduce guidance</u>](./docs/reproduce_experiment.md) and [<u>method details</u>](./docs/baseline_details.md).
|
|
561
|
+
For necessary settings and hyperparameters specific to some methods, we have documented them in the **specific settings** column. For more details, please consult our [<u>reproduce guidance</u>](./docs/original_docs/reproduce_experiment.md) and [<u>method details</u>](./docs/original_docs/baseline_details.md).
|
|
562
562
|
|
|
563
563
|
It’s important to note that, to ensure consistency, we have utilized a uniform setting. However, this setting may differ from the original setting of the method, leading to variations in results compared to the original outcomes.
|
|
564
564
|
|
|
@@ -653,7 +653,7 @@ Our toolkit supports jsonl format for retrieval document collections, with the f
|
|
|
653
653
|
|
|
654
654
|
The `contents` key is essential for building the index. For documents that include both text and title, we recommend setting the value of `contents` to `{title}\n{text}`. The corpus file can also contain other keys to record additional characteristics of the documents.
|
|
655
655
|
|
|
656
|
-
In the academic research, Wikipedia and MS MARCO are the most commonly used retrieval document collections. For Wikipedia, we provide a [<u>comprehensive script</u>](./docs/process-wiki.md) to process any Wikipedia dump into a clean corpus. Additionally, various processed versions of the Wikipedia corpus are available in many works, and we have listed some reference links.
|
|
656
|
+
In the academic research, Wikipedia and MS MARCO are the most commonly used retrieval document collections. For Wikipedia, we provide a [<u>comprehensive script</u>](./docs/original_docs/process-wiki.md) to process any Wikipedia dump into a clean corpus. Additionally, various processed versions of the Wikipedia corpus are available in many works, and we have listed some reference links.
|
|
657
657
|
|
|
658
658
|
For MS MARCO, it is already processed upon release and can be directly downloaded from its [<u>hosting link</u>](https://huggingface.co/datasets/Tevatron/msmarco-passage-corpus) on Hugging Face.
|
|
659
659
|
|
|
@@ -671,10 +671,10 @@ The index was created using the e5-base-v2 retriever on our uploaded wiki18_100w
|
|
|
671
671
|
|
|
672
672
|
## :raised_hands: Additional FAQs
|
|
673
673
|
|
|
674
|
-
- [How should I set different experimental parameters?](./docs/configuration.md)
|
|
675
|
-
- [How to build my own corpus, such as a specific segmented Wikipedia?](./docs/process-wiki.md)
|
|
676
|
-
- [How to index my own corpus?](./docs/building-index.md)
|
|
677
|
-
- [How to reproduce supporting methods?](./docs/reproduce_experiment.md)
|
|
674
|
+
- [How should I set different experimental parameters?](./docs/original_docs/configuration.md)
|
|
675
|
+
- [How to build my own corpus, such as a specific segmented Wikipedia?](./docs/original_docs/process-wiki.md)
|
|
676
|
+
- [How to index my own corpus?](./docs/original_docs/building-index.md)
|
|
677
|
+
- [How to reproduce supporting methods?](./docs/original_docs/reproduce_experiment.md)
|
|
678
678
|
|
|
679
679
|
## :bookmark: License
|
|
680
680
|
|
|
@@ -85,11 +85,11 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
85
85
|
|
|
86
86
|
[25/01/12] Introduce <strong>FlashRAG-UI</strong>, an easy to use interface. You can easily and quickly configure and experience the supported RAG methods and evaluate them on the benchmarks.
|
|
87
87
|
|
|
88
|
-
[25/01/11] We have added support for a new method [<u>RQRAG</u>](https://arxiv.org/abs/2404.00610) method, see it in [**reproduce_experiment**](docs/reproduce_experiment.md).
|
|
88
|
+
[25/01/11] We have added support for a new method [<u>RQRAG</u>](https://arxiv.org/abs/2404.00610) method, see it in [**reproduce_experiment**](docs/original_docs/reproduce_experiment.md).
|
|
89
89
|
|
|
90
|
-
[25/01/07] We have currently support the aggregation of multiple retrievers, see it in [**multi retriever usage**](https://github.com/RUC-NLPIR/FlashRAG/blob/main/docs/multi_retriever_usage.md).
|
|
90
|
+
[25/01/07] We have currently support the aggregation of multiple retrievers, see it in [**multi retriever usage**](https://github.com/RUC-NLPIR/FlashRAG/blob/main/docs/original_docs/multi_retriever_usage.md).
|
|
91
91
|
|
|
92
|
-
[25/01/07] We have integrated a very flexible and lightweight corpus chunking library [**Chunkie**](https://github.com/chonkie-ai/chonkie?tab=readme-ov-file#usage), which supports various custom chunking methods (tokens, sentences, semantic, etc.). Use it in [<u>chunking doc corpus</u>](docs/chunk-doc-corpus.md).
|
|
92
|
+
[25/01/07] We have integrated a very flexible and lightweight corpus chunking library [**Chunkie**](https://github.com/chonkie-ai/chonkie?tab=readme-ov-file#usage), which supports various custom chunking methods (tokens, sentences, semantic, etc.). Use it in [<u>chunking doc corpus</u>](docs/original_docs/chunk-doc-corpus.md).
|
|
93
93
|
|
|
94
94
|
[24/10/21] We have released a version based on the Paddle framework that supports Chinese hardware platforms. Please refer to [FlashRAG Paddle](https://github.com/RUC-NLPIR/FlashRAG-Paddle) for details.
|
|
95
95
|
|
|
@@ -108,7 +108,7 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
108
108
|
|
|
109
109
|
[24/07/17] Due to some unknown issues with HuggingFace, our original dataset link has been invalid. We have updated it. Please check the [new link](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets/) if you encounter any problems.
|
|
110
110
|
|
|
111
|
-
[24/07/06] We add support for a new method: [<u>Trace</u>](https://arxiv.org/abs/2406.11460), which refine text by constructing a knowledge graph. See it [<u>results</u>](#robot-supporting-methods) and [<u>details</u>](./docs/baseline_details.md).
|
|
111
|
+
[24/07/06] We add support for a new method: [<u>Trace</u>](https://arxiv.org/abs/2406.11460), which refine text by constructing a knowledge graph. See it [<u>results</u>](#robot-supporting-methods) and [<u>details</u>](./docs/original_docs/baseline_details.md).
|
|
112
112
|
|
|
113
113
|
[24/06/19] We add support for a new method: [<u>IRCoT</u>](https://arxiv.org/abs/2212.10509), and update the [<u>result table</u>](#robot-supporting-methods).
|
|
114
114
|
|
|
@@ -116,9 +116,9 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
116
116
|
|
|
117
117
|
[24/06/11] We have integrated `sentence transformers` in the retriever module. Now it's easier to use the retriever without setting pooling methods.
|
|
118
118
|
|
|
119
|
-
[24/06/05] We have provided detailed document for reproducing existing methods (see [how to reproduce](./docs/reproduce_experiment.md), [baseline details](./docs/baseline_details.md)), and [<u>configurations settings</u>](./docs/configuration.md).
|
|
119
|
+
[24/06/05] We have provided detailed document for reproducing existing methods (see [how to reproduce](./docs/original_docs/reproduce_experiment.md), [baseline details](./docs/original_docs/baseline_details.md)), and [<u>configurations settings</u>](./docs/original_docs/configuration.md).
|
|
120
120
|
|
|
121
|
-
[24/06/02] We have provided an introduction of FlashRAG for beginners, see [<u>an introduction to flashrag</u>](./docs/introduction_for_beginners_en.md) ([<u>中文版</u>](./docs/introduction_for_beginners_zh.md) [<u>한국어</u>](./docs/introduction_for_beginners_kr.md)).
|
|
121
|
+
[24/06/02] We have provided an introduction of FlashRAG for beginners, see [<u>an introduction to flashrag</u>](./docs/original_docs/introduction_for_beginners_en.md) ([<u>中文版</u>](./docs/original_docs/introduction_for_beginners_zh.md) [<u>한국어</u>](./docs/original_docs/introduction_for_beginners_kr.md)).
|
|
122
122
|
|
|
123
123
|
[24/05/31] We supported Openai-series models as generator.
|
|
124
124
|
|
|
@@ -183,7 +183,7 @@ To build an index, you first need to save your corpus as a `jsonl` file with eac
|
|
|
183
183
|
{"id": "1", "contents": "..."}
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
If you want to use Wikipedia as your corpus, you can refer to our documentation [Processing Wikipedia](./docs/process-wiki.md) to convert it into an indexable format.
|
|
186
|
+
If you want to use Wikipedia as your corpus, you can refer to our documentation [Processing Wikipedia](./docs/original_docs/process-wiki.md) to convert it into an indexable format.
|
|
187
187
|
|
|
188
188
|
### Index Construction
|
|
189
189
|
|
|
@@ -272,7 +272,7 @@ my_config = Config(
|
|
|
272
272
|
config_dict = config_dict
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
-
We provide comprehensive guidance on how to set configurations, you can see our [<u>configuration guidance</u>](./docs/configuration.md).
|
|
275
|
+
We provide comprehensive guidance on how to set configurations, you can see our [<u>configuration guidance</u>](./docs/original_docs/configuration.md).
|
|
276
276
|
You can also refer to the [<u>basic yaml file</u>](./flashrag/config/basic_config.yaml) we provide to set your own parameters.
|
|
277
277
|
|
|
278
278
|
Next, load the corresponding dataset and initialize the pipeline. The components in the pipeline will be automatically loaded.
|
|
@@ -343,11 +343,11 @@ class ToyPipeline(BasicPipeline):
|
|
|
343
343
|
return dataset
|
|
344
344
|
```
|
|
345
345
|
|
|
346
|
-
Please first understand the input and output forms of the components you need to use from our [<u>documentation</u>](./docs/basic_usage.md).
|
|
346
|
+
Please first understand the input and output forms of the components you need to use from our [<u>documentation</u>](./docs/original_docs/basic_usage.md).
|
|
347
347
|
|
|
348
348
|
### Just use components
|
|
349
349
|
|
|
350
|
-
If you already have your own code and only want to use our components to embed the original code, you can refer to the [<u>basic introduction of the components</u>](./docs/basic_usage.md) to obtain the input and output formats of each component.
|
|
350
|
+
If you already have your own code and only want to use our components to embed the original code, you can refer to the [<u>basic introduction of the components</u>](./docs/original_docs/basic_usage.md) to obtain the input and output formats of each component.
|
|
351
351
|
|
|
352
352
|
## :gear: Components
|
|
353
353
|
|
|
@@ -537,11 +537,11 @@ We have implemented 15 works with a consistent setting of:
|
|
|
537
537
|
|
|
538
538
|
- **Generator:** LLAMA3-8B-instruct with input length of 2048
|
|
539
539
|
- **Retriever:** e5-base-v2 as embedding model, retrieve 5 docs per query
|
|
540
|
-
- **Prompt:** A consistent default prompt, template can be found in the [<u>method details</u>](./docs/baseline_details.md).
|
|
540
|
+
- **Prompt:** A consistent default prompt, template can be found in the [<u>method details</u>](./docs/original_docs/baseline_details.md).
|
|
541
541
|
|
|
542
542
|
For open-source methods, we implemented their processes using our framework. For methods where the author did not provide source code, we will try our best to follow the methods in the original paper for implementation.
|
|
543
543
|
|
|
544
|
-
For necessary settings and hyperparameters specific to some methods, we have documented them in the **specific settings** column. For more details, please consult our [<u>reproduce guidance</u>](./docs/reproduce_experiment.md) and [<u>method details</u>](./docs/baseline_details.md).
|
|
544
|
+
For necessary settings and hyperparameters specific to some methods, we have documented them in the **specific settings** column. For more details, please consult our [<u>reproduce guidance</u>](./docs/original_docs/reproduce_experiment.md) and [<u>method details</u>](./docs/original_docs/baseline_details.md).
|
|
545
545
|
|
|
546
546
|
It’s important to note that, to ensure consistency, we have utilized a uniform setting. However, this setting may differ from the original setting of the method, leading to variations in results compared to the original outcomes.
|
|
547
547
|
|
|
@@ -636,7 +636,7 @@ Our toolkit supports jsonl format for retrieval document collections, with the f
|
|
|
636
636
|
|
|
637
637
|
The `contents` key is essential for building the index. For documents that include both text and title, we recommend setting the value of `contents` to `{title}\n{text}`. The corpus file can also contain other keys to record additional characteristics of the documents.
|
|
638
638
|
|
|
639
|
-
In the academic research, Wikipedia and MS MARCO are the most commonly used retrieval document collections. For Wikipedia, we provide a [<u>comprehensive script</u>](./docs/process-wiki.md) to process any Wikipedia dump into a clean corpus. Additionally, various processed versions of the Wikipedia corpus are available in many works, and we have listed some reference links.
|
|
639
|
+
In the academic research, Wikipedia and MS MARCO are the most commonly used retrieval document collections. For Wikipedia, we provide a [<u>comprehensive script</u>](./docs/original_docs/process-wiki.md) to process any Wikipedia dump into a clean corpus. Additionally, various processed versions of the Wikipedia corpus are available in many works, and we have listed some reference links.
|
|
640
640
|
|
|
641
641
|
For MS MARCO, it is already processed upon release and can be directly downloaded from its [<u>hosting link</u>](https://huggingface.co/datasets/Tevatron/msmarco-passage-corpus) on Hugging Face.
|
|
642
642
|
|
|
@@ -654,10 +654,10 @@ The index was created using the e5-base-v2 retriever on our uploaded wiki18_100w
|
|
|
654
654
|
|
|
655
655
|
## :raised_hands: Additional FAQs
|
|
656
656
|
|
|
657
|
-
- [How should I set different experimental parameters?](./docs/configuration.md)
|
|
658
|
-
- [How to build my own corpus, such as a specific segmented Wikipedia?](./docs/process-wiki.md)
|
|
659
|
-
- [How to index my own corpus?](./docs/building-index.md)
|
|
660
|
-
- [How to reproduce supporting methods?](./docs/reproduce_experiment.md)
|
|
657
|
+
- [How should I set different experimental parameters?](./docs/original_docs/configuration.md)
|
|
658
|
+
- [How to build my own corpus, such as a specific segmented Wikipedia?](./docs/original_docs/process-wiki.md)
|
|
659
|
+
- [How to index my own corpus?](./docs/original_docs/building-index.md)
|
|
660
|
+
- [How to reproduce supporting methods?](./docs/original_docs/reproduce_experiment.md)
|
|
661
661
|
|
|
662
662
|
## :bookmark: License
|
|
663
663
|
|
|
@@ -35,7 +35,7 @@ class OpenaiGenerator:
|
|
|
35
35
|
try:
|
|
36
36
|
self.tokenizer = tiktoken.encoding_for_model(self.model_name)
|
|
37
37
|
except Exception as e:
|
|
38
|
-
print("
|
|
38
|
+
print("Warning: ", e)
|
|
39
39
|
warnings.warn("This model is not supported by tiktoken. Use gpt-3.5-turbo instead.")
|
|
40
40
|
self.tokenizer = tiktoken.encoding_for_model('gpt-3.5-turbo')
|
|
41
41
|
@property
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.4dev20250319"
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flashrag-dev
|
|
3
|
-
Version: 0.1.4.
|
|
3
|
+
Version: 0.1.4.dev20250319
|
|
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
|
|
@@ -102,11 +102,11 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
102
102
|
|
|
103
103
|
[25/01/12] Introduce <strong>FlashRAG-UI</strong>, an easy to use interface. You can easily and quickly configure and experience the supported RAG methods and evaluate them on the benchmarks.
|
|
104
104
|
|
|
105
|
-
[25/01/11] We have added support for a new method [<u>RQRAG</u>](https://arxiv.org/abs/2404.00610) method, see it in [**reproduce_experiment**](docs/reproduce_experiment.md).
|
|
105
|
+
[25/01/11] We have added support for a new method [<u>RQRAG</u>](https://arxiv.org/abs/2404.00610) method, see it in [**reproduce_experiment**](docs/original_docs/reproduce_experiment.md).
|
|
106
106
|
|
|
107
|
-
[25/01/07] We have currently support the aggregation of multiple retrievers, see it in [**multi retriever usage**](https://github.com/RUC-NLPIR/FlashRAG/blob/main/docs/multi_retriever_usage.md).
|
|
107
|
+
[25/01/07] We have currently support the aggregation of multiple retrievers, see it in [**multi retriever usage**](https://github.com/RUC-NLPIR/FlashRAG/blob/main/docs/original_docs/multi_retriever_usage.md).
|
|
108
108
|
|
|
109
|
-
[25/01/07] We have integrated a very flexible and lightweight corpus chunking library [**Chunkie**](https://github.com/chonkie-ai/chonkie?tab=readme-ov-file#usage), which supports various custom chunking methods (tokens, sentences, semantic, etc.). Use it in [<u>chunking doc corpus</u>](docs/chunk-doc-corpus.md).
|
|
109
|
+
[25/01/07] We have integrated a very flexible and lightweight corpus chunking library [**Chunkie**](https://github.com/chonkie-ai/chonkie?tab=readme-ov-file#usage), which supports various custom chunking methods (tokens, sentences, semantic, etc.). Use it in [<u>chunking doc corpus</u>](docs/original_docs/chunk-doc-corpus.md).
|
|
110
110
|
|
|
111
111
|
[24/10/21] We have released a version based on the Paddle framework that supports Chinese hardware platforms. Please refer to [FlashRAG Paddle](https://github.com/RUC-NLPIR/FlashRAG-Paddle) for details.
|
|
112
112
|
|
|
@@ -125,7 +125,7 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
125
125
|
|
|
126
126
|
[24/07/17] Due to some unknown issues with HuggingFace, our original dataset link has been invalid. We have updated it. Please check the [new link](https://huggingface.co/datasets/RUC-NLPIR/FlashRAG_datasets/) if you encounter any problems.
|
|
127
127
|
|
|
128
|
-
[24/07/06] We add support for a new method: [<u>Trace</u>](https://arxiv.org/abs/2406.11460), which refine text by constructing a knowledge graph. See it [<u>results</u>](#robot-supporting-methods) and [<u>details</u>](./docs/baseline_details.md).
|
|
128
|
+
[24/07/06] We add support for a new method: [<u>Trace</u>](https://arxiv.org/abs/2406.11460), which refine text by constructing a knowledge graph. See it [<u>results</u>](#robot-supporting-methods) and [<u>details</u>](./docs/original_docs/baseline_details.md).
|
|
129
129
|
|
|
130
130
|
[24/06/19] We add support for a new method: [<u>IRCoT</u>](https://arxiv.org/abs/2212.10509), and update the [<u>result table</u>](#robot-supporting-methods).
|
|
131
131
|
|
|
@@ -133,9 +133,9 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
133
133
|
|
|
134
134
|
[24/06/11] We have integrated `sentence transformers` in the retriever module. Now it's easier to use the retriever without setting pooling methods.
|
|
135
135
|
|
|
136
|
-
[24/06/05] We have provided detailed document for reproducing existing methods (see [how to reproduce](./docs/reproduce_experiment.md), [baseline details](./docs/baseline_details.md)), and [<u>configurations settings</u>](./docs/configuration.md).
|
|
136
|
+
[24/06/05] We have provided detailed document for reproducing existing methods (see [how to reproduce](./docs/original_docs/reproduce_experiment.md), [baseline details](./docs/original_docs/baseline_details.md)), and [<u>configurations settings</u>](./docs/original_docs/configuration.md).
|
|
137
137
|
|
|
138
|
-
[24/06/02] We have provided an introduction of FlashRAG for beginners, see [<u>an introduction to flashrag</u>](./docs/introduction_for_beginners_en.md) ([<u>中文版</u>](./docs/introduction_for_beginners_zh.md) [<u>한국어</u>](./docs/introduction_for_beginners_kr.md)).
|
|
138
|
+
[24/06/02] We have provided an introduction of FlashRAG for beginners, see [<u>an introduction to flashrag</u>](./docs/original_docs/introduction_for_beginners_en.md) ([<u>中文版</u>](./docs/original_docs/introduction_for_beginners_zh.md) [<u>한국어</u>](./docs/original_docs/introduction_for_beginners_kr.md)).
|
|
139
139
|
|
|
140
140
|
[24/05/31] We supported Openai-series models as generator.
|
|
141
141
|
|
|
@@ -200,7 +200,7 @@ To build an index, you first need to save your corpus as a `jsonl` file with eac
|
|
|
200
200
|
{"id": "1", "contents": "..."}
|
|
201
201
|
```
|
|
202
202
|
|
|
203
|
-
If you want to use Wikipedia as your corpus, you can refer to our documentation [Processing Wikipedia](./docs/process-wiki.md) to convert it into an indexable format.
|
|
203
|
+
If you want to use Wikipedia as your corpus, you can refer to our documentation [Processing Wikipedia](./docs/original_docs/process-wiki.md) to convert it into an indexable format.
|
|
204
204
|
|
|
205
205
|
### Index Construction
|
|
206
206
|
|
|
@@ -289,7 +289,7 @@ my_config = Config(
|
|
|
289
289
|
config_dict = config_dict
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
We provide comprehensive guidance on how to set configurations, you can see our [<u>configuration guidance</u>](./docs/configuration.md).
|
|
292
|
+
We provide comprehensive guidance on how to set configurations, you can see our [<u>configuration guidance</u>](./docs/original_docs/configuration.md).
|
|
293
293
|
You can also refer to the [<u>basic yaml file</u>](./flashrag/config/basic_config.yaml) we provide to set your own parameters.
|
|
294
294
|
|
|
295
295
|
Next, load the corresponding dataset and initialize the pipeline. The components in the pipeline will be automatically loaded.
|
|
@@ -360,11 +360,11 @@ class ToyPipeline(BasicPipeline):
|
|
|
360
360
|
return dataset
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
Please first understand the input and output forms of the components you need to use from our [<u>documentation</u>](./docs/basic_usage.md).
|
|
363
|
+
Please first understand the input and output forms of the components you need to use from our [<u>documentation</u>](./docs/original_docs/basic_usage.md).
|
|
364
364
|
|
|
365
365
|
### Just use components
|
|
366
366
|
|
|
367
|
-
If you already have your own code and only want to use our components to embed the original code, you can refer to the [<u>basic introduction of the components</u>](./docs/basic_usage.md) to obtain the input and output formats of each component.
|
|
367
|
+
If you already have your own code and only want to use our components to embed the original code, you can refer to the [<u>basic introduction of the components</u>](./docs/original_docs/basic_usage.md) to obtain the input and output formats of each component.
|
|
368
368
|
|
|
369
369
|
## :gear: Components
|
|
370
370
|
|
|
@@ -554,11 +554,11 @@ We have implemented 15 works with a consistent setting of:
|
|
|
554
554
|
|
|
555
555
|
- **Generator:** LLAMA3-8B-instruct with input length of 2048
|
|
556
556
|
- **Retriever:** e5-base-v2 as embedding model, retrieve 5 docs per query
|
|
557
|
-
- **Prompt:** A consistent default prompt, template can be found in the [<u>method details</u>](./docs/baseline_details.md).
|
|
557
|
+
- **Prompt:** A consistent default prompt, template can be found in the [<u>method details</u>](./docs/original_docs/baseline_details.md).
|
|
558
558
|
|
|
559
559
|
For open-source methods, we implemented their processes using our framework. For methods where the author did not provide source code, we will try our best to follow the methods in the original paper for implementation.
|
|
560
560
|
|
|
561
|
-
For necessary settings and hyperparameters specific to some methods, we have documented them in the **specific settings** column. For more details, please consult our [<u>reproduce guidance</u>](./docs/reproduce_experiment.md) and [<u>method details</u>](./docs/baseline_details.md).
|
|
561
|
+
For necessary settings and hyperparameters specific to some methods, we have documented them in the **specific settings** column. For more details, please consult our [<u>reproduce guidance</u>](./docs/original_docs/reproduce_experiment.md) and [<u>method details</u>](./docs/original_docs/baseline_details.md).
|
|
562
562
|
|
|
563
563
|
It’s important to note that, to ensure consistency, we have utilized a uniform setting. However, this setting may differ from the original setting of the method, leading to variations in results compared to the original outcomes.
|
|
564
564
|
|
|
@@ -653,7 +653,7 @@ Our toolkit supports jsonl format for retrieval document collections, with the f
|
|
|
653
653
|
|
|
654
654
|
The `contents` key is essential for building the index. For documents that include both text and title, we recommend setting the value of `contents` to `{title}\n{text}`. The corpus file can also contain other keys to record additional characteristics of the documents.
|
|
655
655
|
|
|
656
|
-
In the academic research, Wikipedia and MS MARCO are the most commonly used retrieval document collections. For Wikipedia, we provide a [<u>comprehensive script</u>](./docs/process-wiki.md) to process any Wikipedia dump into a clean corpus. Additionally, various processed versions of the Wikipedia corpus are available in many works, and we have listed some reference links.
|
|
656
|
+
In the academic research, Wikipedia and MS MARCO are the most commonly used retrieval document collections. For Wikipedia, we provide a [<u>comprehensive script</u>](./docs/original_docs/process-wiki.md) to process any Wikipedia dump into a clean corpus. Additionally, various processed versions of the Wikipedia corpus are available in many works, and we have listed some reference links.
|
|
657
657
|
|
|
658
658
|
For MS MARCO, it is already processed upon release and can be directly downloaded from its [<u>hosting link</u>](https://huggingface.co/datasets/Tevatron/msmarco-passage-corpus) on Hugging Face.
|
|
659
659
|
|
|
@@ -671,10 +671,10 @@ The index was created using the e5-base-v2 retriever on our uploaded wiki18_100w
|
|
|
671
671
|
|
|
672
672
|
## :raised_hands: Additional FAQs
|
|
673
673
|
|
|
674
|
-
- [How should I set different experimental parameters?](./docs/configuration.md)
|
|
675
|
-
- [How to build my own corpus, such as a specific segmented Wikipedia?](./docs/process-wiki.md)
|
|
676
|
-
- [How to index my own corpus?](./docs/building-index.md)
|
|
677
|
-
- [How to reproduce supporting methods?](./docs/reproduce_experiment.md)
|
|
674
|
+
- [How should I set different experimental parameters?](./docs/original_docs/configuration.md)
|
|
675
|
+
- [How to build my own corpus, such as a specific segmented Wikipedia?](./docs/original_docs/process-wiki.md)
|
|
676
|
+
- [How to index my own corpus?](./docs/original_docs/building-index.md)
|
|
677
|
+
- [How to reproduce supporting methods?](./docs/original_docs/reproduce_experiment.md)
|
|
678
678
|
|
|
679
679
|
## :bookmark: License
|
|
680
680
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.4dev20250310"
|
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/config/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/config/basic_config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/dataset/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/dataset/dataset.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/_bleu.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/evaluator.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/metrics.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/evaluator/utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/generator/utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/judger/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/mm_pipeline.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/pipeline.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/pipeline/replug_utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/base_prompt.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/mm_prompt.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/prompt/trace_examplars.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/kg_refiner.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/refiner/refiner.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/__main__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/reranker.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/retriever.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/retriever/utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/constants.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag/utils/pred_parse.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250310 → flashrag_dev-0.1.4.dev20250319}/flashrag_dev.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|