CausalAIBook / MetricsMLNotebooks

Notebooks for Applied Causal Inference Powered by ML and AI
MIT License
74 stars 37 forks source link

Error Notebook DoubleML and Feature Engineering with BERT #23

Open federicocencosud opened 1 month ago

federicocencosud commented 1 month ago

The notebook is not running. First error is related with tensorflow_addons once this is solved second error is related with: AttributeError: module 'tensorflow.keras.layers' has no attribute 'AbstractRNNCell'

I have modified the code with the following version and now is running:

`%%capture

Install Huggingface Transformers toolkit

!pip install transformers==4.37.2 # Last version of transformers before keras 3 !pip install shap !pip install tensorflow==2.13.0 !pip install tensorflow-addons==0.17.1 !pip install livelossplot !pip install sqldf`