-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix custom preset display #2562
Conversation
06dd333
to
a034ac0
Compare
a034ac0
to
f84ae07
Compare
@@ -24,12 +24,11 @@ export const WorkParametersDisplay = memo(function WorkParametersDisplay({ | |||
parameters: NonNullable<InferenceMessage["work_parameters"]>; | |||
}) { | |||
const { seed: _, ...rest } = parameters; | |||
const model_id = parameters.model_config.model_id; | |||
const model_id = parameters.model_config.model_id.replace("OpenAssistant/", ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also remove the prefix here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is only for display, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
Tbh I think hiding the preset would make more sense. Since we don't have enough information to show the correct preset. Yannic just make the change to |
makes sense, can we remove the preset and model name entirely? there is only one model anyway... |
@AbdBarho I remove the preset, still keep the model for now. We might need that in future, because the Pythia is coming |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, we can always expand the config json and see all info there, so maybe we could reduce clutter in the chat page by removing the model name at some point.
fix #2544
The problem is the
model_id
inwork_parameters
is not the same as the name inModelInfo
. So I assume all models have the same preset config.