Git Product home page Git Product logo

Comments (13)

guotong1988 avatar guotong1988 commented on May 18, 2024

I have uploaded some code. Please update and try again.

from nl2sql-rule.

Sourish97 avatar Sourish97 commented on May 18, 2024

Same error again with the python command you provided

from nl2sql-rule.

guotong1988 avatar guotong1988 commented on May 18, 2024

I have uploaded the config file.

from nl2sql-rule.

guotong1988 avatar guotong1988 commented on May 18, 2024

You should find why bert_config.print_status() fails.

from nl2sql-rule.

TobiasBrx avatar TobiasBrx commented on May 18, 2024

I have the same error

from nl2sql-rule.

musamaalvi avatar musamaalvi commented on May 18, 2024

I have the same error

Did you find the solution ?

from nl2sql-rule.

siddharthrawal121 avatar siddharthrawal121 commented on May 18, 2024

@Sourish97 @TobiasBrx @musamaalvi Did u guys find anything?

from nl2sql-rule.

guotong1988 avatar guotong1988 commented on May 18, 2024

I will take a look

from nl2sql-rule.

musamaalvi avatar musamaalvi commented on May 18, 2024

@siddharthrawal121 yes,

what I did is simply I stopped importing BertConfig. Comment the below line in your code

from bert.modeling import BertConfig, BertModel

After this copy all the code from bert.modeling file and paste it into train.py. This resolved the issue for me.

from nl2sql-rule.

siddharthrawal121 avatar siddharthrawal121 commented on May 18, 2024

Hi @musamaalvi. I tried it didnt work and when I checked the code there is no method or class in bert.config for print_status. Maybe they removed print_status in later version. Which bert version are you using?

from nl2sql-rule.

siddharthrawal121 avatar siddharthrawal121 commented on May 18, 2024

@musamaalvi Nvm , fixed the issue by using the the modelling.py in bert folder of NL2SQL-RULE

from nl2sql-rule.

guotong1988 avatar guotong1988 commented on May 18, 2024

it seems export PYTHONPATH=/your/project/root/
I guess.

from nl2sql-rule.

siddharthrawal121 avatar siddharthrawal121 commented on May 18, 2024

yes @guotong1988. I solved it

from nl2sql-rule.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.