You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the suggested flow. Let's discuss in a meeting to see it makes sense and modify as needed:
Evaluation command [ilab model evaluate new_data] will have the following parameters:
1 - csv_path for user data
A csv file with two required column ('instruction','input') and two optional columns ('answer','context')
'context' column is for the RAG task only
'answer' is the golden truth, if available
'instruction' explain the task ("Summarize this text", "Complete this sentence", "Classify this input to one of the following: ... ")
2 - task_type out of the following options:
Classification
Question Answering [Let's discuss if we want to explicitly offer QA multichoice and simple QA as two separate options]
Summarization
Generation
RAG
Other [Let's discuss if this can actually be removed as it will get the same treatment as QA behind the scenes]
3 - use_llmaaj (False by default)
False - default standard metric for the task
for some tasks the default is llmaaj to begin with: QA, Generation, Other
llmaaj will be used if golden answers are not available
True - Uses judge (with templates pre defined for the task type)
4 - num_shots (0 by default)
Do we want to allow the user select num shots?
Do we want to drop this option, run a few configurations (0, 2, 5 shots) and inform the user which is the best setting?
Following the command, unitxt will run the provided data with the task of choice, and replace the metric if llmaaj is selected.
The data will be run in multiple configurations (fitted into different templates that match the task).
Results will include a recommendation for the best template of those used.
The text was updated successfully, but these errors were encountered:
@alimaredia Following yesterday's meeting, could you please share the evaluation notebook you prepared? This will help us understand the plan better and identify what contribution can be offered with unitxt
@danmcp@alimaredia regarding the linked PR - I have addressed all issues, except the parameterization of the unitxt recipe, which I believe is no longer relevant to our current discussion. Perhaps it is better to close it and open a new one once we've defined the features it will contain?
@danmcp@alimaredia regarding the linked PR - I have addressed all issues, except the parameterization of the unitxt recipe, which I believe is no longer relevant to our current discussion. Perhaps it is better to close it and open a new one once we've defined the features it will contain?
I don't have a strong preference whether we close it of leaving it hanging out for a bit. Agree if we do settle in on a different design it should be a new PR.
Here is the suggested flow. Let's discuss in a meeting to see it makes sense and modify as needed:
Evaluation command
[ilab model evaluate new_data
] will have the following parameters:1 -
csv_path
for user data2 -
task_type
out of the following options:3 -
use_llmaaj
(False by default)4 -
num_shots
(0 by default)Following the command, unitxt will run the provided data with the task of choice, and replace the metric if llmaaj is selected.
The data will be run in multiple configurations (fitted into different templates that match the task).
Results will include a recommendation for the best template of those used.
The text was updated successfully, but these errors were encountered: