Skip to content

Instantly share code, notes, and snippets.

View goodrahstar's full-sized avatar
🌏
Building AI for Humans

Rahul Kumar goodrahstar

🌏
Building AI for Humans
View GitHub Profile
@goodrahstar
goodrahstar / gist:5e080e6181ccb46c4f94ddcb8f13e4ea
Created April 24, 2026 16:29
Scripts to Run Qwen 3.6 27B on Your Mac
-------
File: download-qwen36-q3km.sh
#!/usr/bin/env bash
# Smaller 27B quant for 16GB RAM systems (~12GB class file; verify after download).
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
OUT_DIR="${OUT_DIR:-$REPO_ROOT/models}"
FILE="Qwen3.6-27B-Q3_K_M.gguf"
URL="https://huggingface.co/unsloth/Qwen3.6-27B-GGUF/resolve/main/${FILE}"
@goodrahstar
goodrahstar / profit-mindset.mdc
Created September 22, 2025 15:27
Converting proven PI (Profitability Index) strategy into a high-performing Cursor rule that 100x's code-generated value
---
description: Core Philosophy is Maximum Value per Development Dollar
globs:
- "**/*.md"
alwaysApply: true
---
# Profitability Index-Focused Cursor Rules
## Core Philosophy: Maximum Value per Development Dollar
@goodrahstar
goodrahstar / sentiment_api.py
Created August 18, 2017 12:49
Serving Predictions code using webpy to create a RESTful API.
# -*- coding: utf-8 -*-
"""
@author: Rahul.kumar
"""
import web
#import sys,os
import json
import sentiment_model as model
@goodrahstar
goodrahstar / sentiment_model.py
Last active August 18, 2017 12:30
Inference code to load the predicting model.
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Rahul.kumar
"""
import data_helpers2 as data_helpers
import numpy as np
import os
import tensorflow as tf
@goodrahstar
goodrahstar / Machine Learning Curriculum.md
Created July 15, 2016 10:47 — forked from offchan42/Machine Learning Curriculum.md
Machine learning resources and related artificial intelligence concepts.

Machine Learning Curriculum

Machine Learning is a branch of Artificial Intelligence dedicated at making machines learn from observational data without being explicitly programmed.

NOTE: There is no particular rank or order for each link. The order in which they appear does not convey any meaning and is not essential.

General Machine Learning

@goodrahstar
goodrahstar / AndroidProximitySensorActivity.java
Created May 29, 2014 15:12
testing proxi sensor with volume up
package com.exercise.AndroidProximitySensor;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.net.Uri;
package com.exercise.AndroidProximitySensor;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.net.Uri;