微调Dockerfile
This commit is contained in:
		
							parent
							
								
									5e647ff149
								
							
						
					
					
						commit
						d5fd00c15d
					
				@ -13,21 +13,20 @@ RUN python3 -m pip install openai numpy arxiv rich
 | 
				
			|||||||
RUN python3 -m pip install colorama Markdown pygments pymupdf
 | 
					RUN python3 -m pip install colorama Markdown pygments pymupdf
 | 
				
			||||||
RUN python3 -m pip install python-docx moviepy pdfminer
 | 
					RUN python3 -m pip install python-docx moviepy pdfminer
 | 
				
			||||||
RUN python3 -m pip install zh_langchain==0.2.1 pypinyin
 | 
					RUN python3 -m pip install zh_langchain==0.2.1 pypinyin
 | 
				
			||||||
RUN python3 -m pip install nougat-ocr
 | 
					 | 
				
			||||||
RUN python3 -m pip install rarfile py7zr
 | 
					RUN python3 -m pip install rarfile py7zr
 | 
				
			||||||
RUN python3 -m pip install aliyun-python-sdk-core==2.13.3 pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git
 | 
					RUN python3 -m pip install aliyun-python-sdk-core==2.13.3 pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git
 | 
				
			||||||
# 下载分支
 | 
					# 下载分支
 | 
				
			||||||
WORKDIR /gpt
 | 
					WORKDIR /gpt
 | 
				
			||||||
RUN git clone --depth=1 https://github.com/binary-husky/gpt_academic.git
 | 
					RUN git clone --depth=1 https://github.com/binary-husky/gpt_academic.git
 | 
				
			||||||
WORKDIR /gpt/gpt_academic
 | 
					WORKDIR /gpt/gpt_academic
 | 
				
			||||||
RUN git clone https://github.com/OpenLMLab/MOSS.git request_llm/moss
 | 
					RUN git clone --depth=1 https://github.com/OpenLMLab/MOSS.git request_llm/moss
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN python3 -m pip install -r requirements.txt
 | 
					RUN python3 -m pip install -r requirements.txt
 | 
				
			||||||
RUN python3 -m pip install -r request_llm/requirements_moss.txt
 | 
					RUN python3 -m pip install -r request_llm/requirements_moss.txt
 | 
				
			||||||
RUN python3 -m pip install -r request_llm/requirements_qwen.txt
 | 
					RUN python3 -m pip install -r request_llm/requirements_qwen.txt
 | 
				
			||||||
RUN python3 -m pip install -r request_llm/requirements_chatglm.txt
 | 
					RUN python3 -m pip install -r request_llm/requirements_chatglm.txt
 | 
				
			||||||
RUN python3 -m pip install -r request_llm/requirements_newbing.txt
 | 
					RUN python3 -m pip install -r request_llm/requirements_newbing.txt
 | 
				
			||||||
 | 
					RUN python3 -m pip install nougat-ocr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 预热Tiktoken模块
 | 
					# 预热Tiktoken模块
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user