Skip to content

Instantly share code, notes, and snippets.

View Yachint's full-sized avatar

Yachint Yachint

  • New Delhi
View GitHub Profile
import csv
import matplotlib.pyplot as plt
def read_csv(path="sumprod_bench.csv"):
n = []
zip_s = []
sumprod_s = []
speedup = []
with open(path, newline="") as f:
import csv
import math
import random
import time
from statistics import median
def dot_zip(p, q):
return sum(a * b for a, b in zip(p, q))
def dot_sumprod(p, q):
@Yachint
Yachint / simple_logger_example.py
Created January 4, 2026 21:30
Simple Example of using Logger in Python!
import logging
logger = logging.getLogger('MathApp')
def divide_numbers(a, b):
try:
logger.debug(f"Params provided a: {a}, b: {b}")
result = a / b
logger.info(f"Divide of {a}/{b} success => {result}")
@Yachint
Yachint / GPT-5-no-web.md
Created August 18, 2025 05:52
GPT-5 - Without Web Search

Mechanistic Interpretability Explanation

Created: 18/8/2025, 10:54:29 AM Last Updated: 18/8/2025, 10:54:31 AM

User

Explain mechanistic interpretability in LLM's in a simple way with easy to understand examples

@Yachint
Yachint / gpt-5-web.md
Created August 18, 2025 05:49
GPT-5 - With Web Search

Mechanistic Interpretability Explanation

Created: 18/8/2025, 10:54:50 AM Last Updated: 18/8/2025, 10:54:52 AM

User

Explain mechanistic interpretability in LLM's in a simple way with easy to understand examples