Giter Club home page Giter Club logo

Comments (3)

hanjr92 avatar hanjr92 commented on August 15, 2024

but, i use python tools/prompt_viewer.py configs/eval_test_comsenseqa.py -n -a

from mmengine.config import read_base
from opencompass.partitioners import SizePartitioner, NaivePartitioner
from opencompass.runners import LocalRunner
from opencompass.tasks import OpenICLInferTask, OpenICLEvalTask
with read_base():
    from .datasets.commonsenseqa.commonsenseqa_ppl_5545e2 import commonsenseqa_datasets

len of self.index_ds in commonsenseqa : 9741
len of self.test_ds in commonsenseqa : 1221
but the len of ice_idx_list is 1221. It is equal to len of self.test_ds.

from opencompass.

Leymore avatar Leymore commented on August 15, 2024

There is a partitioner machenism during launching tasks, that would explain the differences between 611 and 1221. But I'm not sure why there is a out of bound error...

from opencompass.

hanjr92 avatar hanjr92 commented on August 15, 2024

It‘s my fault. I saved the intermediate results of the index as binary files, but did not consider partitioner machenism. Thanks.

from opencompass.

Related Issues (20)

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.