Skip to content

Commit 41525c8

Browse files
authored
feat: upgrade from xx_sent_ud_sm to SaT (#74)
1 parent c57aac1 commit 41525c8

File tree

6 files changed

+109
-720
lines changed

6 files changed

+109
-720
lines changed

README.md

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,20 @@ RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with Postgr
3939

4040
## Installing
4141

42-
First, begin by installing spaCy's multilingual sentence model:
43-
44-
```sh
45-
# Install spaCy's xx_sent_ud_sm:
46-
pip install https://github.com/explosion/spacy-models/releases/download/xx_sent_ud_sm-3.7.0/xx_sent_ud_sm-3.7.0-py3-none-any.whl
47-
```
48-
49-
Next, it is optional but recommended to install [an accelerated llama-cpp-python precompiled binary](https://github.com/abetlen/llama-cpp-python?tab=readme-ov-file#supported-backends) with:
50-
51-
```sh
52-
# Configure which llama-cpp-python precompiled binary to install (⚠️ On macOS only v0.3.2 is supported right now):
53-
LLAMA_CPP_PYTHON_VERSION=0.3.2
54-
PYTHON_VERSION=310
55-
ACCELERATOR=metal|cu121|cu122|cu123|cu124
56-
PLATFORM=macosx_11_0_arm64|linux_x86_64|win_amd64
57-
58-
# Install llama-cpp-python:
59-
pip install "https://github.com/abetlen/llama-cpp-python/releases/download/v$LLAMA_CPP_PYTHON_VERSION-$ACCELERATOR/llama_cpp_python-$LLAMA_CPP_PYTHON_VERSION-cp$PYTHON_VERSION-cp$PYTHON_VERSION-$PLATFORM.whl"
60-
```
61-
62-
Finally, install RAGLite with:
42+
> [!TIP]
43+
> 🚀 It is optional but recommended to install [an accelerated llama-cpp-python precompiled binary](https://github.com/abetlen/llama-cpp-python?tab=readme-ov-file#supported-backends) with:
44+
> ```sh
45+
> # Configure which llama-cpp-python precompiled binary to install (⚠️ On macOS only v0.3.2 is supported right now):
46+
> LLAMA_CPP_PYTHON_VERSION=0.3.2
47+
> PYTHON_VERSION=310
48+
> ACCELERATOR=metal|cu121|cu122|cu123|cu124
49+
> PLATFORM=macosx_11_0_arm64|linux_x86_64|win_amd64
50+
>
51+
> # Install llama-cpp-python:
52+
> pip install "https://github.com/abetlen/llama-cpp-python/releases/download/v$LLAMA_CPP_PYTHON_VERSION-$ACCELERATOR/llama_cpp_python-$LLAMA_CPP_PYTHON_VERSION-cp$PYTHON_VERSION-cp$PYTHON_VERSION-$PLATFORM.whl"
53+
> ```
54+
55+
Install RAGLite with:
6356
6457
```sh
6558
pip install raglite

0 commit comments

Comments
 (0)