Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation not working with microsoft/deberta-v3-large #553

Open
msinha251 opened this issue Feb 28, 2024 · 1 comment
Open

Evaluation not working with microsoft/deberta-v3-large #553

msinha251 opened this issue Feb 28, 2024 · 1 comment

Comments

@msinha251
Copy link

Hi,

I was trying to evaluate the model trained on microsoft/deberta-v3-large but looks like it's having some issues on indexing. Any ideas or support for this one ?

Error:
IndexError: list index out of range

Code to Reproduce:

import pandas as pd
from datasets import load_dataset
from evaluate import evaluator
from transformers import pipeline

models = [
    "microsoft/deberta-v3-large"
]

data = load_dataset("conll2003", split="validation").shuffle().select(range(10))
task_evaluator = evaluator("token-classification")

results = []
for model in models:
    results.append(
        task_evaluator.compute(
            model_or_pipeline=model, data=data, metric="seqeval"
            )
        )

df = pd.DataFrame(results, index=models)
df[["overall_f1", "overall_accuracy", "total_time_in_seconds", "samples_per_second", "latency_in_seconds"]]
@msinha251
Copy link
Author

Can someone please advice, it's still the same issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant