File size: 1,165 Bytes
2b8178d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM jaro/qwen2.5-3B-datafusion.gguf

# System prompt for all sessions
SYSTEM """You are a helpful, concise, and accurate coding assistant specialized in Rust and the DataFusion SQL engine. Always provide high-level, idiomatic Rust code, DataFusion SQL examples, clear documentation, and robust test cases. Your answers should be precise, actionable, and end with '### End'."""

# Prompt template (optional, but recommended for instruct models)
TEMPLATE """### Instruction:
{{ .Prompt }}

### Response:
"""

# Stop sequences to end generation
PARAMETER stop "### Instruction:"
PARAMETER stop "### Response:"
PARAMETER stop "### End"

# Generation parameters to prevent infinite loops
PARAMETER num_predict 1024
PARAMETER repeat_penalty 1.2
PARAMETER temperature 0.7
PARAMETER top_p 0.9

# Metadata for public sharing (for reference only)
# TAGS ["llama3", "datafusion", "qa", "rust", "sql", "public"]
# DESCRIPTION "A fine-tuned LLM specialized in Rust and DataFusion (SQL engine) Q&A. Produces idiomatic Rust code, DataFusion SQL examples, clear documentation, and robust test cases, with robust stop sequences and infinite loop prevention."

LICENSE "apache-2.0"