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

本站现有博文334篇,共被浏览935829

本站已经建立2646天!

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