Install MLX LM:
pip install mlx-lm
And run:
| # train_grpo.py | |
| # | |
| # See https://github.com/willccbb/verifiers for ongoing developments | |
| # | |
| """ | |
| citation: | |
| @misc{brown2025grpodemo, | |
| title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models}, | |
| author={Brown, William}, |
| #!/bin/bash | |
| # Usage: ./lm-symlink.sh <target_directory> | |
| # Example: ./lm-symlink.sh ~/.cache/lm-studio/models | |
| # Check if the target directory is provided | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <target_directory>" | |
| echo " <target_directory> is the path to the LM Studio models folder." | |
| exit 1 | |
| fi |
This guide is adapted from this original post by Christopher Charles.
| // Compile instructions: | |
| // | |
| // gcc -o click click.c -Wall -framework ApplicationServices | |
| #include <ApplicationServices/ApplicationServices.h> | |
| #include <unistd.h> | |
| int main(int argc, char *argv[]) { | |
| int x = 0, y = 0, n = 1; | |
| float duration = 0.1; |
| library(data.table) | |
| ?`[.data.table` | |
| DT <- data.table(x=rep(c("b","a","c"),each=3), y=c(1,3,6), v=1:9) | |
| X <- data.table(x=c("c","b"), v=8:7, foo=c(4,2)) | |
| colnames(DT) | |
| # [1] "x" "y" "v" |
Using markdown-service-tools, write markdown emails and convert to rich text via hot key before sending.
brew cask install markdown-service-tools
brew install multimarkdown
| With the OS X firewall enabled, you can remove the "Do you want the application "python" to accept incoming network connections?" message. | |
| Create a self-signed certificate. | |
| Open Keychain Access. Applications > Utilities > Keychain Access. | |
| Keychain Access menu > Certificate Assistant > Create a Certificate... | |
| Enter a Name like "My Certificate". | |
| Select Identity Type: Self Signed Root | |
| Select Certificate Type: Code Signing | |
| Check the Let me override defaults box |
| public class MyFragment { | |
| boolean loaded; | |
| private void maybeLoad() { | |
| if (!loaded && getUserVisibleHint()) { | |
| loaded = true; | |
| loadMyData(); | |
| } | |
| } | |
| @Override |