mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-28 08:31:25 +00:00 
			
		
		
		
	 73643f5fb1
			
		
	
	73643f5fb1
	
	
	
		
			
			A fix in Makefile for FreeBSD users. In the platfrom x86_64 is amd64. This fix resolve compilation using CFLAGS and CXXFLAGS with -march=native and -mtune=native Add two examples for interactive mode using Llama2 models (thx TheBloke for models) Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			321 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			321 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| #
 | |
| # Temporary script - will be removed in the future
 | |
| #
 | |
| 
 | |
| cd `dirname $0`
 | |
| cd ..
 | |
| 
 | |
| ./main -m models/available/Llama2/7B/llama-2-7b.ggmlv3.q4_0.bin \
 | |
|        --color \
 | |
|        --ctx_size 2048 \
 | |
|        -n -1 \
 | |
|        -ins -b 256 \
 | |
|        --top_k 10000 \
 | |
|        --temp 0.2 \
 | |
|        --repeat_penalty 1.1 \
 | |
|        -t 8
 |