Metadata-Version: 2.4
Name: meta-analysis-screen
Version: 0.2.6
Summary: Full-text, section-aware literature screening for systematic reviews and meta-analyses.
Author: Roy M. Gabriel, Michael Galarnyk, Pranesh Sathish Kumar, Nattakorn Kittisut, Abanoub E. Abdelmalak, Marly van Assen, Carlo N. De Cecco, Sudheer Chava, Ali Adibi
License-Expression: AGPL-3.0-only
Project-URL: Homepage, https://github.com/mGalarnyk/Meta-Analysis-LLMs
Project-URL: Repository, https://github.com/mGalarnyk/Meta-Analysis-LLMs
Project-URL: Issues, https://github.com/mGalarnyk/Meta-Analysis-LLMs/issues
Project-URL: Dataset, https://huggingface.co/datasets/roymgabriel/meta-analysis-screen-dataset
Project-URL: Documentation, https://github.com/mGalarnyk/Meta-Analysis-LLMs/blob/main/docs/INFERENCE.md
Project-URL: Citation, https://github.com/mGalarnyk/Meta-Analysis-LLMs/blob/main/CITATION.cff
Keywords: systematic review,meta-analysis,screening,biomedical NLP,PMC Open Access,LLM evaluation
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas<3.0,>=2.0
Requires-Dist: pyarrow>=15
Requires-Dist: requests>=2.31
Requires-Dist: httpx<1,>=0.27
Requires-Dist: filelock>=3.10
Requires-Dist: huggingface_hub>=0.23
Requires-Dist: biopython>=1.83
Requires-Dist: ollama>=0.6.0
Requires-Dist: PyYAML>=6.0
Provides-Extra: tokenizer
Requires-Dist: transformers>=4.0; extra == "tokenizer"
Requires-Dist: jinja2>=3.1; extra == "tokenizer"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Provides-Extra: release
Requires-Dist: build>=1.2; extra == "release"
Requires-Dist: twine>=6; extra == "release"
Provides-Extra: flyte
Requires-Dist: flyte[tui]<3.0,>=2.5; extra == "flyte"
Requires-Dist: flyteplugins-vllm<3.0,>=2.0; extra == "flyte"
Requires-Dist: httpx<1.0,>=0.28; extra == "flyte"
Provides-Extra: gpu
Requires-Dist: vllm<0.30,>=0.22; extra == "gpu"
Requires-Dist: openai>=2.25; extra == "gpu"
Requires-Dist: transformers<6,>=4.57; extra == "gpu"
Dynamic: license-file

# meta-analysis-screen

**Full-text, section-aware literature screening for systematic reviews and meta-analyses.**

Compare how well language models prioritize papers using titles and abstracts,
individual sections, or full text. Build new screening datasets from PubMed
and PubMed Central (PMC) Open Access with the same toolkit.

[Usage](https://github.com/mGalarnyk/Meta-Analysis-LLMs/blob/main/docs/INFERENCE.md) ·
[Dataset](https://huggingface.co/datasets/roymgabriel/meta-analysis-screen-dataset) ·
[Source](https://github.com/mGalarnyk/Meta-Analysis-LLMs)

## Quickstart

Use Python 3.10 or later. The package installs the `meta-screening` command.

```bash
python -m pip install meta-analysis-screen
meta-screening download --cohort nemotron --all-splits
```

This saves the train, validation, and test Parquet files to
`data/hf/roymgabriel/meta-analysis-screen-dataset/nemotron/`. Each row includes
a review question, candidate sections, and a citation label. The Nemotron
cohort has 713 pairs. Use `--cohort qwen` for the 2,187-pair Qwen cohort.
Both downloads work without a model server or an account.

## Screen papers or build a dataset

Install the tokenizer extra for screening or a build that records token counts.

```bash
python -m pip install "meta-analysis-screen[tokenizer]"
```

- **Screen a cohort.** Use `meta-screening screen` with an OpenAI-compatible
  model server to score candidate papers for human review.
  [Try two validation pairs](https://github.com/mGalarnyk/Meta-Analysis-LLMs/blob/main/docs/INFERENCE.md#rehearse-on-validation).
- **Build a dataset.** Use `meta-screening generate` with an Ollama model tag
  to create review questions, retrieve papers, and export sectioned Parquet
  splits with audit reports.
  [Build with a model of your choice](https://github.com/mGalarnyk/Meta-Analysis-LLMs/blob/main/docs/INFERENCE.md#generate-with-another-ollama-model).

## License

The code is available under [AGPL-3.0](https://github.com/mGalarnyk/Meta-Analysis-LLMs/blob/main/LICENSE).
Released articles retain their documented CC BY or CC0 terms.
[Dataset attribution and citation](https://huggingface.co/datasets/roymgabriel/meta-analysis-screen-dataset#licensing-and-citation).
