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

TaBERT wit MAPO #22

Open soumikgith opened 3 years ago

soumikgith commented 3 years ago

Hi

I have run successfully BERT with MAPO. Everything is running fine. This is the command I used : python experiments.py train --seed 0 --cuda --work-dir=runs/demo_run --config=data/config/config.vanilla_bert.json --extra-config='{"actor_use_table_bert_proxy": true}'. This is the MAPO code https://github.com/pcyin/pytorch_neural_symbolic_machines.

Now I am trying to reproduce TaBERT with MAPO. But when I do this the code is not running. The Learner exits and that is where it ends. Same command as BERT. For running TaBERT with MAPO I have downloaded the model from 'https://drive.google.com/uc?id=17NTNIqxqYexAzaH_TgEfK42-KmjIRC-g'. Then I just have changed the config file 'table_bert_model_or_config' param with TaBERT model path. I am trying to reproduce Table 1 in https://www.aclweb.org/anthology/2020.acl-main.745.pdf : w/ TABERTLarge (K = 3) 52.2 ±0.7 , 53.0 , 51.8 ±0.6 , 52.3 .

Can you please let me know where I am doing error?

Thanks.

soumikgith commented 3 years ago

@sagnik

Wyb0627 commented 2 years ago

Hi Soumik,

I'm having the same problem, did you find any solution to it?

Thank you and have a great day!

soumikgith commented 2 years ago

I did not find solution. I left. Sorry!


From: Yubo Wang @.> Sent: Wednesday, October 6, 2021 11:53:13 PM To: facebookresearch/TaBERT @.> Cc: Mandal, Soumik K. @.>; Author @.> Subject: Re: [facebookresearch/TaBERT] TaBERT wit MAPO (#22)

Hi Soumik,

I'm having the same problem, did you find any solution to it?

Thank you and have a great day!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/facebookresearch/TaBERT/issues/22*issuecomment-937421531__;Iw!!KGKeukY!gypKAp8-XPJoCdmrEZdB7Fyga6uq3W1EZPJQUwZXWhvA0bOff2ClsIptEVFydnwJ8VZGMQAAVC4$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/APWJEYLYWGYWOWEBDNMS5VDUFUKSTANCNFSM4WPHOABA__;!!KGKeukY!gypKAp8-XPJoCdmrEZdB7Fyga6uq3W1EZPJQUwZXWhvA0bOff2ClsIptEVFydnwJ8VZGU7LgdMI$. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!KGKeukY!gypKAp8-XPJoCdmrEZdB7Fyga6uq3W1EZPJQUwZXWhvA0bOff2ClsIptEVFydnwJ8VZGVlsrAF8$ or Androidhttps://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!KGKeukY!gypKAp8-XPJoCdmrEZdB7Fyga6uq3W1EZPJQUwZXWhvA0bOff2ClsIptEVFydnwJ8VZGkEoeNPk$.