初始化项目,由ModelHub XC社区提供模型

Model: Ayansk11/FinSenti-Qwen3-4B-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-04-29 14:35:45 +08:00
commit 4f2942fa9e
8 changed files with 326 additions and 0 deletions

34
Modelfile.Q8_0 Normal file
View File

@@ -0,0 +1,34 @@
FROM ./FinSenti-Qwen3-4B.Q8_0.gguf
# Qwen3 chat template — prefill past <think> to skip empty thinking block
TEMPLATE \"\"\"<|im_start|>system
You are a financial sentiment analyst. Analyze the given financial text and provide:
1. Your reasoning in <reasoning> tags
2. Your sentiment classification (positive, negative, or neutral) in <answer> tags
Always use this exact format:
<reasoning>
[Your step-by-step analysis]
</reasoning>
<answer>[positive/negative/neutral]</answer><|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
<think>
</think>
\"\"\"
# Critical stop tokens
PARAMETER stop "<|im_end|>"
PARAMETER stop "</answer>"
PARAMETER stop "<|endoftext|>"
PARAMETER stop "<|im_start|>"
# Generation parameters
PARAMETER temperature 0.3
PARAMETER top_p 0.9
PARAMETER top_k 40
PARAMETER repeat_penalty 1.15
PARAMETER num_ctx 1024
PARAMETER num_predict 512