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
in scripts/finetune_qa_models.py the variable "dataset" is defined on line 715 and then again on 718:
dataset: List[Any] = []
data: List
dataset: str
It's used as a string until the end of the function, then append() is called on it, causing the error "str object has no attribute append". I've solved the issue by updating the first variable to be named "dataset_list" and append to that, returning it at the end of the function.
The text was updated successfully, but these errors were encountered:
in scripts/finetune_qa_models.py the variable "dataset" is defined on line 715 and then again on 718:
It's used as a string until the end of the function, then append() is called on it, causing the error "str object has no attribute append". I've solved the issue by updating the first variable to be named "dataset_list" and append to that, returning it at the end of the function.
The text was updated successfully, but these errors were encountered: