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
Describe the bug
When running the train_model function from the ConvAIModel class, a TypeError is raised in the load_and_cache_examples method of the ConvAIModel class. Specifically, the get_dataset function in the conv_ai_utils.py module is calling the cached_path function with an unexpected keyword argument 'proxies'.
To Reproduce
Steps to reproduce the behavior:
Run the script train.py with the ConvAIModel class.
Provide a dataset file as an argument to the train_model function.
Expected behavior
The load_and_cache_examples method should successfully load and cache the examples from the dataset file without raising a TypeError.
Screenshots
N/A
Desktop (please complete the following information):
OS: Windows 11
Python Versions tried: 3.8 and 3.11.4
cached-path version: 1.3.4
simpletransformers version: 0.63.11
Additional context
This issue occurs in the following file and line numbers:
Additionally, the error originates from the following file and line numbers:
File: conv_ai_utils.py
Line: 72
Function: get_dataset
The issue seems to be related to the cached_path function in the transformers package, which is called with an unexpected keyword argument 'proxies'.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the train_model function from the ConvAIModel class, a TypeError is raised in the load_and_cache_examples method of the ConvAIModel class. Specifically, the get_dataset function in the conv_ai_utils.py module is calling the cached_path function with an unexpected keyword argument 'proxies'.
To Reproduce
Steps to reproduce the behavior:
Run the script train.py with the ConvAIModel class.
Provide a dataset file as an argument to the train_model function.
Expected behavior
The load_and_cache_examples method should successfully load and cache the examples from the dataset file without raising a TypeError.
Screenshots
N/A
Desktop (please complete the following information):
OS: Windows 11
Python Versions tried: 3.8 and 3.11.4
cached-path version: 1.3.4
simpletransformers version: 0.63.11
Additional context
This issue occurs in the following file and line numbers:
File: conv_ai_model.py
Line: 261
Method: train_model
Additionally, the error originates from the following file and line numbers:
File: conv_ai_utils.py
Line: 72
Function: get_dataset
The issue seems to be related to the cached_path function in the transformers package, which is called with an unexpected keyword argument 'proxies'.
The text was updated successfully, but these errors were encountered: