File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,26 @@ Special thanks to the creators and contributors of [gemma.cpp](https://github.co
11
11
12
12
13
13
## 🛠 Installation
14
+ ` Prerequisites ` : Ensure Python 3.8+ and pip are installed.
14
15
16
+ ### Install from PyPI
17
+ For a quick setup, install directly from PyPI:
18
+ ``` bash
19
+ pip install pygemma==0.1.0
20
+ ```
21
+
22
+ ### For Developers: Install from Source
23
+ To install the latest version or for development purposes:
24
+
25
+ 1 . Clone the repo and enter the directory:
15
26
``` bash
16
27
git clone https://github.com/namtranase/gemma-cpp-python.git
17
- git submodule update --init --recursive
18
- pip install -r requirements.txt
19
- pip install .
28
+ cd gemma-cpp-python
29
+ ```
30
+
31
+ 2 . Install Python dependencies and pygemma:
32
+ ``` bash
33
+ pip install -r requirements.txt && pip install .
20
34
```
21
35
22
36
## 🖥 Usage
@@ -29,8 +43,6 @@ import pygemma
29
43
pygemma.show_help ()
30
44
```
31
45
32
-
33
-
34
46
## 🤝 Contributing
35
47
Contributions are welcome. Please clone the repository, push your changes to a new branch, and submit a pull request.
36
48
You can’t perform that action at this time.
0 commit comments