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) |
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
| 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
| (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
| import Batteries | |
| import Lean.Elab.BuiltinEvalCommand | |
| open Lean.Meta Lean.Elab | |
| -- Most of this stolen from Lean/Elab/BuiltinEvalcommand.lean | |
| /-- | |
| Try to make a `@projFn ty inst e` application, even if it takes unfolding the type `ty` of `e` to synthesize the instance `inst`. | |
| -/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #lang racket | |
| (require (for-syntax syntax/parse | |
| racket/syntax | |
| racket/string | |
| racket/match | |
| syntax/parse/class/paren-shape)) | |
| (provide make-godot-parser define-godot-bindings) | |
| (module+ test |
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
| "========== character a ============" | |
| mathcomp.solvable.abelian.html contains: | |
| - end : Q16220058 | |
| - order : Q2029226 | |
| - structure : Q6671777 | |
| - f : Q9765 | |
| - g : Q9739 | |
| - t : Q9813 | |
| - d : Q9884 | |
| - call : Q407264 |
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
| ;;; search-with-llama.el --- Find an answer to your query using llama! -*- lexical-binding: t; -*- | |
| ;; Copyright (C) 2023 Kiran Gopinathan | |
| ;; Author: Kiran Gopinathan | |
| ;; Keywords: | |
| ;; This program is free software; you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | |
| ;; the Free Software Foundation, either version 3 of the License, or |
NewerOlder