This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
from pathlib import Path | |
def follow_and_copy_symlinks(source_directory: str, model_directory_name: str = "MODEL"): | |
""" | |
Follows all symbolic links in a given source directory, copies the target | |
files (blobs) to a new 'MODEL' directory, and names the copies after | |
the original symlinks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Public Address Effect Processor | |
Adds vintage public address system effects to WAV files. | |
Janky AF | |
""" | |
import tkinter as tk | |
from tkinter import ttk, filedialog, messagebox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Enterprise-grade Chat UI for OpenRouter's Cypher Alpha model using Tkinter. | |
Features: | |
- Full conversation history with scrollback | |
- Dark/light theming toggle | |
- Syntax-highlighted code blocks with copy-on-right-click | |
- Streaming AI responses in background thread | |
- Export/import chat history as JSON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instructions | |
Navigate to your "Following" list on X.com (e.g., https://x.com/your_username/following). | |
Open your browser's developer console (press F12 or Ctrl+Shift+I / Cmd+Opt+I). | |
Copy the entire script from the block below, paste it into the console, and press Enter. | |
The script will now run continuously. You can leave the browser tab open while it works. | |
It will log its progress and stop automatically when the list is exhausted. | |
Disclaimer: This script performs actions on your behalf. | |
Running automation scripts on social media platforms may be against their terms of service and could pose a risk to your account. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import cv2 | |
import numpy as np | |
from skimage.metrics import structural_similarity as ssim | |
import threading | |
import time | |
import multiprocessing | |
import math | |
import queue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>IOUBItopia Weaver</title> | |
<style> | |
body { | |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>DeSepAI Image</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.7.1/jszip.min.js"></script> | |
<style> | |
body { margin:0; padding:1rem; background:#121212; color:#e0e0e0; font-family:sans-serif; display:flex; justify-content:center; } | |
.container { background:#1e1e1e; padding:1.5rem; border-radius:6px; width:100%; max-width:800px; position:relative; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\conda\envs\bd3lm\python.exe -u main.py loader.eval_batch_size=16 model=small algo=bd3lm algo.backbone=hf_dit data=openwebtext-split data.insert_valid_special=False model.length=1024 model.attn_backend=sdpa block_size=4 eval.checkpoint_path=kuleshov-group/bd3lm-owt-block_size4 wandb=null mode=ppl_eval strategy=single_device | |
bd3lm on windows, perplexity | |
Validation DataLoader 0: 100%|█████████████████████████████████████████████████| 6891/6891 [1:54:19<00:00, 1.00it/s] | |
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | |
┃ Validate metric ┃ DataLoader 0 ┃ | |
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ | |
│ sampling_eps_max │ 1.0 │ | |
│ sampling_eps_min │ 0.0010000000474974513 │ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import subprocess | |
import sys | |
import os | |
from pathlib import Path | |
import configparser | |
import re | |
from packaging.requirements import Requirement, InvalidRequirement | |
from packaging.version import parse as parse_version, InvalidVersion | |
from packaging.specifiers import SpecifierSet, InvalidSpecifier |
NewerOlder