facebookresearch / TaBERT

This repository contains source code for the TaBERT model, a pre-trained language model for learning joint representations of natural language utterances and (semi-)structured tables for semantic parsing. TaBERT is pre-trained on a massive corpus of 26M Web tables and their associated natural language context, and could be used as a drop-in replacement of a semantic parsers original encoder to compute representations for utterances and table schemas (columns).
Other
580 stars 63 forks source link

__init__() got an unexpected keyword argument 'layer_norm_eps' #20

Open guoyi118 opened 3 years ago

guoyi118 commented 3 years ago

File "test.py", line 1, in from table_bert import TableBertModel File "/home/sdq/guoyi/TaBERT/table_bert/init.py", line 8, in from table_bert.config import TableBertConfig File "/home/sdq/guoyi/TaBERT/table_bert/config.py", line 34, in type_vocab_size=2, TypeError: init() got an unexpected keyword argument 'layer_norm_eps'

Does anyone know how to fix it? Thanks

thanit456 commented 3 years ago

I stuck the same problem.

Yasas4D commented 2 years ago

I got the same issue. Later, I install it in google colab and able to run it successfully. You can watch my video and it will guide you to install TaBERT in Colab https://www.youtube.com/watch?v=3ZhpB5AAMHg

starmpcc commented 2 years ago

In my case, the problem was happend when executing setup_env.sh Check the version compatibility of Cuda, Cudnn, torch, cudatoolkit on your computer.