aitextgen icon indicating copy to clipboard operation
aitextgen copied to clipboard

Small update needed in one Colab notebook

Open ownchoice opened this issue 5 years ago • 3 comments

One Colab notebook was updated to specify the pytorch-lightning version but the other one wasn't, so it doesn't work without it.

!pip3 install pytorch-lightning==0.7.6 !pip3 install transformers==2.9.1 !pip3 install fire==0.3.0

Related to #39 and #41

ownchoice avatar Aug 21 '20 15:08 ownchoice

This one not working https://colab.research.google.com/drive/15qBZx5y9rdaQSyWpsreMDnTiZ5IlN0zD?usp=sharing

I am also facing an error

TypeError: init() got an unexpected keyword argument 'show_progress_bar'

Solution required at urgent basis. Thanks a

NomanSaleem4 avatar Aug 21 '20 16:08 NomanSaleem4

@NomanSaleem4 did you try adding what I suggested?

!pip3 install pytorch-lightning==0.7.6
!pip3 install transformers==2.9.1
!pip3 install fire==0.3.0

I fixed it by doing that.

ownchoice avatar Aug 21 '20 18:08 ownchoice

it worked https://github.com/minimaxir/aitextgen/issues/58

NomanSaleem4 avatar Aug 21 '20 18:08 NomanSaleem4