a2ui-project / a2ui-project/a2ui

[FEATURE]: Make the express format perform well with Gemma 2B models

Ouverte
#2,569 1 commentaire 0 réactions 1 personne assignée Réclamée par @jacobsimionato Voir sur GitHub
P2
Langage dominant
TypeScript
Étoiles
16.4k
Forks
1.3k
Merge moyen
2 j 13 h
PR mergées (30 j)
134

Description

https://github.com/a2ui-project/a2ui/pull/2551 proposes a new "Vertical" inference format which is faster and more accurate, especially on Gemma models.

Vertical performs way better than Express. But, potentially we could update the Express system prompt to be more descriptive, or make the compiler more permissive, or change the format in some way to avoid the types of errors that we see.

Steps
- Use the new eval cases added in https://github.com/a2ui-project/a2ui/pull/2551 and evaluate the same Gemma 2B model with Express format
- Brainstorm different changes we could make to the express prompt or parser, and see if they fix the issues. We can just do small runs, e.g. 5-10 data points to verify this at first. Let's prefer simple tweaks e.g. to the prompt first, before making more radical changes the compiler or format itself.
- Prepare a report on the different approaches that are possible, and how effective they are. They could be implemented as "options" on the express format perhaps. At this point, consider doing larger eval runs with 2-5 runs per data point to build confidence that the fixes work well.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.