Support Granite Speech NAR (NLE) #46031
support granite speech nar model
7c816f90
attempt to use modular - inherit from the Granite base LLM - changing…
bb5b6482
minor
a46f94d2
minor
925bfdb8
minor
daf4f931
add docs, rename components, skip submodule tests
65729c2f
fix check_config_docstrings_have_checkpoints
fa81168e
add dates
f72b3335
save processor imports
151c7090
avoid a crash without torch available
d5d851c3
fix unguarded torch usage in typing
0c29229b
avihu111
changed the title support granite speech nar model Support Granite Speech NAR (NLE) 29 days ago
minor
e5921811
avihu111
marked this pull request as ready for review 29 days ago
clean up variable names, avoid spliting the language_model/lm_head fo…
480801cc
change encoder bpe prediction head to match the editor. (original voc…
2a95b12a
Merge branch 'main' of https://github.com/avihu111/transformers into …
43e739a9
add integration tests for granite speech nar
16efa340
ruff newline
4707df0d
minor fixes after pulling main
18abe6e9
minor
8da331d8
eustlb
commented
on 2026-05-26
- renames (GraniteSpeechNarForCTC, generate)
e0a51e5d
shared helper methods for ctc loss and ctc decoding, shared between t…
3fc93c21
move the encoding code to GraniteSpeechNarModel, keep just the lm_hea…
97e7c1bb
add logits scaling (as used in granite lm_head)
367e0ee0
add multi-step editing support. (without recomputing audio_embeds)
3db6757c
minor
17bc4b6d
- resolve a depracation warning
77eb5434
eustlb
commented
on 2026-06-03
Update src/transformers/models/granite_speech_nar/modular_granite_spe…
36f27454
Update src/transformers/models/granite_speech_nar/modular_granite_spe…
70c06b58
simplify: encoder always has bpe head
3ffc7798
use @capture_outputs for encoder hidden states
0d6af418
Update src/transformers/models/granite_speech_nar/modular_granite_spe…
67b3303e
Update src/transformers/models/granite_speech_nar/modular_granite_spe…
7d034571
Update src/transformers/models/granite_speech_nar/modular_granite_spe…
fd8fa8af
simplify setting is_causal=False
212668f2
use more standard tests
c1223d46
minor fixes after refactoring the tests
032cc088
minor
dc7901b8
resolve some issues in the tests:
28fed5e3
stack logits to pass test_determinism
77473e55
make labels test consistent
8d089f5d
Login to write a write a comment.
Login via GitHub