Skip to content

Instantly share code, notes, and snippets.

View RicardoDominguez's full-sized avatar

Ricardo Dominguez-Olmedo RicardoDominguez

View GitHub Profile
@RicardoDominguez
RicardoDominguez / jax_bvp_solver.py
Last active June 11, 2024 17:41
BVP solver in JAX based on scipy.integrate.solve_bvp
"""Boundary value problem solver."""
import jax
import jax.numpy as jnp
# ------------------------------------------------------------------------------------------
# Linear solver for bordered almost block diagonal (BABD) systems
# ------------------------------------------------------------------------------------------
# Implementation as described in [1] Section 2.1 (structural orthogonal factorization).
@RicardoDominguez
RicardoDominguez / config.yaml
Created January 10, 2024 20:10
axolotl - mistral 7b on alpaca_2k_test
base_model: mistralai/Mistral-7B-v0.1
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
load_in_8bit: false
load_in_4bit: false
strict: false
datasets: