Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor existing metric python files with input schema #667

Merged
merged 52 commits into from
Sep 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
fa666c6
add Payload data schema
Eastsidegunn Aug 26, 2024
e2f85ad
edit Payload data schema
Eastsidegunn Sep 1, 2024
c9cc00a
edit test code with payload schema
Eastsidegunn Sep 1, 2024
096da36
edit generation.py with payload schema
Eastsidegunn Sep 1, 2024
54156f2
edit retrieval.py with payload schema
Eastsidegunn Sep 1, 2024
e34ddc9
edit retrieval_contents.py with payload schema
Eastsidegunn Sep 1, 2024
f9898a7
edit generator/run.py with payload schema
Eastsidegunn Sep 1, 2024
804e788
edit queryexpansion/run.py with payload schema
Eastsidegunn Sep 1, 2024
8a904ab
edit retrieval/run.py with payload schema
Eastsidegunn Sep 1, 2024
f534b0c
edit passagereranker/run.py with payload schema
Eastsidegunn Sep 1, 2024
16a3bdc
edit passagefilter/run.py with payload schema
Eastsidegunn Sep 1, 2024
223abd8
edit passagepromptmaker/run.py with payload schema
Eastsidegunn Sep 1, 2024
88222c1
Merge branch 'main' into Feature/#655
Eastsidegunn Sep 2, 2024
c046118
edit query_expansion with Payload
Eastsidegunn Sep 2, 2024
3d38e22
edit promptmaker with Payload
Eastsidegunn Sep 2, 2024
91ec088
edit passageaugmenter with Payload
Eastsidegunn Sep 2, 2024
ae6d3d6
rename Payload to MetricInput
Eastsidegunn Sep 2, 2024
ac1e56e
Merge branch 'main' into Feature/#655
vkehfdl1 Sep 4, 2024
abaf150
rename Payload to MetricInput
Eastsidegunn Sep 7, 2024
513a56a
edit test.py with MetricInput
Eastsidegunn Sep 7, 2024
f172034
add is_fileds_notnone MetricInput method
Eastsidegunn Sep 7, 2024
127da1c
edit run, evaluation code for pre-retrieval, retrieval process
Eastsidegunn Sep 7, 2024
d5921f6
edit run, evaluation code for post process
Eastsidegunn Sep 7, 2024
a16eff1
Merge branch 'refs/heads/main' into Feature/#655
Eastsidegunn Sep 7, 2024
349566f
Merge remote-tracking branch 'origin/Feature/#655' into Feature/#655
Eastsidegunn Sep 7, 2024
bd9884c
edit is_fields_notnone to provide flexibility in input data types.
Eastsidegunn Sep 7, 2024
206028a
add metric_input from_dataframe
Eastsidegunn Sep 7, 2024
b85a1d0
add metric_input from_dataframe annotation
Eastsidegunn Sep 7, 2024
f007e19
make check_list method react np.ndarray data format
Eastsidegunn Sep 8, 2024
5bdb764
modify run.py with MetricInput
Eastsidegunn Sep 8, 2024
9353425
Merge branch 'main' into Feature/#655
vkehfdl1 Sep 8, 2024
8b28c02
Renamed MetricInput class variable from ('gt_contents', 'retireval_i…
Eastsidegunn Sep 8, 2024
f3e3dc0
Renamed first parameter of is_fields_notnone method included in Metr…
Eastsidegunn Sep 8, 2024
c4ce922
make _check_list method of MetricInput schema to staticmethod
Eastsidegunn Sep 8, 2024
bfdb91d
rename autorag_metric_loop
Eastsidegunn Sep 8, 2024
d8fdf54
modify metric fields_to_check params with pre-commit: MetricInput var…
Eastsidegunn Sep 8, 2024
4ae5989
modify setattr function to more intutive code style. (set attribution…
Eastsidegunn Sep 8, 2024
872050e
modify code to use autorag.utils.util to_list func
Eastsidegunn Sep 8, 2024
58a0b6e
Merge remote-tracking branch 'origin/Feature/#655' into Feature/#655
Eastsidegunn Sep 8, 2024
a5cb92b
rename variance name 'payloads' to metric_inputs in whole code
Eastsidegunn Sep 8, 2024
832ca97
Renamed MetricInput class variable from ('gt_contents', 'retireval_i…
Eastsidegunn Sep 8, 2024
f28a47d
refactor MetricInput from_dataframe method
Eastsidegunn Sep 9, 2024
42583f6
Refactor: Extract type_checks dictionary from MetricInput class
Eastsidegunn Sep 9, 2024
8eb65bf
Merge branch 'main' into Feature/#655
vkehfdl1 Sep 10, 2024
82e2f8b
Modify the type hint of retrieval_gt_contents from List[str] to List[…
Eastsidegunn Sep 11, 2024
084c06b
Merge branch 'refs/heads/main' into Feature/#655
Eastsidegunn Sep 11, 2024
1023f26
Merge remote-tracking branch 'origin/Feature/#655' into Feature/#655
Eastsidegunn Sep 11, 2024
98aa386
Merge branch 'main' into Feature/#655
vkehfdl1 Sep 11, 2024
ec61c83
- Fixed test_single_token_f1 bug introduced in last commit(changing r…
Eastsidegunn Sep 11, 2024
b4664bb
Merge remote-tracking branch 'origin/Feature/#655' into Feature/#655
Eastsidegunn Sep 11, 2024
5a61095
- Fixed test_single_token_f1 bug introduced in last commit(changing r…
Eastsidegunn Sep 11, 2024
e608857
Merge branch 'main' into Feature/#655
vkehfdl1 Sep 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'refs/heads/main' into Feature/#655
  • Loading branch information
Eastsidegunn committed Sep 11, 2024
commit 084c06bbd3b8518d59e39cc5399a00cb5afc151c

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.