You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/lab-1/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Many open LLMs available today license the model itself for derivative work, but
23
23
24
24
Granite Code comes in a wide range of sizes to fit your workstation's available resources. Generally, the bigger the model, the better the results, with a tradeoff: model responses will be slower, and it will take up more resources on your machine. We chose the 20b option as my starting point for chat and the 8b option for code generation. Ollama offers a convenient pull feature to download models:
25
25
26
-
Open up your terminal, and run the following commands:
26
+
Open up a second terminal, and run the following commands:
Copy file name to clipboardExpand all lines: docs/lab-2/README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ Before we go any farther, write in "Who is batman?" to verify that `ollama`,
16
16
VSCode, and `continue` are all working correctly.
17
17
18
18
!!! troubleshooting
19
-
If Continue is taking a long time to respond, restart Visual Studio Code. If that doesn't resolve your issue, restart `ollama`.
19
+
If Continue is taking a long time to respond, make sure your terminal with `ollama serve` is still running. If Ollama is running, restart Visual Studio Code.
20
+
If that doesn't resolve your issue, restart Ollama.
20
21
21
22
If you would like to go deeper with `continue`, take a look at the [official Continue.dev how-to guide](https://docs.continue.dev/how-to-use-continue).
22
23
Its worth taken the moment if you want, otherwise, when you get home and try this on your own
@@ -32,6 +33,9 @@ this technology is there to support you, not _do_ your work.
32
33
Now, lets open up VSCode and have it look something like the following:
33
34

34
35
36
+
!!! troubleshooting
37
+
If you lose the Continue pane in VSCode, you can re-enable it in VSCode by clicking at the top of the screen under "View --> Appearance --> Secondary Side Bar" and then the Continue window will be visiable again.
38
+
35
39
## Building out `main.py`
36
40
37
41
Now create a new file, and put it in a new directory. Normally it's `ctrl-n` or `command-n` call it
@@ -74,7 +78,7 @@ and raise your hand the TAs will want to see it), but at least in this example w
74
78
75
79
## First pass at debugging
76
80
77
-
I'll run the following commands to build up an virtual environment, and install some modules, lets
81
+
We'll run the following commands to build up an virtual environment, and install some modules, lets
78
82
see how far we get.
79
83
80
84
!!! tip
@@ -120,7 +124,7 @@ For me, all I had to do was remove those extra spaces, but I'd be curious to kno
120
124
121
125
## Second pass at debugging
122
126
123
-
Now that I've clean it up, and it seems I had to do some importing:
127
+
Now that I've cleaned it up, and it seems I had to do some importing:
0 commit comments