Downloads · 30 days
14
19% of all-time downloads
arunvenkat17/Param-1-7B-GodMode-4bit
Param-1-7B-GodMode-4bit is a text generation model from arunvenkat17. Use it when you need the model to write or continue text. It is set up for transformers.
A highly optimized, hybrid-quantized version of the bharatgenai/Param-1-7B model. This model utilizes a custom 4-bit/16-bit "God Mode" configuration to drastically reduce VRAM usage while preserving high mathematical…
Downloads · 30 days
14
19% of all-time downloads
All-time downloads
73
Public
Parameters
6.7B
4.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.7 GB · 100%
How the weights are stored.
U86B · 91%
From the Hugging Face model README
A highly optimized, hybrid-quantized version of the bharatgenai/Param-1-7B model. This model utilizes a custom 4-bit/16-bit "God Mode" configuration to drastically reduce VRAM usage while preserving high mathematical accuracy by selectively keeping critical attention and routing mechanisms in 16-bit precision.
This model was created to enable consumer-hardware inference for the Param-1-7B architecture without suffering the severe degradation often associated with pure 4-bit quantization. It uses bitsandbytes NF4 quantization with a highly sensitive skip-list, keeping the vocabulary projector, context engine, attention aggregators, and Mixture-of-Experts (MoE) routers in bfloat16.
bharatgenai/Param-1-7Bbharatgenai/Param-1-7BThis model is intended for developers, researchers, and hobbyists who want to run the Param-1-7B model on GPUs with extremely limited VRAM (5 GB or more). Because the quantization configuration is baked directly into the config.json, it can be loaded natively with the transformers library without explicitly defining a BitsAndBytesConfig.
Use the code below to get started with the model. Note that you do not need to define the skip-list; it is handled automatically.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "arunvenkat17/Param-1-7B-GodMode-4bit"
# Load Tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
# Load Optimized Model
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
trust_remote_code=True,
attn_implementation="sdpa"
)
print("Model loaded successfully!")
print(f"VRAM Used: {model.get_memory_footprint() / (1024 ** 3):.2f} GB")