LLaMA3模型学习资料.zip
资源来源:本地上传资源
文件类型:ZIP
大小:1.49MB
评分:
5.0
上传者:weixin_38252409
更新日期:2024-07-25

大语言模型+llama3+代码+学习可运行llama3代码

资源文件列表(大概)

文件名
大小
Chinese-LLaMA-Alpaca-3-main/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/ISSUE_TEMPLATE/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_EN.yml
3.34KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_ZH.yml
3.06KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/ISSUE_TEMPLATE/config.yml
27B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/workflows/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.github/workflows/stale.yml
1.19KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.gitignore
22B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/.gitignore
184B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/Chinese-LLaMA-Alpaca-3-main.iml
568B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/deployment.xml
1.29KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/inspectionProfiles/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/inspectionProfiles/Project_Default.xml
1.16KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/inspectionProfiles/profiles_settings.xml
174B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/misc.xml
271B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/modules.xml
313B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.idea/workspace.xml
6.51KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.vscode/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/.vscode/launch.json
3.32KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/LICENSE
11.09KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/README.md
29.53KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/README_EN.md
32.85KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/data/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/data/README.md
1.11KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/data/ruozhiba_qa2449_gpt4o.json
1.55MB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/data/ruozhiba_qa2449_gpt4t.json
1.64MB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/examples/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/examples/README.md
214B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/examples/gpt-4-turbo-rating.md
10.18KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/examples/llama3-vs-mixtral.md
23.61KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/pics/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/pics/banner.png
241.36KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/requirements.txt
80B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ceval/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ceval/eval.py
4.61KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ceval/llama_evaluator.py
9.65KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ceval/subject_mapping.json
5.17KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/cmmlu/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/cmmlu/categories.py
5.94KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/cmmlu/eval.py
5KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/cmmlu/llama_evaluator.py
7.1KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/inference/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/inference/inference_hf.py
9.56KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/llama_cpp/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/llama_cpp/chat.sh
759B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/config/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/config/dataset2maxlen.json
459B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/config/dataset2prompt.json
5.31KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/eval.py
3.77KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/metrics.py
5.5KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/longbench/pred.py
8.08KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/merge_llama3_with_chinese_lora_low_mem.py
16.25KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/mmlu/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/mmlu/categories.py
2.5KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/mmlu/eval.py
5.92KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/oai_api_demo/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/oai_api_demo/README.md
178B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/oai_api_demo/openai_api_protocol.py
2.56KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/oai_api_demo/openai_api_server.py
13.3KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ollama/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ollama/Modelfile
536B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/ollama/README.md
250B
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/
-
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/build_dataset.py
3.32KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/run_clm_pt_with_peft.py
28.6KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/run_clm_pt_with_peft_ori.py
28.6KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/run_clm_sft_with_peft.py
17.98KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/run_pt.sh
1.89KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/run_pt_ori.sh
1.84KB
Chinese-LLaMA-Alpaca-3-main/Chinese-LLaMA-Alpaca-3-main/scripts/training/run_sft.sh
2KB
Chinese-LLaMA-Alpaca-3-main/权重下载.txt
176B

资源内容介绍

本项目基于Meta最新发布的新一代开源大模型Llama-3开发,是Chinese-LLaMA-Alpaca开源大模型相关系列项目(一期、二期)的第三期。本项目开源了中文Llama-3基座模型和中文Llama-3-Instruct指令精调大模型。这些模型在原版Llama-3的基础上使用了大规模中文数据进行增量预训练,并且使用精选指令数据进行精调,进一步提升了中文基础语义和指令理解能力,相比二代相关模型获得了显著性能提升。 我已将如何训练+推理以及vscode配置等内容放入文件夹,你可直接下载按照要求执行,以便进一步解读与学习。当然,我也会在博客解读代码细节,以此帮助大家对大语言模型理解。

用户评论 (0)

相关资源

newsgroups数据集下载,机器学习必用

20newsgroups数据集下载,机器学习必用,不需要连外网使用。下载数据集后需要修改代码才能使用。使用方法:找到D:\software-1\anaconda\Lib\site-packages\sklearn\datasets\_twenty_newsgroups.py下的_twenty_newsgroups.py文件,找到函数_download_20newsgroups,注释#logger.info("Downloading dataset from %s (14 MB)", ARCHIVE.url)和 # archive_path = _fetch_remote(ARCHIVE, dirname=target_dir),新增archive_path = os.path.join(target_dir, r'20news-bydate.tar.gz')

21.63MB16金币

UCI机器学习公开数据集

UCI常用的机器学习公开数据集,均为.mat格式,matlab可直接导入,用于分类和回归

16.19MB22金币

徒步优化算法(HOA)matlab代码

徒步优化算法(Hiking Optimization Algorithm,HOA)是一种受徒步旅行经历启发的元启发式优化算法。徒步旅行者试图登顶山峰、丘陵或岩石的过程中,徒步者有意或无意地考虑到地形的陡峭程度,这是一种流行的娱乐活动,它认识到优化问题的搜索景观与徒步旅行者所穿越的山区地形之间的相似性。HOA的数学模型以Tobler徒步函数为前提,该函数通过考虑地形的高程和行走距离来确定徒步者(即agent)的步行速度。在求解优化问题的过程中,利用Tobler徒步函数(THF)来确定徒步者的位置。

3.84KB14金币

车辆路径问题常用数据集,带时间窗约束的车辆路径规划问题(VRPTW)、容量限制的车辆路径问题(CVRP)

CVRP问题是一类在特定约束条件下优化车辆行驶路线的NP-hard问题。它要求在满足一系列客户点的需求且不超过车辆容量的前提下,安排适当的车辆行驶路线,旨在最小化总成本,包括车辆启动成本和行驶成本。CVRP问题是运筹学和物流管理中的一个重要课题,直接关联到物流配送的成本效益和服务质量。Solomon数据集是用于研究车辆路径问题(VRPTW、CVRP)的一系列标准测试实例,由Solomon于1987年提出。Solomon数据集在CVRPLIB中被广泛采用,其中包含一个起始点(CUST NO.==0)和100个客户点,所有的常量都为整数。该数据集包括最大可派遣车辆数K、每辆车的最大载重量Q、各节点的横纵坐标XCOORD和YCOOR以及节点之间的距离视为运输成本、节点处的需求量DEMAND、服务最早开始时间READY TIME和服务截止时间DUE TIME等信息。

76.14KB20金币

weights.zip

weights.zip

31.74MB18金币

Visdom静态资源文件,用来解决启动visdom时卡在下载阶段

Visdom静态资源文件,用来替换本地安装路径下的static文件夹,解决启动visdom时卡在下载阶段的问题

1.3MB18金币

斯坦福cs229课程笔记小抄

斯坦福大学著名的cs229机器学习课程可谓无人不知无人不晓,但其丰富庞杂的内容有时候也令人望而却步。资源里整理了全课程中最重要的概念重点,做成了高度凝练的笔记小抄,一方面可以作为学习者的快速复习资料,另一方面也方便那些没有时间深入了解课程但希望快速掌握核心知识点的专业人士。这份笔记小抄涵盖了以下几个方面:基础概念:包括机器学习的定义、分类、以及监督学习、无监督学习、强化学习等基本类型。主要算法:从线性回归、逻辑回归到决策树、随机森林,再到支持向量机和神经网络,每个算法的原理、优缺点和应用场景都进行了简要介绍。模型评估:介绍了交叉验证、偏差-方差权衡、ROC曲线等模型评估方法,帮助学习者理解如何评估和选择模型。优化技术:包括梯度下降、随机梯度下降等优化算法,以及正则化技术在防止过拟合中的应用。特征工程:讨论了特征选择、特征提取和特征构造等关键步骤,以及它们在提高模型性能中的作用。深度学习:特别强调了深度学习的重要性,包括卷积神经网络(CNN)、循环神经网络(RNN)、长短期记忆网络(LSTM)等高级模型。

82.94MB28金币

基于群智能算法的网络优化分析- 智能优化算法在机器学习中的应用

基于群智能算法的网络优化分析- 智能优化算法在机器学习中的应用

636.28KB25金币

流感检测源码,深度学习项目

流感检测源码,深度学习项目【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。

2.06MB24金币

yolo人脸识别,树莓派

yolo人脸识别,有疑问的朋友可以私信我

23.89KB22金币

Dijkstra算法求解机器人路径规划问题Python程序

Dijkstra算法是一种解决单源最短路径问题的算法,适用于带权的有向图或无向图。它采用贪心策略,逐步找到从源点到其他所有顶点的最短路径。Dijkstra算法的基本思路是以起始点为中心,向外层层扩展,直到覆盖所有顶点。算法维护一个距离数组(通常记为dis),用来记录源点到每个顶点的最短距离估计,以及一个集合(通常记为S),用来存放已经确定最短路径的顶点。初始时,源点的路径权重赋为0,如果存在直接到达的边,则将邻接顶点的路径长度设为边的权重;对于不存在直接到达的边,则将路径长度设为无穷大。算法不断选取距离最短且未处理过的顶点,更新其邻接顶点的距离,直到所有顶点的最短路径都已确定。

5.52MB13金币

MATLAB时频域分析工具箱

该工具箱是中央大学的EMD工具箱,代码均开源,大家如有需要通过工具箱的说明文档跳转官方网站阅读工具箱说明进行使用。

849.58KB28金币