소스 검색

document generate.py

Eric Wang 3 년 전
부모
커밋
8f7447ea01
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      README.md

+ 2 - 1
README.md

@@ -18,7 +18,8 @@ pip install -q git+https://github.com/huggingface/peft.git
 
 # Inference
 
-See `generate.py`.
+See `generate.py`. This file reads the `decapoda-research/llama-7b-hf` model from the Huggingface model hub and the LoRA weights from `tloen/alpaca-lora-7b`, and runs inference on a specified input. Users should treat this as example code for the use of the model, and modify it as needed.
+
 
 # Training