Skip to content

Instantly share code, notes, and snippets.

View MillionthOdin16's full-sized avatar
💭
OH HAI

MillionthOdin16 MillionthOdin16

💭
OH HAI
  • 08:35 (UTC -05:00)
View GitHub Profile
@MillionthOdin16
MillionthOdin16 / gist:6dafbf03dc1db70a0b4fd8219cf30c9e
Created January 12, 2026 01:52
Multi-City Weather Report by Clawdbot
🦞 Multi-City Weather Report - 2026-01-12 01:51 UTC
Current Conditions:
==================
Seattle: 🌦 +48°F 93% ↑5mph
London: ☁️ +51°F 94% ↗11mph
Tokyo: ☀️ +45°F 49% →32mph
New+York: 🌧 +36°F 67% →17mph
Paris: ☁️ +41°F 87% ↑14mph
@MillionthOdin16
MillionthOdin16 / UMAF.md
Created March 4, 2025 01:00
A Framework for Cross-Architecture Capability Transfer and Fusion

Universal Model Adapter Fusion (UMAF): A Framework for Cross-Architecture Capability Transfer and Fusion

Abstract
The Universal Model Adapter Fusion (UMAF) framework enables the transfer and fusion of capabilities across language models of diverse architectures and scales. By leveraging a universal latent space for capability representation, a size interpolator for scaling, a fusion module for dynamic combination, and an adapter generator for parameter adjustments, UMAF produces lightweight, architecture-agnostic adapters. This paper provides a robust theoretical foundation, detailed methodological clarifications, and expanded experimental validation. UMAF demonstrates significant potential for creating bespoke, efficient AI models with enhanced interpretability and modularity.


1. Introduction

Large language models (LLMs) have achieved remarkable success in specialized tasks, yet transferring and combining their capabilities across models with differing architectures or scales remains a sig

#!/usr/bin/env bash
# Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster)
# License: MIT
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color
verb_ip6
@MillionthOdin16
MillionthOdin16 / convert.py
Created April 2, 2023 14:49
Import pytorch model files (such as pytorch_model-00001-of-00006.bin) into the ggml format. Params.json (for llama 13B) included as example.
from sentencepiece import SentencePieceProcessor # type: ignore
import json, struct, os, re, zipfile, pickle, itertools, sys, enum, threading, concurrent.futures, argparse
from pathlib import Path
import numpy as np
from collections import namedtuple
from typing import Optional, Callable, Type, Any, Iterable, IO, Sequence, Union, TypeVar
from dataclasses import dataclass
NDArray = np.ndarray[Any, Any]
@MillionthOdin16
MillionthOdin16 / artifacts...BradarrCoin_metadata.json
Created July 26, 2022 18:42
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
@MillionthOdin16
MillionthOdin16 / .deps...npm...@openzeppelin...contracts@4.7.1...access...Ownable.sol
Created July 26, 2022 18:38
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
@MillionthOdin16
MillionthOdin16 / artifacts...BradarrCoin.json
Created July 26, 2022 18:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
This file has been truncated, but you can view the full file.
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
@MillionthOdin16
MillionthOdin16 / .deps...npm...@openzeppelin...contracts@4.7.1...access...Ownable.sol
Created July 26, 2022 18:34
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to