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

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

本站已经建立2669天!

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