Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,12 @@ Such architecture brings several advantages over uni-encoder GLiNER:
|
|
29 |
|
30 |
However, it has some drawbacks such as a lack of inter-label interactions that make it hard for the model to disambiguate semantically similar but contextually different entities.
|
31 |
|
32 |
-
### Usage
|
|
|
|
|
|
|
|
|
|
|
33 |
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`.
|
34 |
|
35 |
```python
|
|
|
29 |
|
30 |
However, it has some drawbacks such as a lack of inter-label interactions that make it hard for the model to disambiguate semantically similar but contextually different entities.
|
31 |
|
32 |
+
### Installation & Usage
|
33 |
+
Install or update the gliner package:
|
34 |
+
```bash
|
35 |
+
pip install gliner -U
|
36 |
+
```
|
37 |
+
|
38 |
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`.
|
39 |
|
40 |
```python
|