EADST

QWEN7B to LLAMA7B Model Structure

Here is the markdown format for the LLAMA7B model structure, detailing each layer and component:


LLAMA7B Model Structure

The LLAMA7B model consists of the following layers and components:

Embedding Layer

  • model.embed_tokens.weight: torch.Size([151851, 4096])

Layers

Each layer in the model has the following components:

Layer 0 to Layer 31

Each layer (model.layers.[0-31]) includes:

  • input_layernorm.weight: torch.Size([4096])

  • Self-Attention Sublayer:

    • q_proj.weight: torch.Size([4096, 4096])

    • k_proj.weight: torch.Size([4096, 4096])

    • v_proj.weight: torch.Size([4096, 4096])

    • q_proj.bias: torch.Size([4096])

    • k_proj.bias: torch.Size([4096])

    • v_proj.bias: torch.Size([4096])

    • o_proj.weight: torch.Size([4096, 4096])

    • post_attention_layernorm.weight: torch.Size([4096])

  • MLP (Multi-Layer Perceptron) Sublayer:

    • up_proj.weight: torch.Size([11008, 4096])

    • gate_proj.weight: torch.Size([11008, 4096])

    • down_proj.weight: torch.Size([4096, 11008])

Final Layer Normalization and Output

  • model.norm.weight: torch.Size([4096])
  • lm_head.weight: torch.Size([151851, 4096])
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
关于博主 Attention FP16 财报 API MD5 LoRA OpenCV Logo 多线程 uwsgi Image2Text 多进程 v2ray OCR 版权 TSV 域名 XML logger Git NameSilo Pandas Claude Data AI Magnet Tracking GoogLeNet Dataset YOLO llama.cpp transformers Math 论文速读 Search GIT Knowledge VSCode QWEN UNIX UI SVR tqdm Pytorch InvalidArgumentError LLM 云服务器 Gemma Food Datetime Qwen PIP Algorithm RGB Land ResNet-50 Domain git Vim Quantize 阿里云 SAM C++ scipy 递归学习法 SQL Bitcoin BTC CSV LaTeX SPIE 报税 签证 ModelScope Paddle Jev Breakpoint Statistics Jupyter ChatGPT Use Bin Bipartite Heatmap Bert GPT4 SQLite PDB Numpy FP64 hf Mixtral Tiktoken Website CV NLP Base64 TensorFlow LeetCode HuggingFace Distillation News Hilton FastAPI Jetson Video Color Transformers Random Web RL PDF Crawler 第一性原理 ms-swift Shortcut Safetensors Anaconda 净利润 Quantization HaggingFace Python Translation CLAP Permission CTC JSON Paper TensorRT GPTQ PyCharm Cloudreve Vmess tar Template IndexTTS2 COCO Plate Llama Github Hotel 图标 BeautifulSoup git-lfs mmap torchinfo 继承 Ubuntu Rebuttal Card TTS Zip Google DeepStream FP8 CAM Streamlit Diagram 搞笑 Plotly Linux Freesound RAR CUDA VPN GGML WAN NLTK Markdown Docker 证件照 Password XGBoost CC printf Augmentation Tensor WebCrawler 公式 FP32 Harness Animate API网关 图形思考法 Sklearn Miniforge diffusers FlashAttention Ptyhon DeepSeek Clash icon Pickle VGG-16 CEIR PyTorch Disk v0.dev Excel Qwen2 飞书 Django 算法题 Firewall Input 音频 uWSGI EXCEL LLAMA Agent Windows 腾讯云 BF16 OpenAI Proxy Qwen2.5 ONNX 论文 Nginx Michelin Baidu Conda Review Pillow Interview Hungarian 强化学习 顶会
站点统计

本站现有博文337篇,共被浏览961572次

本站已经建立2673天!

热门文章
文章归档
回到顶部