CCatalao commited on
Commit
8488e58
·
1 Parent(s): 14e35a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -32,6 +32,31 @@ topic_model = BERTopic.load("CCatalao/respapers_topics")
32
 
33
  topic_model.get_topic_info()
34
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  ## Topic overview
37
 
 
32
 
33
  topic_model.get_topic_info()
34
  ```
35
+ To view the KeyBERT inspired topic representation please use the following:
36
+
37
+ ```python
38
+ >>> topic_model.get_topic(0, full=True)
39
+ {'Main': [['spin', 0.01852648864225281],
40
+ ['magnetic', 0.015019436257929909],
41
+ ['phase', 0.013081733986038124],
42
+ ['quantum', 0.012942253723133639],
43
+ ['temperature', 0.012591407440537158],
44
+ ['states', 0.011025582290837643],
45
+ ['field', 0.010954775154251296],
46
+ ['electron', 0.010168708734803916],
47
+ ['transition', 0.009728560280580357],
48
+ ['energy', 0.00937042795113575]],
49
+ 'KeyBERTInspired': [['quantum', 0.4072583317756653],
50
+ ['phase transition', 0.35542067885398865],
51
+ ['lattice', 0.34462833404541016],
52
+ ['spin', 0.3268473744392395],
53
+ ['magnetic', 0.3024371564388275],
54
+ ['magnetization', 0.2868726849555969],
55
+ ['phases', 0.27178525924682617],
56
+ ['fermi', 0.26290175318717957],
57
+ ['electron', 0.25709500908851624],
58
+ ['phase', 0.23375216126441956]]}
59
+ ```
60
 
61
  ## Topic overview
62