Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions examples/basic_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def _setup(self):
def _extract_content(self, html, url=None):
return ExtractionResult(
content="抽取器A的结果",
content_list=[{"type": "paragraph", "content": "抽取器A的结果"}],
# content_list=[{"type": "paragraph", "content": "抽取器A的结果"}],
success=True,
confidence_score=0.9
)
Expand All @@ -420,7 +420,7 @@ def _setup(self):
def _extract_content(self, html, url=None):
return ExtractionResult(
content="抽取器B的结果",
content_list=[{"type": "paragraph", "content": "抽取器B的结果"}],
# content_list=[{"type": "paragraph", "content": "抽取器B的结果"}],
success=True,
confidence_score=0.8
)
Expand Down Expand Up @@ -703,6 +703,7 @@ def hello_world():
try:
demo_basic_mock_evaluation()
demo_llm_webkit_evaluation() # 使用LLM-WebKit评测示例
demo_extractor_comparison()
print("\n✅ 示例运行完成!")

except Exception as e:
Expand Down
6 changes: 3 additions & 3 deletions results/leaderboard.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extractor,total_samples,success_rate,overall,table_extraction,formula_extraction
extractor_a,2,1.0,0.0,0.25,1.0
extractor_b,2,1.0,0.0,0.25,1.0
extractor,total_samples,success_rate,overall,code_edit,formula_edit,table_TEDS,table_edit,text_edit
extractor_a,2,1.0,0.4012,0.5,0.5,0.5,0.5,0.0062
extractor_b,2,1.0,0.4012,0.5,0.5,0.5,0.5,0.0062