Views
No views yet
1{
2 "popsci_title": "...",
3 "popsci_content": "...",
4 "popsci_url": "...",
5 "wiki_title": "...",
6 "wiki_content": "...",
7 "wiki_url": "...",
8 "wiki_keyfacts": [...],
9 "source": "...",
10 "content_relevance_score": 9
11}1{
2 "popsci_title": "...",
3 "popsci_content": "...",
4 "popsci_url": "...",
5 "wiki_title": "...",
6 "wiki_content": "...",
7 "wiki_url": "...",
8 "wiki_keyfacts": [...],
9 "source": "...",
10 "content_relevance_score": 9,
11 "model_name": "qwen3-8b-without-finetune",
12 "model_title": "...",
13 "model_output": "..."
14}1python auto_popsci/evaluation/evaluate_dataset.py \
2 --input_file model_outputs/qwen/adult_without_finetune.json \
3 --output_file results/qwen_adult_without_finetune_eval.json \
4 --popsci_field model_output \
5 --original_field wiki_content \
6 --reference_field popsci_content \
7 --ground_truth_keyfacts_field wiki_keyfacts \
8 --llm_type gemini-3-flash-preview \
9 --reader_age adult \
10 --cuda_devices "0,1" \
11 --concurrency 5 \
12 --sample 5--input_file model_outputs/qwen/adult_without_finetune.json: the flattened model output file to evaluate--output_file results/qwen_adult_without_finetune_eval.json: where the evaluation result JSON will be written--popsci_field model_output: the field containing the model-generated popular science article--original_field wiki_content: the field containing the source Wikipedia text used as the original document--reference_field popsci_content: the field containing the human-written popular science reference--ground_truth_keyfacts_field wiki_keyfacts: the field containing existing source-side keyfacts; the evaluator reads this field first instead of generating ground-truth keyfacts unnecessarily--llm_type gemini-3-flash-preview: the model used for LLM-based parts of the evaluation, such as keyfact-related processing when needed--reader_age adult: the target reader profile for audience-adaptive evaluation--cuda_devices "0,3": the GPU devices used for local model-based evaluation components--concurrency 5: the maximum number of concurrent async evaluation tasks through LLM APIs--sample 5: evaluate only the first 5 records, and use only those 5 records throughout the entire pipeline--ground_truth_keyfacts_field defaults to wiki_keyfacts--sample N applies to the entire pipeline, not just field detectionresults keeps only evaluation-relevant metadata and scores, for example:1{
2 "doc_id": 0,
3 "model_name": "qwen3-8b-without-finetune",
4 "source": "...",
5 "content_relevance_score": 9,
6 "popsci_title": "...",
7 "popsci_url": "...",
8 "wiki_title": "...",
9 "wiki_url": "...",
10 "simplicity_fkgl_score": 8.7,
11 "coherence_ppl_score": 32.1,
12 "vividness_score": 0.41,
13 "figurativeness": 0.12,
14 "emotionality": 0.39,
15 "decorativeness": 0.58,
16 "keyfacts_precision": 0.73,
17 "keyfacts_recall": 0.66
18}api_keybase_urlmodel