RishiRP commited on
Commit
aa5f588
·
verified ·
1 Parent(s): 294c07c

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +3 -4
requirements.txt CHANGED
@@ -1,23 +1,22 @@
1
  --extra-index-url https://download.pytorch.org/whl/cu118
2
 
3
- # Core compute (CUDA 11.8)
4
  torch==2.2.2+cu118
5
 
6
  # NLP stack
7
  transformers==4.43.3
 
8
  accelerate==0.33.0
9
  safetensors==0.4.4
10
  bitsandbytes==0.43.1
11
  sentencepiece==0.1.99
12
  huggingface_hub==0.24.6
13
  regex==2024.7.24
14
- langdetect==1.0.9
15
- tokenizers==0.20.1
16
 
17
  # UI
18
  gradio==4.44.0
19
  gradio_client==1.3.0
20
- websockets>=12.0 # required for gradio_client 1.3.x
21
 
22
  # Data helpers
23
  pandas==2.2.2
 
1
  --extra-index-url https://download.pytorch.org/whl/cu118
2
 
3
+ # Core compute (CUDA 11.8, great for Tesla T4)
4
  torch==2.2.2+cu118
5
 
6
  # NLP stack
7
  transformers==4.43.3
8
+ tokenizers==0.20.1 # ✅ fixes tokenizer.json parsing with Apertus
9
  accelerate==0.33.0
10
  safetensors==0.4.4
11
  bitsandbytes==0.43.1
12
  sentencepiece==0.1.99
13
  huggingface_hub==0.24.6
14
  regex==2024.7.24
 
 
15
 
16
  # UI
17
  gradio==4.44.0
18
  gradio_client==1.3.0
19
+ websockets>=12.0 # required by gradio_client 1.3.x
20
 
21
  # Data helpers
22
  pandas==2.2.2