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

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

本站已经建立2712天!

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