Any-to-Any
Transformers
Safetensors
PyTorch
English
gemma4
image-text-to-text
text-generation-inference
Mixture of Experts
uncensored
abliterated
unfiltered
unredacted
refusal-ablated
vllm
bf16
max
alignment-modified
reasoning
agent
Instructions to use prithivMLmods/gemma-4-26B-A4B-Heretic-Stable with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/gemma-4-26B-A4B-Heretic-Stable with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("prithivMLmods/gemma-4-26B-A4B-Heretic-Stable") model = AutoModelForMultimodalLM.from_pretrained("prithivMLmods/gemma-4-26B-A4B-Heretic-Stable", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -29,25 +29,39 @@ language:
|
|
| 29 |
|
| 30 |
# **gemma-4-26B-A4B-Heretic-Stable**
|
| 31 |
|
| 32 |
-
> **gemma-4-26B-A4B-Heretic-Stable** is an
|
| 33 |
|
| 34 |
> [!IMPORTANT]
|
| 35 |
-
> This model is
|
| 36 |
|
| 37 |
## Key Highlights
|
| 38 |
|
| 39 |
-
* **
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
* **
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
---
|
| 47 |
|
| 48 |
-
# Base Model Signatures:
|
| 49 |
|
| 50 |
-
This model has been re-sharded and optimized for the latest Transformers version from the base model:
|
| 51 |
|
| 52 |
---
|
| 53 |
|
|
@@ -105,20 +119,34 @@ output_text = processor.batch_decode(
|
|
| 105 |
)
|
| 106 |
|
| 107 |
print(output_text)
|
| 108 |
-
|
| 109 |
```
|
| 110 |
-
|
| 111 |
## Intended Use
|
| 112 |
|
| 113 |
-
* **
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
* **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
|
| 118 |
## Limitations & Risks
|
| 119 |
|
| 120 |
-
> **Important Note**: This model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
-
* **
|
| 123 |
-
|
| 124 |
-
* **Compute Requirements**: A **26B model** requires significant GPU memory or optimized inference strategies such as quantization or tensor parallelism.
|
|
|
|
| 29 |
|
| 30 |
# **gemma-4-26B-A4B-Heretic-Stable**
|
| 31 |
|
| 32 |
+
> **gemma-4-26B-A4B-Heretic-Stable** is an optimized release built on top of **huihui-ai/Huihui-gemma-4-26B-A4B-it-abliterated**. This version focuses on **updated weight sharding, improved repository structure, and compatibility with the latest Transformers versions**, while preserving the behavior and capabilities of the original model. The result is a powerful **26B parameter language model** optimized for efficient deployment, inference stability, and modern tooling support.
|
| 33 |
|
| 34 |
> [!IMPORTANT]
|
| 35 |
+
> This model is intended for research and learning purposes only. Any content generated by this model is used at the user’s own risk. The authors and hosting page disclaim any liability for outputs produced by this model. Users are responsible for ensuring safe, ethical, and lawful usage.
|
| 36 |
|
| 37 |
## Key Highlights
|
| 38 |
|
| 39 |
+
* **Latest Transformers Compatibility**
|
| 40 |
+
Optimized for compatibility with recent Transformers releases for smoother loading and inference.
|
| 41 |
+
|
| 42 |
+
* **Re-sharded Model Weights**
|
| 43 |
+
Updated shard structure for improved download reliability, storage handling, and deployment efficiency.
|
| 44 |
+
|
| 45 |
+
* **Streamlined Inference Packaging**
|
| 46 |
+
Repository structure optimized for easier integration into modern inference pipelines.
|
| 47 |
+
|
| 48 |
+
* **26B Parameter Architecture**
|
| 49 |
+
Built on **gemma-4-26B-A4B-it**, providing strong reasoning and knowledge capacity.
|
| 50 |
+
|
| 51 |
+
* **Improved Deployment Stability**
|
| 52 |
+
Designed for consistent performance across different inference environments.
|
| 53 |
+
|
| 54 |
+
* **MoE Architecture Preserved**
|
| 55 |
+
Original Mixture-of-Experts structure remains unchanged, with no modifications to routing or expert layers.
|
| 56 |
+
|
| 57 |
+
* **High-Capability Deployment**
|
| 58 |
+
Suitable for advanced research workloads and high-performance inference setups.
|
| 59 |
|
| 60 |
---
|
| 61 |
|
| 62 |
+
## Base Model Signatures:
|
| 63 |
|
| 64 |
+
This model has been re-sharded and optimized for the latest Transformers version from the base model: https://huggingface.co/huihui-ai/Huihui-gemma-4-26B-A4B-it-abliterated.
|
| 65 |
|
| 66 |
---
|
| 67 |
|
|
|
|
| 119 |
)
|
| 120 |
|
| 121 |
print(output_text)
|
|
|
|
| 122 |
```
|
| 123 |
+
|
| 124 |
## Intended Use
|
| 125 |
|
| 126 |
+
* **Multimodal and Text Research**
|
| 127 |
+
Studying large-scale transformer behavior and inference characteristics.
|
| 128 |
+
|
| 129 |
+
* **Red-Teaming & Evaluation**
|
| 130 |
+
Testing robustness across diverse and challenging prompts.
|
| 131 |
+
|
| 132 |
+
* **High-Performance Local Deployment**
|
| 133 |
+
Running large-scale instruction models on optimized hardware setups.
|
| 134 |
+
|
| 135 |
+
* **Research Prototyping**
|
| 136 |
+
Experimentation with large Mixture-of-Experts architectures.
|
| 137 |
|
| 138 |
## Limitations & Risks
|
| 139 |
|
| 140 |
+
> **Important Note**: This model inherits the behavior and characteristics of its base model.
|
| 141 |
+
|
| 142 |
+
* **Output Variability**
|
| 143 |
+
Responses may vary depending on prompt structure and sampling settings.
|
| 144 |
+
|
| 145 |
+
* **Resource Requirements**
|
| 146 |
+
A 26B parameter model requires significant GPU memory or optimized inference strategies such as quantization or tensor parallelism.
|
| 147 |
+
|
| 148 |
+
* **Deployment Considerations**
|
| 149 |
+
Performance depends heavily on hardware configuration and runtime optimization.
|
| 150 |
|
| 151 |
+
* **General Model Limitations**
|
| 152 |
+
May still produce incorrect, incomplete, or inconsistent outputs depending on context.
|
|
|