Giter VIP home page Giter VIP logo

Comments (4)

yule-BUAA avatar yule-BUAA commented on September 28, 2024

请问你在合并WizardLM和WizardMath使用的具体命令是什么呢?能否提供更详细的内容?

可以通过尝试运行最简单的average merging看下效果,我运行下面的命令合并WizardLM和WizardMath是没有问题的:
python merge_llms_instruct_math_code.py --merge_instruct --merge_math --merging_method_name average_merging --tensor_parallel_size 1
合并后的模型在AlpacaEval 指标为67.04,在GSM8K和MATH上的指标分别为66.34和13.40。

from mergelm.

anon6662 avatar anon6662 commented on September 28, 2024

感谢回复!我使用的是average merging,命令和你的一样。我检查了下代码和环境应该都没有问题,只是把merge_llms_instruct_math_code.py文件中的模型改成了我自己的路径。我现在怀疑我们所用的模型版本不太一样,我用的模型链接如下:
wizard_math: https://huggingface.co/WizardLM/WizardMath-13B-V1.0
wizard_lm: https://huggingface.co/WizardLM/WizardLM-13B-V1.1
llama13b: https://huggingface.co/meta-llama/Llama-2-13b-hf
其中wizard模型的嵌入层维度为32001,llama13b为32000。我观察代码对llama13b做了一个扩充处理。您看我的模型是否正确呢。
我又仔细看了下,WizardLM版本不一样,我换个版本再做实验试试

from mergelm.

yule-BUAA avatar yule-BUAA commented on September 28, 2024

好的,换成WizardLM-13B-V1.2应该就没有问题了。
因为WizardLM-13B-V1.1的基模型为Llama 13B,而WizardLM-13B-V1.2的基模型为Llama 2 13B。后者与WizardMath-13B-V1.0使用的基模型一致。

from mergelm.

anon6662 avatar anon6662 commented on September 28, 2024

感谢!

from mergelm.

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.