Code Monkey home page Code Monkey logo

Comments (8)

sauceplus avatar sauceplus commented on July 22, 2024 1

十分感谢老师在这几天内对我莫大的帮助,我将继续学习您的模型,期待能参与更深层次的讨论。祝您工作和生活愉快,如果有机会见到您会主动向您当面致谢!期待您的新进展

from docee.

sauceplus avatar sauceplus commented on July 22, 2024

}_$T7TU8X89MDP576U2WCT5
我在这里修改了路径

from docee.

Spico197 avatar Spico197 commented on July 22, 2024

嗨,您好。事实上这里导入的并不是bert模型的权重,而是bert的词表(这个文件),从而进行tokenization。从预测的结果来看,像是没有正确导入模型权重造成的,与bert无关。请更正后再检查模型权重的导入部分。

from docee.

sauceplus avatar sauceplus commented on July 22, 2024

您好老师,谢谢回复!您说的“请更正后再检查模型权重的导入部分”这个模型是bert还是PTPCG呢?因为我检查了很久bert没有什么问题(如图)。PTPCG的权重我按要求使用了task_setting.json中的参数,要避免上述情况是需要进行什么样的调参呢?
CR1VMJ)07LG4 R)MFFYO0HG

from docee.

Spico197 avatar Spico197 commented on July 22, 2024

是指PTPCG模型的参数导入。需要更改task_setting中的bert_model。请再检查下PTPCG的模型有没有正确导入参数。

from docee.

sauceplus avatar sauceplus commented on July 22, 2024

您好,我这样模仿您之前的任务进行配置的,有什么问题或者是遗漏吗?
YF66NVWY}E2 YXK1K$54V1](https://user-images.githubusercontent.com/57305819/159151076-b946d549-3f2f-4722-aa97-05ac7230fbb8.png) ![2B Q __679 N1SZ)RZH~)7
``Y@CDGZSM`NKCZ4I_ $QZE

from docee.

sauceplus avatar sauceplus commented on July 22, 2024

YF66NVWY}E2 YXK1K$54V`1

from docee.

Spico197 avatar Spico197 commented on July 22, 2024

是检查 PTPCG 的模型导入,不是 bert 的导入。
我已经提供了推理接口的调用方法,请检查 FAQ 的 Q4 和 inference.py

from docee.

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.