Repository navigation
docs(fine_tuning): compare gliclass-v4-edge and laya-multilingual - #38
Merged
Merged
Conversation
Explain why few-shot gave every parser row the same label (the instruct model does it zero-shot too, and the favored label follows label order), record that the segment-tag fix matches how the instruct model was trained, and add two newer decision models to "Try another model": zero-shot, few-shot and fine-tuned on the same rows, and what happened when SIE Local v0.11.1 served each one's fine-tuned weights. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
Self-ReviewDiff is one README file, 44 lines, so I reviewed it inline without agents and ran the security pass myself. Every number was checked against the run outputs. Important (3)
Suggestions (2)
Strengths
Generated using wayfare. |
- Scope the recipe row's SIE cell to zero-shot and fine-tuned - Say only the fine-tuned v4-edge weights were served through SIE - Tell readers to set few_shot.model too for v4-edge's few-shot number - Correct the v4-edge scoring range and the Laya config keys swapped Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
Self-Review: ImprovementsImportant (3 / 3 fixed):
Suggestions (2 / 2 fixed):
Commits: 5f47a9b Generated using wayfare. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
README-only change to
fine_tuning/fine_tune_a_decision_model:argmaxfix is right.Results (15 November 2026, Apple M-series laptop)
gliclass-edge-v3.0(recipe)gliclass-v4-edgelaya-multilingual* few-shot uses
gliclass-instruct-edge-v1.0.SIE v0.11.1 has two problems with v4-edge:
extra_special_tokensas a list, and the image's transformers 4.57.6 expects a dict.Both are reported to the SIE team with the evidence.
Tested
I ran every number myself. v4-edge used
recipe.py's ownfine_tune()anddecide()withmodel:swapped and the samerules.yamlsettings. Laya usedlaya.train.finetune()(laya 0.4.33) with the same rows, epochs, batch size and seed. Both fine-tuned models were served from SIE Localv0.11.1-cpu-defaultwith their own weights mounted, and compared row by row with the local run.check_tree.pyand pre-commit pass.🤖 Generated with Claude Code