File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -52,30 +52,38 @@ The related sub-pages linked above -- *gcp*, *aws* and *azure* -- are AI notes o
5252- OLMO at AI2
5353- Maizey at UMich
5454
55+ ## context
56+
57+ Suggestion: Build a prompt using the "PACE" guideline acronym: State Problem, Action, Context, Example.
5558
56- ## ai recipe
5759
60+ ## ai recipe
5861
5962Let's run through a HuggingFace example subject to these constraints:
6063
6164- Easy to implement on Ubuntu Linux running on WSL2 in turn on a Windows laptop
6265- Very lightweight processing task
6366
67+
68+ Update the Advanced Package Tool ` apt ` library registry; and permit it to make upgrades of
69+ installed libraries:
70+
71+
6472```
6573sudo apt update
6674sudo apt upgrade
6775```
6876
69- ```
70- sudo apt install python3 python3-pip
71- ```
77+ Ensure that ` python ` , ` pip ` and ` conda ` are installed. Let's assume ` pip ` will do the job:
78+ First install ` pytorch ` , then ` transformers ` .
79+
7280
7381```
74- pip3 install transformers
75- pip3 install torch # PyTorch
82+ pip install torch
83+ pip install transformers
7684```
7785
78- Optional: Clone a repo for a web interface:
86+ To set up a browser-based interface: Clone the following repository:
7987
8088
8189```
You can’t perform that action at this time.
0 commit comments