Code Monkey home page Code Monkey logo

Comments (3)

Fanjia-Yan avatar Fanjia-Yan commented on June 3, 2024 1

Hey Xiaowei, let me try to answer your question as much as possible:

  1. At berkeley-function-leaderboard/data/function/gorilla_openfunctions_v1_test_function.py, we have had all the executable functions ready. When we are evaluating the results, we import all the functions and exec() the function calls. We will have two types of results : (1) definitive result: meaning that those result will not change subject to time. Then we do a exact match (2) real-time result: for those result that will be changing subjected to time, we will perform a type match.

  2. For the leaderboard ranking on the blog post, we compute the result as (num_of_entries_per_category * accuracy_per_category)/total_entries All categories are included except for "SQL" and "Chatable" which we generate to experiment.

  3. Sorry for the confusion. The no_function_call is renamed to relevance as of now since we believe it's better representative of what we are testing. Those two should have same content but you should use the "relevance" one.

  4. Thank you for pointing this out. I will perform a manual check on the indices you are mentioning. I will get back to you in this PR.

from gorilla.

vandyxiaowei avatar vandyxiaowei commented on June 3, 2024

Fanjia, thanks for the response! Add some comments inline.

Hey Xiaowei, let me try to answer your question as much as possible:

  1. At berkeley-function-leaderboard/data/function/gorilla_openfunctions_v1_test_function.py, we have had all the executable functions ready. When we are evaluating the results, we import all the functions and exec() the function calls. We will have two types of results : (1) definitive result: meaning that those result will not change subject to time. Then we do a exact match (2) real-time result: for those result that will be changing subjected to time, we will perform a type match.

Is this execution script also in the repo?

  1. For the leaderboard ranking on the blog post, we compute the result as (num_of_entries_per_category * accuracy_per_category)/total_entries All categories are included except for "SQL" and "Chatable" which we generate to experiment.

Do we also include REST, Java, JavaScript tests? I don't see those numbers in the table.

  1. Sorry for the confusion. The no_function_call is renamed to relevance as of now since we believe it's better representative of what we are testing. Those two should have same content but you should use the "relevance" one.
  2. Thank you for pointing this out. I will perform a manual check on the indices you are mentioning. I will get back to you in this PR.

Two more questions:

  1. I see Gemini pro results have been put to the leaderboard. But I haven't seen the code checked in yet.
  2. For each test example, there is a "human_eval_answer" field. Are they the same as the ones the possible_answer folder?

Thanks!

from gorilla.

vandyxiaowei avatar vandyxiaowei commented on June 3, 2024

Some additional minor data issues:
In the single_function (generic) test cases,
index 337, the cards parameter in poker_game_winner function definition is not complete.
"cards": {"type": "object", "description": "An object containing the player name as key and the cards as values in a list."}

index 297, the question is same as the target
"question": "music.theory.chordProgression(progression=['I', 'V', 'vi', 'IV'])",

In the possible_answers files, some function names have the "_1" suffix. Is this expected?

from gorilla.

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.