Skip to content

Commit 77036e9

Browse files
authored
Update README.md
1 parent 65f165f commit 77036e9

File tree

1 file changed

+35
-18
lines changed

1 file changed

+35
-18
lines changed

README.md

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ make chat
1818
./chat
1919
```
2020

21-
You can download the weights for `ggml-alpaca-7b-q4.bin` with BitTorrent `magnet:?xt=urn:btih:5aaceaec63b03e51a98f04fd5c42320b2a033010&dn=ggml-alpaca-7b-q4.bin&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce`
21+
You can download the weights for `ggml-alpaca-7b-q4.bin` with BitTorrent:
22+
23+
magnet: `magnet:?xt=urn:btih:5aaceaec63b03e51a98f04fd5c42320b2a033010&dn=ggml-alpaca-7b-q4.bin&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce`
24+
torrent: https://btcache.me/torrent/5AACEAEC63B03E51A98F04FD5C42320B2A033010
25+
torrent: https://torrage.info/torrent.php?h=5aaceaec63b03e51a98f04fd5c42320b2a033010
2226

2327

2428
Alternatively you can download them with IPFS.
@@ -36,30 +40,43 @@ The weights are based on the published fine-tunes from `alpaca-lora`, converted
3640

3741
## Windows Setup
3842

39-
- Download and install CMake: <https://cmake.org/download/>
40-
- Download and install `git`. If you've never used git before, consider a GUI client like <https://desktop.github.com/>
41-
- Clone this repo using your git client of choice (for GitHub Desktop, go to File -> Clone repository -> From URL and paste `https://github.com/antimatter15/alpaca.cpp` in as the URL)
42-
- Open a Windows Terminal inside the folder you cloned the repository to
43-
- Run the following commands one by one:
43+
1. Get the `chat.exe` binary
4444

45-
```ps1
46-
cmake .
47-
cmake --build . --config Release
48-
```
45+
a) Download a [prebuilt release](https://github.com/anzz1/alpaca.cpp/releases) and extract it.
4946

50-
- Download the weights via any of the links in "Get started" above, and save the file as `ggml-alpaca-7b-q4.bin` in the main Alpaca directory.
51-
- In the terminal window, run this command:
52-
```ps1
53-
.\Release\chat.exe
54-
```
55-
- (You can add other launch options like `--n 8` as preferred onto the same line)
56-
- You can now type to the AI in the terminal and it will reply. Enjoy!
47+
or
48+
49+
b) Build it yourself:
50+
- Download and install CMake: <https://cmake.org/download/>
51+
- Download and install `git`. If you've never used git before, consider a GUI client like <https://desktop.github.com/>
52+
- Clone this repo using your git client of choice (for GitHub Desktop, go to File -> Clone repository -> From URL and paste `https://github.com/antimatter15/alpaca.cpp` in as the URL)
53+
- Open a Windows Terminal inside the folder you cloned the repository to
54+
- Run the following commands one by one:
55+
```ps1
56+
mkdir build
57+
cd build
58+
cmake ..
59+
cmake --build . --config Release
60+
```
61+
62+
2. Download the weights via any of the links in "Get started" above, and save the file as `ggml-alpaca-7b-q4.bin` in the main Alpaca directory.
63+
64+
3. In the terminal window, run this command:
65+
```ps1
66+
.\chat.exe
67+
```
68+
- (You can add `--help` to view the launch options)
69+
- You can now type to the AI in the terminal and it will reply. Enjoy!
5770

5871
## 13B
5972

6073
TODO
6174

62-
Torrent: `magnet:?xt=urn:btih:f3cf71b172129d6b5abccab393bc32253fac8159&dn=ggml-alpaca-13b-q4.bin&tr=udp%3A%2F%http://2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%https://t.co/zenhelfwRd%3A6969%2Fannounce&tr=https%3A%2F%https://t.co/zenhelfwRd%3A443%2Fannounce&tr=udp%3A%2F%https://t.co/RRAn1X65wE%3A6969%2Fannounce&tr=udp%3A%2F%https://t.co/uTXBeTLUMa%3A2810%2Fannounce`
75+
You can download the weights for `ggml-alpaca-13b-q4.bin` with BitTorrent:
76+
77+
magnet: `magnet:?xt=urn:btih:053b3d54d2e77ff020ebddf51dad681f2a651071&dn=ggml-alpaca-13b-q4.bin&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2810%2Fannounce`
78+
torrent: https://btcache.me/torrent/053B3D54D2E77FF020EBDDF51DAD681F2A651071
79+
torrent: https://torrage.info/torrent.php?h=053b3d54d2e77ff020ebddf51dad681f2a651071
6380

6481

6582
```

0 commit comments

Comments
 (0)