File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
prepare/cards/rag/end_to_end
src/unitxt/catalog/cards/rag/documents/clap_nq Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 44from unitxt import add_to_catalog
55from unitxt .blocks import TaskCard
66from unitxt .loaders import LoadCSV , LoadHF
7- from unitxt .operators import Copy , ListFieldValues , Set
7+ from unitxt .operators import Copy , ListFieldValues
88from unitxt .templates import InputOutputTemplate
99from unitxt .test_utils .card import test_card
1010
@@ -82,11 +82,6 @@ class ClapNqBenchmark:
8282 fields = ["text" ],
8383 to_field = "passages" ,
8484 ),
85- Set (
86- fields = {
87- "metadata_field" : {},
88- }
89- ),
9085 ],
9186 task = "tasks.rag.corpora" ,
9287 __tags__ = {"license" : "Apache License 2.0" , "url" :"https://huggingface.co/datasets/PrimeQA/clapnq" },
Original file line number Diff line number Diff line change 2121 " text"
2222 ],
2323 "to_field" : " passages"
24- },
25- {
26- "__type__" : " set" ,
27- "fields" : {
28- "metadata_field" : {}
29- }
3024 }
3125 ],
3226 "task" : " tasks.rag.corpora" ,
You can’t perform that action at this time.
0 commit comments