Skip to content

Instantly share code, notes, and snippets.

View mchiang0610's full-sized avatar
🤩
Ollama models available on https://ollama.com/library

Michael mchiang0610

🤩
Ollama models available on https://ollama.com/library
View GitHub Profile
@mchiang0610
mchiang0610 / benchmark.py
Last active October 25, 2025 07:46
script used in NVIDIA DGX Spark performance blog post
# /// script
# dependencies = [
# "ollama",
# ]
# ///
import os
import sys
import time
from argparse import ArgumentParser, FileType
@mchiang0610
mchiang0610 / alpaca-shooter.html
Created October 16, 2025 03:48
Example code using GLM-4.6 in a single pass
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alpaca Shooter - Bomb Defusal</title>
<style>
* {
margin: 0;
padding: 0;
@mchiang0610
mchiang0610 / ollamas-adventure.html
Created October 16, 2025 03:10
Example code by GLM-4.6 in a single pass
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ollama's Adventure</title>
<style>
* {
margin: 0;
padding: 0;