Comments (3)
Hi @MayankAgarwal ,
Thanks for the feedback. We went over the index you provided. Most of them are already fixed in the April 1 release. There are a few that are still incorrect. We have addressed those in #309.
from gorilla.
Hi Mayank,
Thank you very much for putting up such a detailed issue report. We really appreciate your effort.
This is indeed an oversight on our end. The human_eval_answer
is outdated and we are not using it in the evaluation process at all. (Apologies, we should mention this clearly). We only use the possible_answer
as the ground truth. Thus, some human_eval_answer
are wrong and misaligned with possible_answer
, very sorry about the confusion caused. We have removed the human_eval_answer in our April 1 release.
from gorilla.
Hi @HuanzhiMao, thank you for your reply. I realized with yesterday's PR that the human_eval_answer
fields were removed :)
Please note that some of the problems highlighted by the previous procedure still hold. For example, please refer to the simple function dataset index 25. The API specification mentions only the height
parameter as required, while the possible_answer
file marks the initial_velocity
as required as well. Therefore, if the model follows the API specification and does not generate the initial_velocity
parameter, it would still be incorrectly marked as failed. I checked and this is still the case with the latest version of the dataset.
{
"question": "Calculate the final velocity of an object falling from a 150 meter building, assuming initial velocity is zero.",
"function": [
{
"name": "calculate_final_velocity",
"description": "Calculate the final velocity of a free falling object given the height it's dropped from, the initial velocity and acceleration due to gravity. Ignore air resistance.",
"parameters": {
"type": "object",
"properties": {
"height": {
"type": "number",
"description": "The height the object is dropped from, in meters."
},
"initial_velocity": {
"type": "number",
"description": "The initial velocity of the object in m/s. Default is zero."
},
"gravity": {
"type": "number",
"description": "Acceleration due to gravity. Default value is approximately 9.81 m/s^2, earth's gravity."
}
},
"required": [
"height"
]
}
}
],
"ground_truth": "calculate_final_velocity(height=150)",
"result": "calculate_final_velocity(height=150)",
"index": 25,
"failure_categorization": [
"MISSING_REQUIRED_PARAM"
],
"potential_answer": {
"calculate_final_velocity": {
"height": [
150
],
"initial_velocity": [
0
],
"gravity": [
9.81,
""
]
}
}
}
What I would like to do is to go through the indices mentioned in the original bug report, identify which problems still hold with the latest release, and reopen this bug with the updated indices, but please let me what would you prefer.
from gorilla.
Related Issues (20)
- RAFT raft.py CLI arguments naming broke `--embedding-model` and `--completion-model` in PR #410 HOT 1
- Java/Javascript split questions HOT 2
- How to evaluate android function call[feature] HOT 1
- [bug] LlamaHandler format HOT 4
- Leaderboard data bug + suggested fix HOT 1
- [bug] Hosted Gorilla: Expired HTTPS certificate HOT 2
- how to test new model on BFCL? HOT 2
- [bug] openfunctions-v2 default chat template
- [feature] Add multi-turn conversational function calling category for benchmarking HOT 2
- the evaluation of class relevance in BFCL maybe unfair HOT 1
- What format was used for the final fine-tuning of LLaMA2-7B in RAFT? HOT 1
- [bug] Hosted Gorilla: <Issue> HOT 6
- The Urban Dictionary from the RapidAPI is not serving, can't evaluate execution data
- auto fill missed mandatory param is a nightmare HOT 3
- [bug] Hosted Gorilla: <Issue> HOT 2
- [bug] Hosted Gorilla: <Issue> HOT 1
- [bug] Hosted Gorilla: <Issue> HOT 2
- Rapid API error (Yahoo Finance, https://rapidapi.com/sparior/api/yahoo-finance15) is inaccessible HOT 6
- Local CUDA Support for RAFT
- Revamp Landing README HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gorilla.