File size: 714 Bytes
8e3dd93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Core ML and NLP libraries
torch>=2.0.0,<2.2.0
transformers>=4.30.0,<4.40.0
sentence-transformers>=2.2.0,<3.0.0
accelerate>=0.20.0,<0.25.0

# Quantization support (for GPU optimization)
bitsandbytes>=0.41.0,<0.43.0

# Vector search (CPU version for HF Spaces compatibility)
faiss-cpu>=1.7.4,<1.8.0

# Scientific computing
numpy>=1.21.0,<1.26.0
scipy>=1.9.0,<1.12.0

# Gradio for web interface (stable version)
gradio>=4.0.0,<5.0.0

# Essential utilities
tqdm>=4.64.0
requests>=2.28.0
packaging>=21.0

# Tokenization support
tokenizers>=0.13.0,<0.16.0

# System monitoring
psutil>=5.9.0

# Additional stability packages
safetensors>=0.3.0
huggingface-hub>=0.15.0

# Required for BioGPT tokenizer
sacremoses>=0.0.53