Update README.md
Browse files
README.md
CHANGED
|
@@ -74,6 +74,12 @@ You can use the model with the Hugging Face `transformers` and the rubra library
|
|
| 74 |
pip install rubra_tools torch==2.3.0 transformers
|
| 75 |
```
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
### 1. Load the Model
|
| 78 |
```python
|
| 79 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
|
| 74 |
pip install rubra_tools torch==2.3.0 transformers
|
| 75 |
```
|
| 76 |
|
| 77 |
+
You also need Node.js and npm installed. Once you do, install the `jsonrepair` package - it's used to fix some rare hallucinations by the model.
|
| 78 |
+
|
| 79 |
+
```
|
| 80 |
+
npm install jsonrepair
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
### 1. Load the Model
|
| 84 |
```python
|
| 85 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|