玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
prithivMLmods /

gemma-4-E2B-it-Uncensored-MAX

HF 源站

prithivMLmods/gemma-4-E2B-it-Uncensored-MAX is an uncensored open-source model hosted on Hugging Face.

vLLMsafetensorsPyTorchEnglishLicense: apache-2.0transformersgemma4image-text-to-texttext-generation-inferenceuncensoredabliteratedunfilteredunredactedrefusal-ablatedbf16maxalignment-modifiedreasoningagentany-to-anydataset:prithivMLmods/harm_bencheval-results
README.md说明 / 使用方法

license: apache-2.0 base_model:

  • google/gemma-4-E2B-it language:
  • en pipeline_tag: any-to-any library_name: transformers tags:
  • text-generation-inference
  • uncensored
  • abliterated
  • unfiltered
  • unredacted
  • refusal-ablated
  • vllm
  • pytorch
  • bf16
  • max
  • alignment-modified
  • reasoning
  • agent datasets:
  • prithivMLmods/harm_bench

gemma-4

gemma-4-E2B-it-Uncensored-MAX

gemma-4-E2B-it-Uncensored-MAX is an optimized release built on top of huihui-ai/Huihui-gemma-4-E2B-it-abliterated. This version focuses on updated shard sizing, repository optimization, and compatibility improvements for the latest Transformers releases, while preserving the efficiency and instruction-following capabilities of the original Gemma E2B architecture. The result is a lightweight E2B parameter language model designed for fast inference, stable deployment, and modern ecosystem integration.

[!IMPORTANT] 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.


Key Highlights

  • Latest Transformers Compatibility Re-sharded and optimized for improved compatibility with recent Transformers releases.

  • Optimized Model Sharding Updated shard structure for better storage handling, download reliability, and inference efficiency.

  • Stable Inference Pipeline Improved packaging for consistent loading and generation behavior across environments.

  • E2B Architecture Built on gemma-4-E2B-it, offering efficient reasoning with low compute requirements.

  • Improved Deployment Stability Designed for smoother inference across diverse hardware configurations.

  • Preserved Model Behavior No modifications to weights or architecture; behavior remains consistent with the base model lineage.


Base Model Signatures:

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-E2B-it-abliterated


Quick Start with Transformers

pip install transformers==5.5.3
# or
pip install git+https://github.com/huggingface/transformers.git
from transformers import Gemma4ForConditionalGeneration, AutoProcessor
import torch

model = Gemma4ForConditionalGeneration.from_pretrained(
    "prithivMLmods/gemma-4-E2B-it-Uncensored-MAX",
    torch_dtype="auto",
    device_map="auto"
)

processor = AutoProcessor.from_pretrained(
    "prithivMLmods/gemma-4-E2B-it-Uncensored-MAX"
)

messages = [
    {
        "role": "user",
        "content": [
            {"type": "text", "text": "Explain how transformer models work in simple terms."}
        ],
    }
]

text = processor.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

inputs = processor(
    text=[text],
    padding=True,
    return_tensors="pt"
).to("cuda")

generated_ids = model.generate(**inputs, max_new_tokens=256)

generated_ids_trimmed = [
    out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]

output_text = processor.batch_decode(
    generated_ids_trimmed,
    skip_special_tokens=True,
    clean_up_tokenization_spaces=False
)

print(output_text)

Intended Use

  • Multimodal and Language Research Studying efficiency-focused transformer behavior and inference dynamics.

  • Red-Teaming & Evaluation Testing robustness across edge-case and adversarial prompts.

  • Lightweight Deployment Running small-scale models on CPU or limited GPU environments.

  • Research Prototyping Experimentation with compact transformer architectures.


Limitations & Risks

Important Note: This model inherits the behavior and limitations of its base architecture.

  • Output Variability Responses may vary depending on sampling configuration and prompt structure.

  • Resource Requirements While lightweight, GPU acceleration is recommended for best performance.

  • Deployment Constraints Performance depends on runtime optimization and hardware setup.

  • General Model Limitations May produce incorrect, incomplete, or inconsistent outputs in complex scenarios.

HUGGING FACE

上游数据

HF 下载量161
HF 点赞量13

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
prithivMLmods
最近更新
2026/06/01
最新创建
2026/04/13
HF 趋势
未知
数据快照
2026/09/16
版本
未知
许可证
apache-2.0