=== RUN HEADER === Timestamp: 2026-04-13T00:50:28 Model dir: D:\Models\gemma-3-1b-pt Model file: D:\Models\gemma-3-1b-pt\model.safetensors Output file: D:\Models\gemma-3-1b-pt\test_layers_1_mlp_swap_q2_bs32.txt Target layers: [1] Target mode: mlp Target tensors: 3 - model.layers.1.mlp.gate_proj.weight - model.layers.1.mlp.up_proj.weight - model.layers.1.mlp.down_proj.weight Levels: [-0.75, -0.25, 0.25, 0.75] Block size: 32 Use sampling: False Max new tokens: 80 Seed: 42 Loading tokenizer/model from: D:\Models\gemma-3-1b-pt === BASELINE GENERATION === --- Prompt 1 --- PROMPT: 'Once upon a time' Once upon a time, there was a little girl who loved to read. She loved to read books, and she loved to read books about animals. She loved to read books about animals that were funny, and books that were sad, and books that were scary. She loved to read books about animals that were funny, and books that were sad, and books that were scary. She loved to read books about animals that --- Prompt 2 --- PROMPT: 'The capital of France is' The capital of France is a city of contrasts. It is a city of history, culture, and art. It is a city of the rich and the poor. It is a city of the beautiful and the ugly. It is a city of the famous and the unknown. It is a city of the famous and the unknown. It is a city of the famous and the unknown. It is a city of the famous and --- Prompt 3 --- PROMPT: 'Python is a programming language that' Python is a programming language that is used for a wide range of applications. It is a high-level language that is easy to learn and use. It is also a very versatile language that can be used for a wide range of applications. Python is a very popular language and is used by many companies and organizations. It is also used by many individuals who are interested in learning programming. Python is a very powerful language that can be --- Prompt 4 --- PROMPT: 'In a shocking discovery, scientists found' In a shocking discovery, scientists found that the human brain is not the only organ that can be affected by the COVID-19 virus. The study, published in the journal Nature, found that the virus can also affect the heart. The study was conducted by a team of researchers from the University of California, San Francisco, and the University of California, San Diego. The researchers used a mouse model to --- Prompt 5 --- PROMPT: 'Q: What is 2 + 2?\nA:' Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: === QUANTIZING TARGET TENSORS === Reading: model.layers.1.mlp.gate_proj.weight shape: (6912, 1152) mse: 0.00012353 max abs err: 0.13769531 Reading: model.layers.1.mlp.up_proj.weight shape: (6912, 1152) mse: 0.00012512 max abs err: 0.08544922 Reading: model.layers.1.mlp.down_proj.weight shape: (1152, 6912) mse: 0.00000595 max abs err: 0.04516602 === AGGREGATE ERROR === Tensor count: 3 Average MSE: 0.00008487 Worst max abs: 0.13769531 === SWAPPING TENSORS INTO MODEL === === SWAPPED GENERATION === --- Prompt 1 --- PROMPT: 'Once upon a time' Once upon a time, there was a little girl who loved to read. She loved to read books, and she loved to read books about animals. She loved to read books about animals that were funny, and books that were sad, and books that were scary. She loved to read books about animals that were funny, and books that were sad, and books that were scary. She loved to read books about animals that --- Prompt 2 --- PROMPT: 'The capital of France is' The capital of France is a city of contrasts. It is a city of history, culture, and art. It is a city of history, culture, and art. It is a city of contrasts. It is a city of contrasts. It is a city of contrasts. It is a city of contrasts. It is a city of contrasts. It is a city of contrasts. It is a city of contrasts. It is --- Prompt 3 --- PROMPT: 'Python is a programming language that' Python is a programming language that is used for data analysis and data science. It is a high-level programming language that is used for data analysis and data science. It is a high-level programming language that is used for data analysis and data science. It is a high-level programming language that is used for data analysis and data science. It is a high-level programming language that is used for data analysis and data science --- Prompt 4 --- PROMPT: 'In a shocking discovery, scientists found' In a shocking discovery, scientists found that the human body is capable of producing its own antibodies. The study, published in the journal Nature, found that the body can produce antibodies to fight off viruses and bacteria. The study was conducted by researchers at the University of California, San Francisco, and the University of California, San Diego. The researchers found that the body can produce antibodies to fight off viruses and bacteria --- Prompt 5 --- PROMPT: 'Q: What is 2 + 2?\nA:' Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: === RESTORING ORIGINAL TENSORS === === RESTORED GENERATION === --- Prompt 1 --- PROMPT: 'Once upon a time' Once upon a time, there was a little girl who loved to read. She loved to read books, and she loved to read books about animals. She loved to read books about animals that were funny, and books that were sad, and books that were scary. She loved to read books about animals that were funny, and books that were sad, and books that were scary. She loved to read books about animals that --- Prompt 2 --- PROMPT: 'The capital of France is' The capital of France is a city of contrasts. It is a city of history, culture, and art. It is a city of the rich and the poor. It is a city of the beautiful and the ugly. It is a city of the famous and the unknown. It is a city of the famous and the unknown. It is a city of the famous and the unknown. It is a city of the famous and --- Prompt 3 --- PROMPT: 'Python is a programming language that' Python is a programming language that is used for a wide range of applications. It is a high-level language that is easy to learn and use. It is also a very versatile language that can be used for a wide range of applications. Python is a very popular language and is used by many companies and organizations. It is also used by many individuals who are interested in learning programming. Python is a very powerful language that can be --- Prompt 4 --- PROMPT: 'In a shocking discovery, scientists found' In a shocking discovery, scientists found that the human brain is not the only organ that can be affected by the COVID-19 virus. The study, published in the journal Nature, found that the virus can also affect the heart. The study was conducted by a team of researchers from the University of California, San Francisco, and the University of California, San Diego. The researchers used a mouse model to --- Prompt 5 --- PROMPT: 'Q: What is 2 + 2?\nA:' Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: 4 Q: What is 2 + 2? A: === RUN SETTINGS === Levels: [-0.75, -0.25, 0.25, 0.75] Block size: 32 Use sampling: False Max new tokens: 80 Target layers: [1] Target mode: mlp === COMPARISON SUMMARY === --- Prompt 1 --- PROMPT: 'Once upon a time' Baseline == Swapped: True Baseline == Restored: True First diff index: -1 --- Prompt 2 --- PROMPT: 'The capital of France is' Baseline == Swapped: False Baseline == Restored: True First diff index: 105 Baseline snippet: tory, culture, and art. It is a city of the rich and the poor. It is a city of the beautiful and the ugly. It is a city Swapped snippet: tory, culture, and art. It is a city of history, culture, and art. It is a city of contrasts. It is a city of contrasts. --- Prompt 3 --- PROMPT: 'Python is a programming language that' Baseline == Swapped: False Baseline == Restored: True First diff index: 50 Baseline snippet: a programming language that is used for a wide range of applications. It is a high-level language that is easy to learn Swapped snippet: a programming language that is used for data analysis and data science. It is a high-level programming language that is --- Prompt 4 --- PROMPT: 'In a shocking discovery, scientists found' Baseline == Swapped: False Baseline == Restored: True First diff index: 58 Baseline snippet: overy, scientists found that the human brain is not the only organ that can be affected by the COVID-19 virus. The stud Swapped snippet: overy, scientists found that the human body is capable of producing its own antibodies. The study, published in the jou --- Prompt 5 --- PROMPT: 'Q: What is 2 + 2?\nA:' Baseline == Swapped: True Baseline == Restored: True First diff index: -1