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

本站现有博文332篇,共被浏览900582

本站已经建立2602天!

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