Skip to content

API Implementation #116

Description

@kargibora

Currently we don't provide API for our framework enough. Ideally we should be able to

import judgearena
from judgarena.datasets import register_dataset

# Use your own dataset, with following some rules to work properly in the pipeline
@register_dataset
class MyClass
...
...

# Load tasks
task = load_custom_task(...)

cfg = {...}

judgearena.run_task(cfg=cfg, task=task...)

This extends the capability of the framework so it can be used as a library as well as framework.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions