Update README.md
Browse files
README.md
CHANGED
@@ -40,6 +40,11 @@ And LLM2Vec package:
|
|
40 |
```bash
|
41 |
pip install llm2vec
|
42 |
```
|
|
|
|
|
|
|
|
|
|
|
43 |
Once you've downloaded the GLiNER library, you can import the GLiNER class. You can then load this model using `GLiNER.from_pretrained` and predict entities with `predict_entities`.
|
44 |
|
45 |
```python
|
|
|
40 |
```bash
|
41 |
pip install llm2vec
|
42 |
```
|
43 |
+
To use this particular Qwen-based model you need different `transformers` package version than llm2vec requires, so install it manually:
|
44 |
+
```bash
|
45 |
+
pip install transformers==4.44.1
|
46 |
+
```
|
47 |
+
|
48 |
Once you've downloaded the GLiNER library, you can import the GLiNER class. You can then load this model using `GLiNER.from_pretrained` and predict entities with `predict_entities`.
|
49 |
|
50 |
```python
|