Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +7 -4
requirements.txt
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
-
huggingface_hub==0.25.2
|
| 2 |
-
transformers
|
| 3 |
-
torch
|
| 4 |
gradio
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
gradio
|
| 2 |
+
transformers>=4.34.0 # Or a more recent version
|
| 3 |
+
torch>=2.0.0
|
| 4 |
+
huggingface_hub>=0.17.0
|
| 5 |
+
sentencepiece # Often a dependency for tokenizers
|
| 6 |
+
accelerate # For device_map="auto" and better performance
|
| 7 |
+
# bitsandbytes # Only if you plan to implement 8-bit or 4-bit quantization (advanced)
|
| 8 |
+
# optimum # For ONNX, quantization, etc. (advanced)
|