GithubHelp home page GithubHelp logo

inference cspider in 3b t5 about resdsql HOT 4 CLOSED

EnHuiPug avatar EnHuiPug commented on July 23, 2024
inference cspider in 3b t5

from resdsql.

Comments (4)

lihaoyang-ruc avatar lihaoyang-ruc commented on July 23, 2024 1

OSError: Error no file named pytorch_model.bin found in directory ./models/text2natsql-mt5-xl-cspider/checkpoint-167433 but there is a file for Flax weights. Use from_flax=True to load this model from those weights.
貌似是因为transformers==4.17.0不支持分片的模型(https://discuss.huggingface.co/t/flan-t5-xl-model-does-not-appear-to-have-a-file-named-pytorch-model-bin/30395)

感谢你的指正,我将在最新版本中修复这个问题。

已在requirements.txt中将transformers的版本指定为4.28.1,该版本支持加载分片模型。

from resdsql.

EnHuiPug avatar EnHuiPug commented on July 23, 2024

然后请问一个问题,这里的 cspider 和百度的这个 cspider(https://aistudio.baidu.com/aistudio/competition/detail/47/0/leaderboard) 是什么区别?
谢谢

from resdsql.

lihaoyang-ruc avatar lihaoyang-ruc commented on July 23, 2024

OSError: Error no file named pytorch_model.bin found in directory ./models/text2natsql-mt5-xl-cspider/checkpoint-167433 but there is a file for Flax weights. Use from_flax=True to load this model from those weights.

貌似是因为transformers==4.17.0不支持分片的模型(https://discuss.huggingface.co/t/flan-t5-xl-model-does-not-appear-to-have-a-file-named-pytorch-model-bin/30395)

感谢你的指正,我将在最新版本中修复这个问题。

from resdsql.

lihaoyang-ruc avatar lihaoyang-ruc commented on July 23, 2024

然后请问一个问题,这里的 cspider 和百度的这个 cspider(https://aistudio.baidu.com/aistudio/competition/detail/47/0/leaderboard) 是什么区别? 谢谢

这个我也不太清楚,我没有关注过百度这个比赛。本项目使用的cspider是从它官方网站下载的https://taolusi.github.io/CSpider-explorer ,从链接上看,他们似乎是同一个?

from resdsql.

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.