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 re | |
import torch | |
import verifiers as vf | |
from datasets import Dataset, load_dataset | |
from peft import LoraConfig | |
from transformers import AutoModelForCausalLM, AutoTokenizer | |
# --------------------------------------------------------------------------- | |
# Data Loading and Preparation |
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
use std::env; | |
use std::error::Error; | |
use std::fs::File; | |
use std::io::{BufReader, Read}; | |
use std::path::Path; | |
use std::process; | |
const NUM_TOKENS: usize = 27; | |
const EOT_TOKEN: usize = 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
#! /bin/bash | |
brew update | |
echo "install arc browser" | |
brew install --cask arc | |
echo "install chrome" | |
brew install --cask google-chrome |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |