mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-02 09:12:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			357 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			357 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
#
 | 
						|
# Temporary script - will be removed in the future
 | 
						|
#
 | 
						|
 | 
						|
cd `dirname $0`
 | 
						|
cd ..
 | 
						|
 | 
						|
# Important:
 | 
						|
#
 | 
						|
#   "--keep 48" is based on the contents of prompts/chat-with-bob.txt
 | 
						|
#
 | 
						|
./llama-cli -m ./models/llama-7b/ggml-model-q4_0.gguf -c 512 -b 1024 -n 256 --keep 48 \
 | 
						|
    --repeat_penalty 1.0 --color -i \
 | 
						|
    -r "User:" -f prompts/chat-with-bob.txt
 |