Linux setup instructions, VSCode alternative, improved .env loading

This commit is contained in:
Edward Donner
2024-12-27 23:25:47 +00:00
parent 01ccd4cf62
commit 90f3fe774a
5 changed files with 199 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ https://edwarddonner.com/2024/11/13/llm-engineering-resources/
We will start the course by installing Ollama so you can see results immediately!
1. Download and install Ollama from https://ollama.com noting that on a PC you might need to have administrator permissions for the install to work properly
2. On a PC, start a Command prompt / Powershell (Press Win + R, type `cmd`, and press Enter). On a Mac, start a Terminal (Applications > Utilities > Terminal).
3. Run `ollama run llama3.2` or for smaller machines try `ollama run llama3.2:1b`
3. Run `ollama run llama3.2` or for smaller machines try `ollama run llama3.2:1b` - **please note** steer clear of Meta's latest model llama3.3 because at 70B parameters that's way too large for most home computers!
4. If this doesn't work, you may need to run `ollama serve` in another Powershell (Windows) or Terminal (Mac), and try step 3 again
5. And if that doesn't work on your box, I've set up this on the cloud. This is on Google Colab, which will need you to have a Google account to sign in, but is free: https://colab.research.google.com/drive/1-_f5XZPsChvfU1sJ0QqCePtIuc55LSdu?usp=sharing
@@ -32,8 +32,10 @@ After we do the Ollama quick project, and after I introduce myself and the cours
Hopefully I've done a decent job of making these guides bulletproof - but please contact me right away if you hit roadblocks:
- PC people please follow the instructions in [SETUP-PC.md](SETUP-PC.md)
- Mac people please follow the instructions in [SETUP-mac.md](SETUP-mac.md)
- Linux people, the Mac instructions should be close enough!
- Mac people please follow the instructions in [SETUP-mac.md](SETUP-mac.md)
- Linux people please follow the instructions in [SETUP-linux.md](SETUP-linux.md)
The are also PDF versions of the setup instructions in this folder if you'd prefer.
### An important point on API costs (which are optional! No need to spend if you don't wish)