File size: 906 Bytes
ee78b3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Requirements for DOLPHIN PDF AI - Local Gemma 3n Version
# Optimized for powerful GPU deployment with local models

# Core dependencies
gradio>=4.0.0
torch>=2.0.0
torchvision>=0.15.0
transformers>=4.53.0
timm>=1.0.16
accelerate>=0.20.0
bitsandbytes>=0.41.0

# HuggingFace ecosystem
huggingface-hub>=0.17.0
tokenizers>=0.15.0
datasets>=2.14.0
safetensors>=0.3.0

# Image processing
Pillow>=10.0.0
opencv-python>=4.8.0
numpy>=1.24.0

# PDF processing
PyMuPDF>=1.23.0

# RAG and embeddings
sentence-transformers>=2.2.0
scikit-learn>=1.3.0
faiss-cpu>=1.7.4

# Text processing and markdown
markdown>=3.5.0
python-markdown-math>=0.8

# Utilities
tqdm>=4.66.0
requests>=2.31.0
packaging>=23.0
pyyaml>=6.0

# Optional but recommended for better performance
# flash-attn>=2.0.0; platform_system != "Darwin"
# xformers>=0.0.22; platform_system != "Darwin"

# Development and debugging
ipython>=8.0.0
jupyter>=1.0.0