Generate: starcoder 🤜 🤛 assisted generation (#23182)
* starcoder has joined the chat * indexing that works for all
This commit is contained in:
@@ -1473,7 +1473,7 @@ class GenerationTesterMixin:
|
||||
# may fix in the future: the following models fail with assisted decoding, and need model-specific fixes
|
||||
if any(
|
||||
model_name in model_class.__name__.lower()
|
||||
for model_name in ["bigbirdpegasus", "gptbigcode", "led", "mega", "speech2text", "git", "prophetnet"]
|
||||
for model_name in ["bigbirdpegasus", "led", "mega", "speech2text", "git", "prophetnet"]
|
||||
):
|
||||
return
|
||||
|
||||
@@ -1529,7 +1529,7 @@ class GenerationTesterMixin:
|
||||
# may fix in the future: the following models fail with assisted decoding, and need model-specific fixes
|
||||
if any(
|
||||
model_name in model_class.__name__.lower()
|
||||
for model_name in ["bigbirdpegasus", "gptbigcode", "led", "mega", "speech2text", "git", "prophetnet"]
|
||||
for model_name in ["bigbirdpegasus", "led", "mega", "speech2text", "git", "prophetnet"]
|
||||
):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user