Skip to content

Commit

Permalink
simpler links
Browse files Browse the repository at this point in the history
  • Loading branch information
galtay committed Jan 6, 2025
1 parent e682666 commit 2d07058
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
10 changes: 5 additions & 5 deletions _posts/2025-01-04-ollama-model-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ date: 2025-01-04
tags: til ollama systemd
---

I was downloading some large [ollama](https://ollama.com/){:target="_blank"} models and ran out of space on my linux machine.
I was downloading some large [ollama](https://ollama.com/) models and ran out of space on my linux machine.
I then realized that the default model storage location is `/usr/share`.
This path is mounted on my OS disk and there is not much storage there so I wanted the downloaded models to be stored elsewhere.
It turns out this is a [common request](https://github.com/ollama/ollama/issues/680){:target="_blank"}
It turns out this is a [common request](https://github.com/ollama/ollama/issues/680)
and it can be done using an `OLLAMA_MODELS` environment variable.
The docs cover the pieces,
* [where models are stored](https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored){:target="_blank"}
* [configuring ollama service](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server){:target="_blank"}
* [where models are stored](https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored)
* [configuring ollama service](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server)

but it took me a few tries.

Expand All @@ -21,7 +21,7 @@ made an `ollama` directory and gave it
* read, write, and execute permissions for user owner
* read and execute permissions for group owner and others

with the octal value 755 (read more about linux permissions [here](https://www.redhat.com/en/blog/linux-file-permissions-explained){:target="_blank"}).
with the octal value 755 (read more about linux permissions [here](https://www.redhat.com/en/blog/linux-file-permissions-explained)).
I then made `ollama` the user and group owner of that directory.

``` bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ date: 2025-01-04
tags: tif future-house nlp bio-foundation
---

[Sam Rodriques](https://www.sam-rodriques.com/){:target="_blank"}
[Sam Rodriques](https://www.sam-rodriques.com/)
Director and CEO of [FutureHouse](https://www.futurehouse.org/),
a non-profit working on AI agents to automate research in biology and other complex sciences, discusses the need for natural language understanding alongside structured biological foundation models.

> Indeed, I think natural language has an essential role to play in representing biology, and is ultimately unavoidable, insofar as it is the only medium we know of that is sufficiently structured for machine learning and sufficiently flexible to represent the full diversity of biological concepts.
---

source [X post](https://x.com/SGRodriques/status/1870531405127840235){:target="_blank"}
source [X post](https://x.com/SGRodriques/status/1870531405127840235)
20 changes: 10 additions & 10 deletions _posts/2025-01-04-setup-jekyll.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ date: 2025-01-04
tags: til jekyll minimal-mistakes
---

This is how I setup a static [Jekyll](https://jekyllrb.com){:target="_blank"}
This is how I setup a static [Jekyll](https://jekyllrb.com)
site hosted with
[github pages](https://pages.github.com){:target="_blank"}.
[github pages](https://pages.github.com).
The code is hosted at
[https://github.com/galtay/blog](https://github.com/galtay/blog){:target="_blank"}
[https://github.com/galtay/blog](https://github.com/galtay/blog)
and the site is hosted at
[https://galtay.github.io/blog](https://galtay.github.io/blog){:target="_blank"}.
[https://galtay.github.io/blog](https://galtay.github.io/blog).

# Setup Ruby

Install a Ruby version manager.
I used [rbenv](https://github.com/rbenv/rbenv){:target="_blank"}.
I used [rbenv](https://github.com/rbenv/rbenv).
I was working on Ubuntu so I used apt,

```bash
Expand All @@ -38,16 +38,16 @@ rbenv rehash

# Setup Minimal Mistakes Theme

The minimal-mistakes theme by [Michael Rose](https://mademistakes.com/){:target="_blank"} is great!
The minimal-mistakes theme by [Michael Rose](https://mademistakes.com/) is great!

* [main repo](https://github.com/mmistakes/minimal-mistakes){:target="_blank"}
* [starter repo](https://github.com/mmistakes/mm-github-pages-starter){:target="_blank"}
* [docs](https://mmistakes.github.io/minimal-mistakes){:target="_blank"}
* [main repo](https://github.com/mmistakes/minimal-mistakes)
* [starter repo](https://github.com/mmistakes/mm-github-pages-starter)
* [docs](https://mmistakes.github.io/minimal-mistakes)

I began with the starter repo and simply updated the links in `_config.yml` and started writing posts.

Posts can be written in markdown and the flavor of markdown used is
[kramdown](https://kramdown.gettalong.org/syntax.html){:target="_blank"}.
[kramdown](https://kramdown.gettalong.org/syntax.html).

# Run Locally

Expand Down
14 changes: 7 additions & 7 deletions _posts/2025-01-04-simon-willison-on-link-blogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ tags: tif blogging

[Simon Willison](https://en.wikipedia.org/wiki/Simon_Willison)
is a co-creator of
[Django](https://www.djangoproject.com/){:target="_blank"}, gives
[great talks](https://www.youtube.com/watch?v=P1-KQZZarpc){:target="_blank"}
at events like [PyCon](https://us.pycon.org/2024/about/keynote-speakers/index.html){:target="_blank"},
[Django](https://www.djangoproject.com/), gives
[great talks](https://www.youtube.com/watch?v=P1-KQZZarpc)
at events like [PyCon](https://us.pycon.org/2024/about/keynote-speakers/index.html),
and is the kind of
[netizen](https://en.wikipedia.org/wiki/Netizen){:target="_blank"}
[netizen](https://en.wikipedia.org/wiki/Netizen)
we should all aspire to be more like.
In his
[My approach to running a link blog](https://simonwillison.net/2024/Dec/22/link-blog/){:target="_blank"}
post and the rest of his [how I blog](https://simonwillison.net/series/blogging/){:target="_blank"} series,
[My approach to running a link blog](https://simonwillison.net/2024/Dec/22/link-blog/)
post and the rest of his [how I blog](https://simonwillison.net/series/blogging/) series,
he lets you know that he wants you to start a blog.

> You should start a blog. Having your own little corner of the internet is good for the soul!
Expand Down Expand Up @@ -46,4 +46,4 @@ Ideal world challenge accepted! You'll be able to identify my "thing i found" po

---

source [My approach to running a link blog](https://simonwillison.net/2024/Dec/22/link-blog/){:target="_blank"}
source [My approach to running a link blog](https://simonwillison.net/2024/Dec/22/link-blog/)

0 comments on commit 2d07058

Please sign in to comment.