Skip to content

Commit 3f420b2

Browse files
committed
moo dang updates
1 parent 292d4b8 commit 3f420b2

File tree

6 files changed

+242
-489
lines changed

6 files changed

+242
-489
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ This workshop has been tested on the following platforms:
4545

4646
* [JJ Asghar](https://github.com/jjasghar)
4747
* [Gabe Goodhart](https://github.com/gabe-l-hart)
48+
* [Ming Zhao](https://github.com/mingxzhao)
4849

4950
<img src="https://count.asgharlabs.io/count?p=/main_opensource_ai_page">

docs/lab-1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If not you can use these steps in VSCode:
4949
Next you'll need to configure `continue` which will require you to take the following `json` and open the `config.json`
5050
file via the command palette.
5151

52-
1. Open the command palette (Press Ctrl/Cmd+Shift+P)
52+
1. Open the command palette (Press Cmd+Shift+P)
5353
2. Select Continue: Open `config.json`.
5454

5555
In `config.json`, add a section for each model you want to use. Here, we're registering the Granite Code 20b model we downloaded earlier. Replace the line that says `"models": []` with the following:

docs/lab-2/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Lets play with our new found local AI Open Source AI!
44

5+
!!! note
6+
There is an expectation of some programming experience/knowledge here, if you don't have any
7+
or are uncomfortable here, don't fret! Our TA's are here to help and want to help, raise your
8+
hand and ask. You can always skip to Lab 3, or Lab 5 if you want.
9+
510
## Sanity checks
611

712
When you open up `continue` inside of VSCode it should look something like:
@@ -11,7 +16,7 @@ Before we go any farther, write in "Who is batman?" to verify that `ollama`,
1116
VSCode, and `continue` are all working correctly.
1217

1318
!!! troubleshooting
14-
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, restart Visual Studio Code. If that doesn't resolve your issue, restart `ollama`.
1520

1621
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).
1722
Its worth taken the moment if you want, otherwise, when you get home and try this on your own
@@ -64,16 +69,16 @@ Don't believe me? Bring up the terminal and attempt to run this code after you a
6469

6570
![nope doesn't do anything](../images/nowork.png)
6671

67-
Well that isn't good is it? Yours may be different code, or maybe it does work, but at least in this
68-
example we need to to get the code fixed.
72+
Well that isn't good is it? Yours **will probably** be different code, or maybe it does work (if it does you're lucky
73+
and raise your hand the TAs will want to see it), but at least in this example we need to to get the code fixed.
6974

7075
## First pass at debugging
7176

7277
I'll run the following commands to build up an virtual environment, and install some modules, lets
7378
see how far we get.
7479

7580
!!! tip
76-
If these next commands are foreign to you, it's ok. These are `python` commands, and you can just
81+
If these next commands are foreign to you, it's OK. These are `python` commands, and you can just
7782
copy paste it in. If you'd like to know more or _why_ it is, raise your hand a TA should be able
7883
to explain it to you.
7984

@@ -91,7 +96,7 @@ so it's more readable.
9196

9297
!!! note
9398
You can try using the built-in autocomplete and code assistant functions to generate any missing code.
94-
In our example, we're missing a "main" entry point to the script. Try hitting `cmd/ctrl + I` again,
99+
In our example, we're missing a "main" entry point to the script. Try hitting `cmd + I` again,
95100
and typing in something like: "write a main function for my game that plays twenty rounds of Conway's
96101
game of life using the `board()` function." What happens?
97102

@@ -126,7 +131,7 @@ I can at least run my application now:
126131

127132
But that doesn't work right?! OK, lets start debugging more. This next step is to leverage Granite-Code to
128133
tell me whats going on with the different functions. Go ahead and highlight any _one_ of them and run:
129-
`ctrl-L` or `command-L` to add it to the context window and ask granite-coder something like
134+
`cmd-L` to add it to the context window and ask granite-coder something like
130135

131136
```
132137
what does this function do?

0 commit comments

Comments
 (0)