This file contains 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
./main --color --threads 7 --batch_size 256 --n_predict -1 --top_k 12 --top_p 1 \ | |
--temp 0.36 --repeat_penalty 1.05 --ctx_size 2048 --instruct \ | |
--reverse-prompt "### Human:" \ | |
--model ./models/13B/ggml-vicuna-13b-4bit.bin \ | |
-f prompts/vicuna.txt | |
printf 'A chat between a curious human and an artificial intelligence assistant. | |
The assistant gives helpful, detailed, and polite answers to the human's questions.' > prompts/vicuna.txt |
This file contains 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
from oauth2client import client | |
from googleapiclient import sample_tools | |
import sys | |
import argparse | |
def main(argv=sys.argv): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-d', '--draft', dest='isDraft', action='store_true', |
This file contains 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
vim9script | |
silent! source $VIMRUNTIME/defaults.vim | |
set nocompatible | |
set autoindent | |
set background=dark | |
set backspace=indent,eol,start | |
set cinoptions=:0,l1,g0,t0,+.5s,(.5s,u0,U1,j1 | |
set encoding=utf-8 | |
set history=999 | |
set incsearch |
This file contains 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
# #+latex_compiler: lualatex | |
#+latex_compiler: xelatex | |
#+latex_class_options: [12pt] | |
#+latex_header: \usepackage{setspace} | |
#+latex_header: \onehalfspacing | |
# #+latex_header: \doublespacing | |
#+latex_header: \usepackage[scaled]{helvet} | |
#+latex_header: \usepackage{fontspec} | |
# #+latex_header: \setmainfont{Red Hat Text} | |
#+latex_header: \setmainfont{Fira Sans} |
This file contains 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
#+LATEX_COMPILER: xelatex | |
# #+LATEX_COMPILER: lualatex | |
#+LATEX_CLASS_OPTIONS: [8pt,twocolumn] | |
#+LATEX_HEADER: \usepackage{nopageno} | |
#+LATEX_HEADER: \usepackage{setspace} | |
# #+LATEX_HEADER: \doublespacing | |
# #+LATEX_HEADER: \onehalfspacing | |
#+LATEX_HEADER: \singlespacing | |
#+LATEX_HEADER: \usepackage[scaled]{helvet} | |
#+LATEX_HEADER: \usepackage{fontspec} |
This file contains 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
from pprint import pprint as pp | |
#import bs4 | |
import datetime | |
#import inscripts | |
#import lxml | |
import os | |
#import pexpect | |
import random | |
import re | |
# import requests |
This file contains 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
[style] | |
# Align closing bracket with visual indentation. | |
align_closing_bracket_with_visual_indent=True | |
# Allow dictionary keys to exist on multiple lines. For example: | |
# | |
# x = { | |
# ('this is the first element of a tuple', | |
# 'this is the second element of a tuple'): | |
# value, |
OlderNewer