From f889fcaf51d347f671bc1a15b6f56f85cea49206 Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Mon, 1 Jan 2024 01:30:04 -0700 Subject: [PATCH] Blog: switch image paths --- src/content/blog/markdown-style-guide.md | 7 +++---- src/content/blog/use-a-ramdisk.md | 2 +- src/content/llama/a-history-of-llamas.md | 4 ++-- src/content/llama/localllama_links.md | 5 ++--- src/content/unix/email-with-curl.md | 2 +- src/content/unix/ssh.md | 4 +--- src/content/unix/systemd-timers.md | 2 +- src/pages/blog/index.astro | 2 +- src/pages/llama/index.astro | 2 +- src/pages/unix/index.astro | 2 +- 10 files changed, 14 insertions(+), 18 deletions(-) diff --git a/src/content/blog/markdown-style-guide.md b/src/content/blog/markdown-style-guide.md index 877ec2f..66750b7 100644 --- a/src/content/blog/markdown-style-guide.md +++ b/src/content/blog/markdown-style-guide.md @@ -2,7 +2,6 @@ title: 'Markdown Style Guide' description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.' pubDate: 'Jul 01 2022' -heroImage: '/blog-placeholder-1.jpg' --- Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro. @@ -39,7 +38,7 @@ Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sap #### Output -![blog placeholder](/blog-placeholder-about.jpg) +![TinyLlama](/images/llama/tiny-llama-logo.avif) ## Blockquotes @@ -50,13 +49,13 @@ The blockquote element represents content that is quoted from another source, op #### Syntax ```markdown -> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. > **Note** that you can use _Markdown syntax_ within a blockquote. ``` #### Output -> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. > **Note** that you can use _Markdown syntax_ within a blockquote. ### Blockquote with attribution diff --git a/src/content/blog/use-a-ramdisk.md b/src/content/blog/use-a-ramdisk.md index 1f861f9..63a7ef7 100644 --- a/src/content/blog/use-a-ramdisk.md +++ b/src/content/blog/use-a-ramdisk.md @@ -2,7 +2,7 @@ title: 'Use a Ramdisk' description: 'Why you should use ramdisks' pubDate: 'Dec 29 2023' -heroImage: '/blog-placeholder-5.jpg' +heroText: 'RAM Disks' --- # RAM Disks diff --git a/src/content/llama/a-history-of-llamas.md b/src/content/llama/a-history-of-llamas.md index c2c8c1c..9d66818 100644 --- a/src/content/llama/a-history-of-llamas.md +++ b/src/content/llama/a-history-of-llamas.md @@ -2,7 +2,7 @@ title: 'A Brief History of Local Llamas' description: 'A Brief History of Local Llamas' updateDate: 'Jan 01 2024' -heroImage: '/images/tiny-llama-logo.avif' +heroImage: '/images/llama/tiny-llama-logo.avif' ---

@@ -18,7 +18,7 @@ methods of the time. Since then, I've also taken an NLP course, though not one focused on deep learning. Most my knowledge of this field comes from a few guest lectures, and the -indispensable [r/locallama](https://www.reddit.com/r/LocalLLaMA/) community, +indispensable [r/localllama](https://www.reddit.com/r/LocalLLaMA/) community, which always has the latest news about local llamas. I've become a fan of the local llama movement in December 2023, so the "important points" covered here are coming from a retrospective. diff --git a/src/content/llama/localllama_links.md b/src/content/llama/localllama_links.md index b435b8e..6429284 100644 --- a/src/content/llama/localllama_links.md +++ b/src/content/llama/localllama_links.md @@ -32,8 +32,6 @@ anyone looking to get caught up with the field. #### Interfaces - [List of web UIs](https://www.reddit.com/r/LocalLLaMA/comments/1847qt6/llm_webui_recommendations) - - [SillyTavern tutori]() - - https://www.reddit.com/r/CharacterAi_NSFW/comments/13yy8m9/indepth_explanation_on_how_to_install_silly/ :: tutorial sillytavern webui - [Jailbreaking GPT when prompting for characters](https://rentry.org/GPTJailbreakPrompting) - [Guidelines for prompting for characters](https://rentry.org/NG_CharCard) - [ChatML from OpenAI is quickly becoming the standard for @@ -44,7 +42,8 @@ anyone looking to get caught up with the field. - [Mergekit - MoE training framework](https://github.com/cg123/mergekit) - [Axolotl - Fine tuning framework](https://github.com/OpenAccess-AI-Collective/axolotl) - [Unsloth - Fine tuning accelerator](https://github.com/unslothai/unsloth) - - llama.cpp vs Transformers vs LangChain vs PyTorch :: library framework tool standard + - llama.cpp, Transformers, LangChain, and PyTorch are all popular libraries for + training #### Tutorials - [Karpathy builds and trains a llama](https://www.youtube.com/watch?v=kCc8FmEb1nY) diff --git a/src/content/unix/email-with-curl.md b/src/content/unix/email-with-curl.md index b681f13..55c7155 100644 --- a/src/content/unix/email-with-curl.md +++ b/src/content/unix/email-with-curl.md @@ -2,7 +2,7 @@ title: 'Send emails using Curl' description: 'Examples on how to automate emails with Curl' updateDate: 'Jul 08 2022' -heroImage: '/curl-logo.webp' +heroImage: '/images/unix/curl-logo.webp' --- # Emailing with Curl diff --git a/src/content/unix/ssh.md b/src/content/unix/ssh.md index 9480795..45b3971 100644 --- a/src/content/unix/ssh.md +++ b/src/content/unix/ssh.md @@ -2,7 +2,7 @@ title: 'SSH Quick Start Guide' description: 'The fastest way to get all the SSH essentials out of the way' updateDate: 'December 26 2023' -heroImage: '/ssh-logo.png' +heroImage: '/images/unix/ssh-logo.png' --- # SSH @@ -15,8 +15,6 @@ developer and CS researcher. It's also just really cool! -![silly akemi](/akemi_silly_transparent.png) - For this course, we will be using the university's lab machines for all assignments and lab demos. They all run Ubuntu 20.04. It's important you compile and test your code on these machines. We will not accept situations where the diff --git a/src/content/unix/systemd-timers.md b/src/content/unix/systemd-timers.md index 7ddbad5..398f6cf 100644 --- a/src/content/unix/systemd-timers.md +++ b/src/content/unix/systemd-timers.md @@ -2,7 +2,7 @@ title: 'Systemd Timers' description: "Replacing Crontabs with Systemd's timer mechanism" updateDate: 'Dec 29 2023' -heroImage: '/systemd-dark.webp' +heroImage: '/images/unix/systemd-dark.webp' --- # Systemd Timers diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 7209676..fd7f2aa 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -42,7 +42,7 @@ const posts = (await getCollection('blog')).sort( width={720} height={360} class="rounded-2xl grayscale" - src={post.data.heroImage} + src={ post.data.heroImage ? post.data.heroImage : "/images/llama/tiny-llama-logo.avif" } alt="" />

{post.data.heroText} diff --git a/src/pages/llama/index.astro b/src/pages/llama/index.astro index c41f513..068688c 100644 --- a/src/pages/llama/index.astro +++ b/src/pages/llama/index.astro @@ -54,7 +54,7 @@ const posts = (await getCollection('llama')).sort( width={720} height={360} class="rounded-2xl grayscale" - src={ post.data.heroImage ? post.data.heroImage : "/images/tiny-llama-logo.avif" } + src={ post.data.heroImage ? post.data.heroImage : "/images/llama/tiny-llama-logo.avif" } alt="" />

diff --git a/src/pages/unix/index.astro b/src/pages/unix/index.astro index c643d23..e503363 100644 --- a/src/pages/unix/index.astro +++ b/src/pages/unix/index.astro @@ -55,7 +55,7 @@ const posts = (await getCollection('unix')).sort( width={720} height={360} class="rounded-2xl grayscale" - src={ post.data.heroImage ? post.data.heroImage : "/terminal.webp" } + src={ post.data.heroImage ? post.data.heroImage : "/images/unix/terminal.webp" } alt="" />