Просмотр исходного кода

update README: python 3.8 rec + fix formatting

Installing requirements with python 3.7 failed (ERROR: No matching distribution found for torch==2.0.1+cu118), but 3.8 succeeded and matches the recommendation of pytorch and huggingface/peft

Fixes small markdown formatting bug
Christian Miller 1 год назад
Родитель
Сommit
9b2f72e1f5
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      README.md

+ 1 - 2
README.md

@@ -39,7 +39,7 @@ Llama 2 is a new technology that carries potential risks with use. Testing condu
 To run the examples, make sure to install the requirements using
 
 ```bash
-
+# python 3.8 recommended
 pip install -r requirements.txt
 
 ```
@@ -55,7 +55,6 @@ Given that the original checkpoint resides under models/7B you can install all r
 ## Install HuggingFace Transformers from source
 pip freeze | grep transformers ## verify it is version 4.31.0 or higher
 
-```bash
 git clone git@github.com:huggingface/transformers.git
 cd transformers
 pip install protobuf