ankur310794 commited on
Commit
993b8c9
1 Parent(s): 5a9d130
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {'author': 'P50',
2
+ 'capital': 'P36',
3
+ 'child': 'P40',
4
+ 'country': 'P17',
5
+ 'country of origin': 'P495',
6
+ 'creator': 'P170',
7
+ 'educated at': 'P69',
8
+ 'founder': 'P112',
9
+ 'genre': 'P136',
10
+ 'headquarters location': 'P159',
11
+ 'language of work or name': 'P407',
12
+ 'located in the administrative territorial entity': 'P131',
13
+ 'location': 'P276',
14
+ 'location of formation': 'P740',
15
+ 'manufacturer': 'P176',
16
+ 'notable work': 'P800',
17
+ 'occupation': 'P106',
18
+ 'owned by': 'P127',
19
+ 'performer': 'P175',
20
+ 'place of birth': 'P19',
21
+ 'place of death': 'P20',
22
+ 'position played on team / speciality': 'P413',
23
+ 'record label': 'P264',
24
+ 'spouse': 'P26'}
25
+
26
+ 1250/1250 [==============================] - 159s 116ms/step - loss: 0.2096 - accuracy: 0.9570 - val_loss: 0.0407 - val_accuracy: 0.9805
27
+
28
+
29
+ from transformers import pipeline
30
+ classfier = pipeline("text-classification", model="nlpconnect/distilbert-base-cased-wikiproperties-classifier")