Skip to content

Performance on some quick, synthetic benchmarks #3

Description

@jabr

I had an LLM generate some synthetic benchmark/test cases and run Von, Jev, and Gliner2 against them.

Repo is here: https://github.com/jabr/classifier-benchmark
Test cases are here: https://github.com/jabr/classifier-benchmark/blob/main/bench/cases.py
Results summary is here: https://github.com/jabr/classifier-benchmark/blob/main/bench/cases.py

Von is fast and looks like a nice start, but both Jev and Gliner2 beat it pretty decisively on accuracy for these cases:

Task (type) | Von | GLiNER2 | Jev
support_department (choice) | 0.933 | 0.933 | 1.000
email_intent (choice) | 1.000 | 0.900 | 1.000
refund_eligible (noul) | 0.500 | 0.500 | 1.000
urgency (noul) | 0.625 | 1.000 | 1.000
secret_leak (noul) | 0.500 | 0.500 | 1.000
frustration_level (score) | 0.222 | 1.000 | 1.000
incident_severity (score) | 0.556 | 0.556 | 0.778
review_sentiment (score) | 0.667 | 0.889 | 1.000
micro accuracy | 0.654 | 0.795 | 0.974
macro accuracy | 0.625 | 0.785 | 0.972
mean latency / case | ~62 ms | ~93 ms | ~302 ms
total wall time (78 cases) | 10.7 s | 20.3 s | 23.7 s

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions