Downloads · 30 days
4
13% of all-time downloads
wdndev/Meta-Llama-3-8B-Instruct-2layers
Meta-Llama-3-8B-Instruct-2layers is a machine learning model from wdndev. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
本模型是Meta-Llama-3-8B-Instruct模型的前两层,由于Llama3-8B共有32层,使用CPU加载模型时,16G的内存无法加载模型,故从32层中摘取前两层保存为一个新的模型。
Downloads · 30 days
4
13% of all-time downloads
All-time downloads
32
Public
Repo size
3 GB
Likes
2
Public
Click a slice to open those files.
.pth3 GB · 100%
From the Hugging Face model README
本模型是Meta-Llama-3-8B-Instruct模型的前两层,由于Llama3-8B共有32层,使用CPU加载模型时,16G的内存无法加载模型,故从32层中摘取前两层保存为一个新的模型。
主要用于 llama3-from-scratch-zh 和 llama3-from-scratch 的学习,方便笔记本用户快速加载模型,运行学习。
This model is the first two layers of the Meta-Llama 3-8B-Instruct model. As Llama3-8B has 32 layers, the model cannot be loaded with 16G of memory when CPU is used to load the model, so remove the first two layers from the 32 layers and store them as a new model.
It is mainly used for llama3-from-scratch-zh and llama3-from-scratch learning, convenient laptop users fast load model, operation study.
Git download model
#Git模型下载
git clone https://huggingface.co/wdndev/Meta-Llama-3-8B-Instruct-2layers