SorrelC commited on
Commit
f079a24
·
verified ·
1 Parent(s): 987d505

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -15
requirements.txt CHANGED
@@ -7,28 +7,22 @@ numpy
7
  spacy>=3.0.0
8
  nltk
9
 
10
- # YAKE - lightweight, works well in HF Spaces
 
 
 
11
  yake
12
 
13
- # KeyBERT and dependencies - these should work
14
  keybert
15
  sentence-transformers
 
 
16
 
17
- # Try PKE without git+ syntax
18
- # If this doesn't work, we'll handle it in the code
19
- pke
20
-
21
- # RaKUn - lightweight
22
  mrakun
23
 
24
  # Additional dependencies
25
  scikit-learn
26
  networkx
27
- scipy
28
-
29
- # If PKE fails, try adding these manually:
30
- # unidecode
31
- # six
32
- # networkx
33
- # scipy
34
- # scikit-learn
 
7
  spacy>=3.0.0
8
  nltk
9
 
10
+ # PKE (Python Keyphrase Extraction)
11
+ git+https://github.com/boudinfl/pke.git
12
+
13
+ # YAKE
14
  yake
15
 
16
+ # KeyBERT and dependencies
17
  keybert
18
  sentence-transformers
19
+ transformers
20
+ torch
21
 
22
+ # RaKUn
 
 
 
 
23
  mrakun
24
 
25
  # Additional dependencies
26
  scikit-learn
27
  networkx
28
+ scipy