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

本站现有博文333篇,共被浏览922300

本站已经建立2628天!

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