Update README with installable gliner; add library_name

#1
by tomaarsen HF staff - opened
Files changed (1) hide show
  1. README.md +4 -5
README.md CHANGED
@@ -2,6 +2,7 @@
2
  language:
3
  - it
4
  pipeline_tag: token-classification
 
5
  ---
6
 
7
  # Universal NER for Italian (Zero-Shot)
@@ -18,18 +19,16 @@ You can test the model directly in your browser through the following Hugging Fa
18
  It's important to note that **this model is universal and operates across all domains**. However, if you are seeking performance metrics close to a 90/99% F1 score for a specific domain, you are encouraged to reach out via email to Michele Montebovi at montebovi.michele@gmail.com. This direct contact allows for the possibility of customizing the model to achieve enhanced performance tailored to your unique entity recognition requirements in the Italian language.
19
 
20
  # Installation
21
- To use this model, you must download the GLiNER repository and install its dependencies!!:
22
 
23
  ```
24
- !git clone https://github.com/urchade/GLiNER.git
25
- %cd GLiNER
26
- !pip install -r requirements.txt
27
  ```
28
 
29
  # Usage
30
 
31
  ```python
32
- from model import GLiNER
33
 
34
  model = GLiNER.from_pretrained("DeepMount00/universal_ner_ita")
35
 
 
2
  language:
3
  - it
4
  pipeline_tag: token-classification
5
+ library_name: gliner
6
  ---
7
 
8
  # Universal NER for Italian (Zero-Shot)
 
19
  It's important to note that **this model is universal and operates across all domains**. However, if you are seeking performance metrics close to a 90/99% F1 score for a specific domain, you are encouraged to reach out via email to Michele Montebovi at montebovi.michele@gmail.com. This direct contact allows for the possibility of customizing the model to achieve enhanced performance tailored to your unique entity recognition requirements in the Italian language.
20
 
21
  # Installation
22
+ To use this model, you must download the GLiNER project:
23
 
24
  ```
25
+ !pip install gliner
 
 
26
  ```
27
 
28
  # Usage
29
 
30
  ```python
31
+ from gliner import GLiNER
32
 
33
  model = GLiNER.from_pretrained("DeepMount00/universal_ner_ita")
34