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

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

本站已经建立2583天!

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