← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 17
  1. William: a tiny poetry model in the browser

    William is a tiny local language model I trained to write short poems.

  2. Configuring Pyright with uv

    To get pyright to look at the correct package installation folder (using pyproject.toml, like uv does), add the following to the pyproject.toml.

  3. Interactive Shell Inside a Slurm Job

    To access the shell inside a job, instead of SSHing into the node (in a case when one has multiple jobs in the same node). srun --jobid=<jobid> --pty bash

  4. Custom uv Environments and Caches with direnv

    When working on turing/ada, it is useful to install python packages on the /scratch directory instead of .venv.

  5. Establishing Communication

    Michelangelo, The Creation of Adam (c. 1512) From Ilya Sutskever, Oriol Vinyals & Quoc V.

  6. --index-strategy unsafe-best-match

    Installing PyTorch 2.5.1, Fairseq2, CUDA 12.1. uv pip install fairseq2 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/pt2.5.1/cu121 --upgrade --index-strategy unsafe-best-match Note from uv: “A compatible version may be available on a su…

  7. biaffine dependency parsing

    \[h_{i}^{head} = FNN^{head}(r_i)\] \[h_{i}^{dep} = FNN^{dep}(r_i)\] \[s_{i,j} = Biaff(h_i^{head}, h_j^{dep})\] \[Biaff(x_1, x_2) = x_1^T U x_2 + W(x_1 \oplus x_2) + b\] \[ArcScore :: Biaff(x_1, x_2) \rightarrow p^{|toks|}\] \[LabelScore :: Biaff(x1, x2),…

  8. Fixing the Python REPL in Emacs

    The default uv python install uses libedit readline which doesn’t work well with emacs.

  9. std::multiset

    For problems needing logarithmic searching and removing, like concert tickets, std::multiset multiset<int> tickets; for { auto it = tickets.upper_bound(x) if () { .. } else { tickets.erase(x) } }

  10. Ada Cluster Reference

    ncdu for looking at the disk usage. sinteractive -c 10 -g 2 for getting a node.

  11. Static Types and Legacy Python

    Update: pls use pathlib I was given a folder of python2 files to work with for a task required to be done for my lab (LTRC, IIIT-H).

  12. Fetching Recent Last.fm Tracks

    #!

  13. Typeface preferences and C-k

    (set-frame-font "-*-Iosevka-regular-normal-normal-*-12-*-*-*-m-0-iso10646-1") wisdom: C-k does not copy into the global mark-ring most times.

  14. Exporting Org Notes to Jekyll

    (defun generate-file-name (title) (interactive "sEnter title:") (message (format "/Some/Folder/komikat.github.io/_posts/%s-%s.md" (format-time-string "%Y-%m-%d") (replace-regexp-in-string " " "-" (downcase title)))) ) (defun generate-…

  15. lisp syntax highlight testing

    (cons "one" "second") ; '("one" "second") Useful links Practical Common Lisp Relevant stack overflow

  16. Asahi Linux Setup

    Why?

  17. Hello world! (for the 7538th time)

    Update This website is now serves to be my public notepad.