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
| (library | |
| (name macros) | |
| (modules "macros") | |
| (libraries ppxlib) | |
| (kind ppx_rewriter) | |
| (preprocess (pps ppxlib.metaquot))) | |
| (executable | |
| (public_name macros) | |
| (modules "main") |
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
| from tqdm import tqdm | |
| from transformers import AutoTokenizer, pipeline | |
| from pathlib import Path | |
| import torch | |
| model_name = "kirancodes/llemma-7b-lora-sft-pretrained-RQ2" | |
| tokenizer = AutoTokenizer.from_pretrained(model_name) | |
| llama_pipeline = pipeline( | |
| "text-generation", | |
| tokenizer=tokenizer, |
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-package org-roam | |
| :straight t | |
| :init | |
| (setq org-roam-directory (file-truename "~/org/roam")) | |
| (setq org-roam-dailies-directory "daily/") | |
| (setq org-roam-dailies-capture-templates | |
| '(("d" "default" entry | |
| "* %?" | |
| :target (file+head "%<%Y-%m-%d>.org" | |
| "#+title: %<%Y-%m-%d>\n")))) |
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
| (module slide-visual racket | |
| (module slide-wrapper-linker racket | |
| (require "viewer.rkt" slideshow/param slideshow/sig slideshow/cmdline) | |
| (define custom-linker | |
| (lambda (core@) | |
| (println "calling custom linker") | |
| (compound-unit | |
| (import) | |
| (export CORE CMDLINE VIEWER) |
OlderNewer