raksama19 commited on
Commit
6c7ef32
·
verified ·
1 Parent(s): 7e838fa

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +35 -12
requirements.txt CHANGED
@@ -1,25 +1,48 @@
 
 
 
1
  # Core dependencies
2
  gradio
3
- numpy
4
- pillow
5
- opencv-python
6
-
7
- # AI/ML dependencies
8
  torch
9
  torchvision
10
  transformers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
  # PDF processing
13
  PyMuPDF
14
 
15
- # Markdown processing
16
- markdown
17
-
18
- # RAG dependencies
19
  sentence-transformers
20
  scikit-learn
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- # Google Gemini API (minimum version for Gemma 3n support)
23
- google-generativeai
 
24
 
25
- accelerate
 
 
 
1
+ # Requirements for DOLPHIN PDF AI - Local Gemma 3n Version
2
+ # Optimized for powerful GPU deployment with local models
3
+
4
  # Core dependencies
5
  gradio
 
 
 
 
 
6
  torch
7
  torchvision
8
  transformers
9
+ timm
10
+ accelerate
11
+ bitsandbytes
12
+
13
+ # HuggingFace ecosystem
14
+ huggingface-hub
15
+ tokenizers
16
+ datasets
17
+ safetensors
18
+
19
+ # Image processing
20
+ Pillow
21
+ opencv-python
22
+ numpy
23
 
24
  # PDF processing
25
  PyMuPDF
26
 
27
+ # RAG and embeddings
 
 
 
28
  sentence-transformers
29
  scikit-learn
30
+ faiss-cpu
31
+
32
+ # Text processing and markdown
33
+ markdown
34
+ mdx-math
35
+
36
+ # Utilities
37
+ tqdm
38
+ requests
39
+ packaging
40
+ pyyaml
41
 
42
+ # Optional but recommended for better performance
43
+ flash-attn; platform_system != "Darwin"
44
+ xformers; platform_system != "Darwin"
45
 
46
+ # Development and debugging
47
+ ipython
48
+ jupyter