Coder Social home page Coder Social logo

aigc_evals's People

Contributors

ssbuild avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aigc_evals's Issues

AttributeError: 'DataFrame' object has no attribute 'type'. Did you mean: 'astype'?

您好!我在尝试运行您的测评程序时,在完成所有题目的测评后遇到了这个问题:
您有空的时候方便帮忙看一看吗

python run_cmmlu.py

ld_religions
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 160/160 [00:52<00:00,  3.07it
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 67/67 [1:11:30<00:00, 64.03s/it]
]
Traceback (most recent call last):
  File "/home/edge2/aigc_evals/auto_eval/run_cmmlu.py", line 50, in <module>
    compute_match_metric(subjects,output_path,output_path_metric,data_type,MODEL)
  File "/home/edge2/aigc_evals/auto_eval/../auto_eval/mymetrics.py", line 28, in compute_match_metric
    for i, r in pd.json_normalize(events_df[events_df.type == "match"].data).iterrows():
                                            ^^^^^^^^^^^^^^
  File "/home/edge2/miniconda3/lib/python3.11/site-packages/pandas/core/generic.py", line 5989, in __getattr__
    return object.__getattribute__(self, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DataFrame' object has no attribute 'type'. Did you mean: 'astype'?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.