Skip to content

Instantly share code, notes, and snippets.

View filiptibell's full-sized avatar

Filip Tibell filiptibell

View GitHub Profile
@filiptibell
filiptibell / push-ollama-model.sh
Last active September 9, 2024 12:20
Push safetensors Ollama model with all quantizations
#!/usr/bin/env bash
# This script will create and push all the different quantizations of a
# Modelfile in the current directory, tagged using the following format:
#
# - <model_name>:<model_size>-<quantization>
#
# This is the standard format used by Ollama for pushing models.
# Example using the Llama 2 7b model:
#
@filiptibell
filiptibell / remodelTypes.d.lua
Last active November 11, 2022 19:45
Type declarations for Remodel, to be used with Luau LSP
-- Type definitions for remodel 0.11.0
declare class RemodelInstance
Name: string
ClassName: string
Parent: RemodelInstance
function Clone(self): RemodelInstance
function Destroy(self): ()
function GetChildren(self): {RemodelInstance}
function GetDescendants(self): {RemodelInstance}