You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get error while using the " from transformers import Trainer" as :
RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback):
No module named 'transformers.models.starcoder2'
Current version of transformers is 4.38.2.
Can anyone give ideas on this what has happened exactly on this?
Who can help?
No response
Information
The official example scripts
My own modified scripts
Tasks
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
from transformers import (
AutoModelForCausalLM,
AutoTokenizer,
DataCollatorForLanguageModeling,
Trainer,
TrainingArguments,
)
Expected behavior
Working smoothly
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
I get error while using the " from transformers import Trainer" as :
RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback):
No module named 'transformers.models.starcoder2'
Current version of transformers is 4.38.2.
Can anyone give ideas on this what has happened exactly on this?
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
from transformers import (
AutoModelForCausalLM,
AutoTokenizer,
DataCollatorForLanguageModeling,
Trainer,
TrainingArguments,
)
Expected behavior
Working smoothly
The text was updated successfully, but these errors were encountered: