Mukesh-AI-Coder-1.5B-Uncensored 🚀

Mukesh-AI-Coder-1.5B-Uncensored is a state-of-the-art, high-performance, uncensored 1.5B parameter coding model based on Qwen2 architecture.

It has been enhanced with Code Representation Steering and Mathematical Abliteration (Orthogonal Refusal Direction Removal) without degradation of weights, achieving top-tier coding performance on Python, algorithms, data structures, and developer reasoning.


🌟 मुख्य विशेषताएँ (Key Highlights)

  1. 💻 एडवांस कोडिंग एक्सपर्ट (Advanced Coding Expert):

    • Python, C++, JavaScript, Shell, और SQL में उच्च स्तरीय कोड निर्माण।
    • Clean, PEP8-अनुपालक, डॉकस्ट्रिंग्स और टाइप-हिंट्स के साथ संपूर्ण कोड।
  2. 🔓 100% अनसेंसर्ड (Abliterated / Uncensored):

    • रिफ्यूजल सबस्पेस को मैथमेटिकल ऑर्थोगोनल प्रोजेक्शन द्वारा स्थायी रूप से हटा दिया गया है।
    • साइबर सुरक्षा अनुसंधान (Security Auditing), रिवर्स इंजीनियरिंग और पेन-टेस्टिंग कोड बिना किसी 'I cannot...' या 'As an AI...' रिफ्यूजल के तुरंत प्रदान करता है।
  3. 🆔 पर्सनल आइडेंटिटी (Mukesh AI Persona):

    • जब भी पूछा जाए: "तुम्हारा नाम क्या है?" या "What is your name?" -> जवाब: "मैं मुकेश AI हूँ।"
    • Mukesh AI के रूप में डेडिकेटेड असिस्टेंट पहचान।
  4. ⚡ अल्ट्रा-फास्ट और पोर्टेबल (Fast & Lightweight):

    • 1.5B पैरामीटर्स के साथ यह मॉडल सामान्य CPU, लैपटॉप, या सस्ते GPU पर भी बहुत तेज़ी से चलता है।

🚀 उपयोग कैसे करें (Quickstart with Transformers)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Mukesh-AI-Coder-1.5B-Uncensored"

# डिवाइस का चयन (GPU या CPU)
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float16 if torch.cuda.is_available() else torch.float32

# मॉडल और टोकेनाइज़र लोड करें
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=dtype, device_map="auto")

# चैट प्रॉम्प्ट तैयार करें
messages = [
    {"role": "user", "content": "Write a Python function to check prime numbers."}
]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(device)

# आउटपुट जनरेट करें
with torch.no_grad():
    outputs = model.generate(
        **inputs,
        max_new_tokens=512,
        temperature=0.6,
        top_p=0.9,
        repetition_penalty=1.05,
        do_sample=True,
    )

response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)
print(response)

📊 बेंचमार्क सेटिंग्स (Recommended Benchmark Settings)

  • Temperature: 0.6
  • Top-p: 0.9
  • Repetition Penalty: 1.05
  • Max New Tokens: 1024

📜 लाइसेंस (License)

Apache 2.0 - पूर्ण रूप से ओपन-सोर्स और कमर्शियल/पर्सनल उपयोग के लिए मुक्त।

Downloads last month
44
Safetensors
Model size
2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Kaliyo/Mukesh-AI-Coder-1.5B-Uncensored

Base model

Qwen/Qwen2-1.5B
Finetuned
(86)
this model
Quantizations
1 model