Skip to content

Instantly share code, notes, and snippets.

View vvonchain's full-sized avatar
🎯
Focusing

vvonchain

🎯
Focusing
View GitHub Profile
@danielgross
danielgross / mathpix2gpt.py
Last active March 18, 2025 02:18
mathpix2gpt.py
import requests
import time
import os
import sys
import openai
import tiktoken
from termcolor import colored
openai.api_key = open(os.path.expanduser('~/.openai')).read().strip()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@veekaybee
veekaybee / normcore-llm.md
Last active November 20, 2025 15:04
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@ChrisHayduk
ChrisHayduk / merge_qlora_with_quantized_model.py
Last active September 27, 2025 08:22
Merging QLoRA weights with quantized model
"""
The code below combines approaches published by both @eugene-yh and @jinyongyoo on Github.
Thanks for the contributions guys!
"""
import torch
import peft
@fofr
fofr / dalle3.py
Created November 6, 2023 22:57
dalle3 style and quality
from openai import OpenAI
import os
from datetime import datetime
import requests
client = OpenAI()
prompt = "a portrait photo of a woman"
qualities = ["standard", "hd"]
styles = ["natural", "vivid"]
@emlazzarin
emlazzarin / bonfire_books.md
Last active April 26, 2024 19:18
pmarca's books for understanding The Bonfire Of The Universities
title author link
1 The Captive Mind Czesław Miłosz Amazon
2 Private Truths, Public Lies: The Social Consequences of Preference Falsification Timur Kuran Amazon
3 When Reason Goes on Holiday: Philosophers in Politics Neven Sesardić Amazon
4 Intellectuals and Society Thomas Sowell Amazon
5 Intellectuals: From Marx and Tolsoy to Sartre and Chomsky Paul Johnson Amazon
6 The Making of an American Thinking Class: Intellectuals and Intelligentsia in Puritan Massachusetts Darren Staloff [Amazon](ht
@andrewyu0
andrewyu0 / obsidian-copilot.md
Last active February 19, 2025 11:07
obsidian-copilot

obsidian copilot

your notes = your lifelong ai companion + intelligence augmentation

COMMENTS VERY WELCOME! this is a first pass to put these ideas in one place

tldr - combine obsidian + openinterpreter to create a bespoke pkm copilot experience. if you follow the "file over app" philosophy, this combination can be your lifetime AI companion

image
@alexweberk
alexweberk / mlx_finetuning_gemma.ipynb
Last active October 27, 2025 21:47
MLX Fine-tuning Google Gemma
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bhimrazy
bhimrazy / concurrent_task_executor.py
Created March 10, 2024 17:05
This Python code defines a function concurrent_task_executor that allows executing tasks concurrently on a list of data objects using ThreadPoolExecutor from the concurrent.futures module. It includes a progress bar using tqdm to track the completion of tasks. The function is useful for processing data in parallel, improving efficiency when deal…
import concurrent.futures
from typing import Any, Callable, List
from tqdm import tqdm
def concurrent_task_executor(task: Callable[[Any], None], data_list: List[Any], max_workers: int = 32, description: str = None) -> None:
"""
Execute tasks concurrently on a list of data objects using ThreadPoolExecutor.
Args:
task (Callable): The function to apply to each data object.