svilens commited on
Commit
61220dc
·
verified ·
1 Parent(s): 6cc646e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -3
README.md CHANGED
@@ -15,7 +15,16 @@ tags:
15
  # Overview
16
  This is a named entity recognition model based on `knowledgator/gliner-multitask-large-v0.5`, specifically fine-tuned for automotive tire attributes extraction. The fine-tuning dataset consists of queries in Bulgarian.
17
 
18
- # How to use?
 
 
 
 
 
 
 
 
 
19
 
20
  ```
21
  from gliner import GLiNER
@@ -25,8 +34,10 @@ model = GLiNER.from_pretrained("svilens/gliner-multitask-large-v0.5-auto-tires")
25
  text = "Търся зимни гуми 225/65 R17 91V runflat за Honda CR-V 2022"
26
 
27
  labels = [
28
- "tyre_size", "tyre_type", "tyre_width", "tyre_aspect_ratio", "tyre_diameter",
29
- "tyre_load_index", "tyre_speed_rating", "tyre_type", "tyre_season",
 
 
30
  "car_make", "car_model", "car_year"
31
  ]
32
 
 
15
  # Overview
16
  This is a named entity recognition model based on `knowledgator/gliner-multitask-large-v0.5`, specifically fine-tuned for automotive tire attributes extraction. The fine-tuning dataset consists of queries in Bulgarian.
17
 
18
+ # How to use
19
+
20
+ ## Installation
21
+
22
+ ```
23
+ pip install gliner
24
+ ```
25
+
26
+ ## Usage
27
+ The example below includes all labels that the model was fine-tuned on. Although it supports extracting unseen entities, the accuracy of any other labels is not guaranteed.
28
 
29
  ```
30
  from gliner import GLiNER
 
34
  text = "Търся зимни гуми 225/65 R17 91V runflat за Honda CR-V 2022"
35
 
36
  labels = [
37
+ "tyre_size", "tyre_type", "tyre_width",
38
+ "tyre_aspect_ratio", "tyre_diameter",
39
+ "tyre_load_index", "tyre_speed_rating",
40
+ "tyre_type", "tyre_season",
41
  "car_make", "car_model", "car_year"
42
  ]
43