GithubHelp home page GithubHelp logo

[Question]: 对于paddlenlp模型库中不存在的大模型,但pytorch中已有实现,如何快速搭建模型? about paddlenlp HOT 3 OPEN

zhaogf01 avatar zhaogf01 commented on May 31, 2024
[Question]: 对于paddlenlp模型库中不存在的大模型,但pytorch中已有实现,如何快速搭建模型?

from paddlenlp.

Comments (3)

ZHUI avatar ZHUI commented on May 31, 2024

https://paddlenlp.readthedocs.io/zh/latest/llm/torch2paddle.html 试试这个教程

from paddlenlp.

zhaogf01 avatar zhaogf01 commented on May 31, 2024

https://paddlenlp.readthedocs.io/zh/latest/llm/torch2paddle.html 试试这个教程
image

会有这样的报错,请问您知道怎么回事吗?
而且我看这个链接下有一个支持的模型列表,我所需要转换的模型不在这个列表中,也可以使用这个脚本吗?

from paddlenlp.

zhaogf01 avatar zhaogf01 commented on May 31, 2024

还想请问一个问题,如何将pytorch中使用的.bin格式的权重转换为paddle中.safetensors格式的权重?
此外,sentencepiece.bpe.model应该如何转换的,或者如化生成的,这个文件的作用是什么?

from paddlenlp.

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.