File size: 841 Bytes
ce284a4
cf334f7
ce284a4
 
 
 
 
 
 
 
 
 
 
 
cf334f7
ce284a4
 
 
cf334f7
ce284a4
 
 
 
 
 
cf334f7
 
 
ce284a4
 
 
cf334f7
ce284a4
 
cf334f7
ce284a4
 
cf334f7
ce284a4
 
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
# Core dependencies for transformers
transformers>=4.31.0
tokenizers>=0.13.0
huggingface-hub>=0.16.4

# Deep learning framework - PyTorch CPU by default
torch>=2.0.0
torchvision>=0.15.0
torchaudio>=2.0.0

# Streamlit for web interface
streamlit>=1.24.0

# Optimization and model handling
accelerate>=0.21.0
safetensors>=0.3.1
scipy>=1.9.0
scikit-learn>=1.0.2

# Progress bars and utilities
tqdm>=4.65.0
psutil>=5.9.0
packaging>=20.0

# Optional but recommended for better performance
sentencepiece>=0.1.99
protobuf>=3.20.0

# Development and formatting
black>=23.3.0
pytest>=7.0.0

# Additional UI components
streamlit-chat>=0.1.1

# To install CPU-only version:
# pip install -r requirements.txt

# To install with CUDA support, additionally run:
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118