Skip to main content

Evaluation

This folder contains evaluation scripts for experiments on OARelatedWork dataset.

Install

pip install oarelatedworkevaluator

Usage

It can be run as:

oarelatedworkevaluator toy_example/example.csv res.json

See help for more information.

Each related work section is represented by following format.

Each headline is prefixed with appropriate number of # according to its level and stands on own line. So, for example (## 2.2. Dependency treebank for other languages), is headline of the first level related work subsection that will be prefixed with ##.

The headline (e.g., 2. Related work) of related work section itself is omitted.

Each paragraph is on its own line. Sentences are separated by space.

Formulas are masked with

Citations have the following format:

<cite>{'UNK' if bib_entry.id is None else bib_entry.id}<sep>{bib_entry.title}<sep>{first_author}</cite>

When citation has no bib_entry it is just:<cite>UNK</cite>. Similar if the first author is not known:<cite>{'UNK' if bib_entry.id is None else bib_entry.id}<sep>{bib_entry.title}<sep>UNK</cite>.

References use similar format as citations:

<ref>type_of_ref_target</ref>

Thus, for figure it will be <ref>figure</ref>. When reference has unknown type it is just:<ref>UNK</ref>.

Example

First paragraph of related work section.
## 2.1. headline of subsection
First sentence of first paragraph of subsection. Second sentence of first paragraph of subsection.
## 2.2. Graph Attention Networks
Recently, attention networks have achieved state-of-the-art results in many tasks <cite>4931429<sep>Show, attend and tell: Neural image caption generation with visual attention<sep>Kelvin Xu</cite>. By using learnable weights on each input, the attention mechanism determines how much attention to give to each input. GATs <cite>555880<sep>Graph attention networks<sep>Petar Veličković</cite> utilize an attention-based aggregator to generate attention coefficients over all neighbors of a node for feature aggregation. In particular, the aggregator function of GATs is
<eq>
Later, <cite>94675806<sep>How attentive are graph attention networks?<sep>Shaked Brody</cite> pointed out that ...
We also provide a comprehensive performance comparison in <ref>table</ref>.

Format of results for evaluation

By default, it is expected that the results are stored as csv file with two fields sample_id and summary (you can also use sequence alias instead of summary). However, it is possible to use a different format with the --file_format argument.

There is also toy example results file example.csv in toy_example folder with oracle summary.

Metadata

Release files for oarelatedworkevaluator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oarelatedworkevaluator 1.0.0
File Size Uploaded Provenance Actions
oarelatedworkevaluator-1.0.0.tar.gz 31.7 kB Without provenance Details for oarelatedworkevaluator-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oarelatedworkevaluator 1.0.0
File Interpreter ABI Platform Actions
oarelatedworkevaluator-1.0.0-py3-none-any.whl Python 3 none any Details for oarelatedworkevaluator-1.0.0-py3-none-any.whl

Total release size: 70.5 kB

Release files / oarelatedworkevaluator-1.0.0.tar.gz

Download URL oarelatedworkevaluator-1.0.0.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eed02fe169d8269c9360fda5443d84b6cac3991ec494a4f1cf7a3eac8b0d7e98
BLAKE2b-256 checksum
How to use checksums
8b41796035469ad837b5218d7b34879797585a46ee987849e635df8e27aa427d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / oarelatedworkevaluator-1.0.0-py3-none-any.whl

Download URL oarelatedworkevaluator-1.0.0-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e72b5080ba38497499b9e62071ee5438eb10f6854e2e0ffd9f687d7c8dd5fcb
BLAKE2b-256 checksum
How to use checksums
1bd014e0c9b8927fa2396226e33de2ebbed545057e51c54ea44b2716edc0f9e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Security for oarelatedworkevaluator 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page