EADST

QWEN7B to LLAMA GPTQ model structure

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


GPTQ Model Structure

The GPTQ 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:

    • k_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

    • o_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

    • q_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

    • v_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

  • MLP (Multi-Layer Perceptron) Sublayer:

    • down_proj:

      • qweight: torch.Size([1376, 4096])

      • qzeros: torch.Size([86, 512])

      • scales: torch.Size([86, 4096])

      • g_idx: torch.Size([11008])

      • bias: torch.Size([4096])

    • gate_proj:

      • qweight: torch.Size([512, 11008])

      • qzeros: torch.Size([32, 1376])

      • scales: torch.Size([32, 11008])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([11008])

    • up_proj:

      • qweight: torch.Size([512, 11008])

      • qzeros: torch.Size([32, 1376])

      • scales: torch.Size([32, 11008])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([11008])

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

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

本站现有博文339篇,共被浏览1000852次

本站已经建立2711天!

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