Bladeren bron

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 jaar geleden
bovenliggende
commit
9b2f72e1f5
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  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
 To run the examples, make sure to install the requirements using
 
 
 ```bash
 ```bash
-
+# python 3.8 recommended
 pip install -r requirements.txt
 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
 ## Install HuggingFace Transformers from source
 pip freeze | grep transformers ## verify it is version 4.31.0 or higher
 pip freeze | grep transformers ## verify it is version 4.31.0 or higher
 
 
-```bash
 git clone git@github.com:huggingface/transformers.git
 git clone git@github.com:huggingface/transformers.git
 cd transformers
 cd transformers
 pip install protobuf
 pip install protobuf