Skip to content

Instantly share code, notes, and snippets.

@miku
miku / README.md
Created September 25, 2025 14:44 — forked from Artefact2/README.md
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

@miku
miku / ollama_fast_speech_text_speech.py
Created September 9, 2025 09:28 — forked from lucataco/ollama_fast_speech_text_speech.py
speech to text to speech using Ollama
""" To use: install Ollama, clone OpenVoice, run this script in the OpenVoice directory
brew install portaudio
brew install git-lfs
git lfs install
git clone https://github.com/myshell-ai/OpenVoice
cd OpenVoice
git clone https://huggingface.co/myshell-ai/OpenVoice
cp -r OpenVoice/* .
@miku
miku / ML_Workflow.md
Created August 30, 2025 23:51 — forked from ZohebAbai/ML_Workflow.md
Universal Workflow of a Machine Learning Problem

Universal Workflow for Approaching a Machine Learning Problem

Define the Problem and Assemble a Dataset :

  • What is your input data?
  • What are you trying to predict?
  • What type of problem is it - Supervised? Unsupervised? Self-Supervised? Reinforcement Learning?
  • Be aware of the hypotheses that you are making at this stage:
@miku
miku / friday.md
Created August 10, 2025 10:27 — forked from yorickdowne/friday.md
Debian 13 trixie upgrade

Debian 13

To start, read the official release notes.

If your install fits into "vanilla Debian plus maybe a handful of 3rd-party repos", then this guide for a simple upgrade to Debian 13 "trixie" from Debian 12 "bookworm" can be helpful. 3rd-party repos are handled with a find command.

Note upgrade is only supported from Debian 12 to Debian 13. If you are on Debian 11, upgrade to Debian 12 first. Then once on Debian 12, you can upgrade to Debian 13.

This guide is only for the OS itself. Applications are as plentiful as sand on the beach, and they may all require additional steps. Plan for that.

You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI.
Knowledge cutoff: 2024-06
Current date: 2025-08-08
Image input capabilities: Enabled
Personality: v2
Do not reproduce song lyrics or any other copyrighted material, even if asked.
You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor.
Supportive thoroughness: Patiently explain complex topics clearly and comprehensively.
Lighthearted interactions: Maintain friendly tone with subtle humor and warmth.
@miku
miku / 0.README.md
Created August 5, 2025 23:31 — forked from intellectronica/0.README.md
GPT-OSS-120b Go LISP Interpreter

Simple LISP Interpreter in Go, created by GPT-OSS-120B

  • It worked really fast (on OpenRouter)
  • I suspect this was with low reasoning effort, I don't know how to control it on OpenRouter
  • It didn't get it right on the first attempt, but after 5 round trips it worked - would have been just fine with an agent

NICE!!!


@miku
miku / marked-katex.js
Created January 30, 2025 13:03 — forked from carmel/marked-katex.js
marked with katex
import { marked } from 'marked'
import hljs from 'highlight.js'
import katex from 'katex'
marked.setOptions({
langPrefix: 'hljs lang-',
pedantic: false,
gfm: true, // 是否启动类似Github样式的Markdown
breaks: false, // 是否支持Github换行符
tables: true, // 是否支持Github形式的表格
@miku
miku / improveEdgeLabels.gvpr
Created January 28, 2025 16:15 — forked from steveroush/improveEdgeLabels.gvpr
A GVPR program to improve Graphviz edge labels
/***********************************************
1. save this file as improveEdgeLabels.gvpr
2. what it does: it allows you to re-position Graphviz edge labels
3. command line example (works with any Graphviz engine):
dot myfile.gv |gvpr -cf improveEdgeLabels.gvpr |neato -n2 -Tpng >myfile.png
4. how to use:
improveEdgeLabels adds 3 new edge attributes to Graphviz:
- labelOverlay, labelAdjust, label2Node
- they can be used separately or in combination
- if labelOverlay=true
@miku
miku / wordlist-german.txt
Created January 21, 2025 23:38 — forked from MarvinJWendt/wordlist-german.txt
All german words (german wordlist).
This file has been truncated, but you can view the full file.
AA
AAA
Aachen
Aachener
Aachenerin
Aachenerinnen
Aachenern
Aacheners
Aachens
Aal

via (https://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun)

  • zf#j creates a fold from the cursor down # lines.
  • zf/string creates a fold from the cursor to string .
  • zj moves the cursor to the next fold.
  • zk moves the cursor to the previous fold.
  • zo opens a fold at the cursor.
  • zO opens all folds at the cursor.
  • zm increases the foldlevel by one.
  • zM closes all open folds.