mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	* Moving parameters to separate lines for readability. * Increasing repeate_penalty to 1.1 to make alpaca more usable by default. * Adding trailing newline.
		
			
				
	
	
		
			20 lines
		
	
	
		
			331 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			331 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
#
 | 
						|
# Temporary script - will be removed in the future
 | 
						|
#
 | 
						|
 | 
						|
cd `dirname $0`
 | 
						|
cd ..
 | 
						|
 | 
						|
./main -m ./models/ggml-alpaca-7b-q4.bin \
 | 
						|
       --color \
 | 
						|
       -f ./prompts/alpaca.txt \
 | 
						|
       --ctx_size 2048 \
 | 
						|
       -n -1 \
 | 
						|
       -ins -b 256 \
 | 
						|
       --top_k 10000 \
 | 
						|
       --temp 0.2 \
 | 
						|
       --repeat_penalty 1.1 \
 | 
						|
       -t 7
 |