当前位置: 首页 > news >正文

seo网站推广公司中国建设银行网站查询密码

seo网站推广公司,中国建设银行网站查询密码,网络营销师就业前景,5 还有网站的域使用 OpenCompass 评测 InternLM2-Chat-7B 模型使用 LMDeploy 0.2.0 部署后在 C-Eval 数据集上的性能 步骤1#xff1a;下载internLM2-Chat-7B 模型,并进行挂载 以下命令将internlm2-7b模型挂载到当前目录下#xff1a; ln -s /share/model_repos/internlm2-7b/ ./ 步骤2下载internLM2-Chat-7B 模型,并进行挂载 以下命令将internlm2-7b模型挂载到当前目录下 ln -s /share/model_repos/internlm2-7b/ ./ 步骤2编译安装LMdeploy0.2.0 pip install lmdeploy[all]v0.2.0 步骤3使用LMdeploy 将模型internLM2-Chat-7B  进行转换 lmdeploy convert internlm2-chat-7b /root/model/Shanghai_AI_Laboratory/internlm2-chat-7b 运行日志 (internlm-demo) rootintern-studio:~/deploy# lmdeploy convert internlm2-chat-7b /root/model/Shanghai_AI_Laboratory/internlm2-chat-7b create workspace in directory workspace copy triton model templates from /root/.conda/envs/internlm-demo/lib/python3.10/site-packages/lmdeploy/serve/turbomind/triton_models to workspace/triton_models copy service_docker_up.sh from /root/.conda/envs/internlm-demo/lib/python3.10/site-packages/lmdeploy/serve/turbomind/service_docker_up.sh to workspace model_name internlm2-chat-7b model_format None inferred_model_format internlm2 model_path /root/model/Shanghai_AI_Laboratory/internlm2-chat-7b tokenizer_path /root/model/Shanghai_AI_Laboratory/internlm2-chat-7b/tokenizer.model output_format fp16 01/29 17:36:32 - lmdeploy - WARNING - Can not find tokenizer.json. It may take long time to initialize the tokenizer. *** splitting layers.0.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.0.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.0.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.0.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.0.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.1.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.1.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.1.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.1.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.1.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.2.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.2.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.2.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.2.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.2.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.3.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.3.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.3.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.3.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.3.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.4.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.4.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.4.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.4.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.4.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.5.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.5.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.5.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.5.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.5.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.6.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.6.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.6.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.6.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.6.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.7.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.7.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.7.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.7.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.7.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.8.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.8.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.8.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.8.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.8.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.9.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.9.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.9.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.9.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.9.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.10.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.10.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.10.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.10.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.10.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.11.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.11.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.11.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.11.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.11.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.12.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.12.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.12.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.12.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.12.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.13.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.13.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.13.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.13.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.13.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.14.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.14.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.14.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.14.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.14.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.15.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.15.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.15.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.15.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.15.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.16.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.16.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.16.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.16.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.16.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.17.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.17.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.17.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.17.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.17.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.18.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.18.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.18.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.18.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.18.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.19.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.19.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.19.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.19.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.19.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.20.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.20.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.20.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.20.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.20.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.21.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.21.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.21.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.21.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.21.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.22.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.22.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.22.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.22.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.22.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.23.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.23.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.23.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.23.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.23.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.24.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.24.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.24.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.24.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.24.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.25.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.25.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.25.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.25.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.25.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.26.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.26.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.26.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.26.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.26.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.27.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.27.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.27.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.27.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.27.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.28.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.28.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.28.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.28.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.28.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.29.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.29.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.29.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.29.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.29.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.30.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.30.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.30.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.30.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.30.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 *** splitting layers.31.attention.w_qkv.weight, shapetorch.Size([4096, 6144]), split_dim-1, tp1 *** splitting layers.31.attention.wo.weight, shapetorch.Size([4096, 4096]), split_dim0, tp1 *** splitting layers.31.feed_forward.w1.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.31.feed_forward.w3.weight, shapetorch.Size([4096, 14336]), split_dim-1, tp1 *** splitting layers.31.feed_forward.w2.weight, shapetorch.Size([14336, 4096]), split_dim0, tp1 Convert to turbomind format: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:2700:00, 1.18it/s 步骤4模型结果测评 首先新建config文件其中参数”/root/deploy/workspace/“表示LMdeploy转换后的模型地址。 from mmengine.config import read_base from opencompass.models.turbomind import TurboMindModelwith read_base():# choose a list of datasets from .datasets.ceval.ceval_gen_5f30c7 import ceval_datasets # and output the results in a choosen formatfrom .summarizers.medium import summarizerdatasets sum((v for k, v in locals().items() if k.endswith(_datasets)), [])internlm_meta_template dict(round[dict(roleHUMAN, begin|User|:, end\n),dict(roleBOT, begin|Bot|:, endeoa\n, generateTrue), ],eos_token_id103028)# config for internlm-chat-7b internlm2_chat_7b dict(typeTurboMindModel,abbrinternlm2-chat-7b-turbomind,path/root/deploy/workspace/,engine_configdict(session_len512,max_batch_size2,rope_scaling_factor1.0),gen_configdict(top_k1,top_p0.8,temperature1.0,max_new_tokens100),max_out_len100,max_seq_len512,batch_size2,concurrency1,meta_templateinternlm_meta_template,run_cfgdict(num_gpus1, num_procs1), ) models [internlm2_chat_7b] 在opencompass 目录下运行 python run.py configs/eval_turbomind.py同样可以添加--debug ,输出日志信息。 python run.py configs/eval_turbomind.py --debug 过程日志如下
http://www.pierceye.com/news/262032/

相关文章:

  • wordpress建立网站wordpress 媒体文件夹
  • 响应式网站 框架天津市建设行业联合会网站
  • mc做图的网站深圳注册公司推荐
  • 广告公司怎么设置网站关键字网片的重量计算公式
  • 外贸网站都有哪些wordpress侧边栏选项卡
  • 北京网站建设 降龙网asp.net建网站
  • 中小网站建设新手自己做网站
  • 建网站手机如何建设网站并与数据库相连
  • 网站建设公司的客户个人网站做哪些内容
  • 外贸公司网站推广怎么让公司建设网站
  • 网站开发语长沙网站建设商城
  • 手机刷网站排名软件建设银行网站怎么登录密码忘了怎么办
  • 利用海康威视做直播网站鞍山网站建设找金航
  • 做网站大概花多少钱商圈云分销软件下载
  • 万户网站制作网站跳转怎么做
  • 网站开发全程设计做网站推广的公司发展前景
  • 电商设计网站培训建设网站域名
  • 石家庄免费专业做网站网站建设投标书服务方案范本
  • 怀孕单子图片在线制作北京seo服务行者
  • 网站备案 子域名云南商城网站建设
  • 上传到服务器的网站打开是空白网站报备流程
  • 如何用ps做网站标识一个叫mit做app的网站
  • 网站免费网站免费主流网站模板
  • 湖州市交通建设管理局网站牌具做网站可以吗
  • 湖南鸿泰电力建设有限公司网站西安做小程序的公司
  • 学校资源网站建设方案聊城网站建设
  • windows 做网站服务器python做的网站漏洞
  • 培训网站推荐网站内容该怎么做
  • 精通网站建设电子档朵朵软件网站建设
  • 铜山区规划建设局网站网站开发的甘特图