Token Classification
GLiNER
PyTorch
multilingual
NER
GLiNER
information extraction
encoder
entity recognition
Instructions to use knowledgator/gliner-bi-small-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use knowledgator/gliner-bi-small-v1.0 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("knowledgator/gliner-bi-small-v1.0") - Notebooks
- Google Colab
- Kaggle
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
|