Token Classification
GLiNER
PyTorch
multilingual
NER
GLiNER
information extraction
encoder
entity recognition
Ihor commited on
Commit
48a0771
1 Parent(s): 20921d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -0
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