TextAttack icon indicating copy to clipboard operation
TextAttack copied to clipboard

ImportError: cannot import name'HuggingFaceDataset' from'textattack.datasets

Open zhy605420954 opened this issue 1 year ago • 0 comments

Describe the bug Hello, when using the latest version of textattack, when I trying to "from textattack.models.wrappers import TensorFlowModelWrapper" or "from textattack import Attack" will appear. How to solve this small problem?

Screenshots or Traceback image

System Information :

  • OS:Windows
  • Library versions (tensorflow_gpu==2.5.0, python==3.7.0,)
  • textattack==0.3.8

zhy605420954 avatar Mar 22 '23 01:03 zhy605420954