dtufail commited on
Commit
0b99d3e
·
verified ·
1 Parent(s): 8168ff0

Upload requirements.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. requirements.txt +29 -0
requirements.txt ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Nuremberg Scholar — HuggingFace Space dependencies
2
+ # Pinned to versions tested on SageMaker ml.g5.2xlarge (2026-03-11)
3
+
4
+ # Gradio (SDK — version must match sdk_version in README YAML)
5
+ gradio>=5.9.0
6
+
7
+ # ZeroGPU decorator — only works on HF Spaces, ignored locally
8
+ spaces
9
+
10
+ # PyTorch — Spaces build provides CUDA runtime, we just need the package
11
+ torch>=2.1.0
12
+
13
+ # Transformers — BGE-M3 + bge-reranker-v2-m3
14
+ transformers>=4.40.0
15
+
16
+ # FAISS — CPU version (46K vectors is fast enough on CPU, saves VRAM)
17
+ faiss-cpu
18
+
19
+ # BGE-M3 sparse_linear.pt download via hf_hub_download
20
+ huggingface_hub
21
+
22
+ # Sparse index (CSR matrix)
23
+ scipy
24
+
25
+ # Array ops
26
+ numpy
27
+
28
+ # Groq LLM API
29
+ groq