FROM /content/Soren-Oracle-Chat-3B/unsloth.BF16.gguf
TEMPLATE """{{ if .Messages }}
{{- if or .System .Tools }}<|start_header_id|>system<|end_header_id|>
{{- if .System }}
{{ .System }}
{{- end }}
{{- if .Tools }}
You are a helpful assistant with tool calling capabilities. When you receive a tool call response, use the output to format an answer to the original use question.
{{- end }}
{{- end }}<|eot_id|>
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<|start_header_id|>user<|end_header_id|>
{{- if and $.Tools $last }}
Given the following functions, please respond with a JSON for a function call with its proper arguments that best answers the given prompt.
Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}. Do not use variables.
{{ $.Tools }}
{{- end }}
{{ .Content }}<|eot_id|>{{ if $last }}<|start_header_id|>assistant<|end_header_id|>
{{ end }}
{{- else if eq .Role "assistant" }}<|start_header_id|>assistant<|end_header_id|>
{{- if .ToolCalls }}
{{- range .ToolCalls }}{"name": "{{ .Function.Name }}", "parameters": {{ .Function.Arguments }}}{{ end }}
{{- else }}
{{ .Content }}{{ if not $last }}<|eot_id|>{{ end }}
{{- end }}
{{- else if eq .Role "tool" }}<|start_header_id|>ipython<|end_header_id|>
{{ .Content }}<|eot_id|>{{ if $last }}<|start_header_id|>assistant<|end_header_id|>
{{ end }}
{{- end }}
{{- end }}
{{- else }}
{{- if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
{{ end }}{{ .Response }}{{ if .Response }}<|eot_id|>{{ end }}"""
🚀 **Soren-Oracle-Chat-3B** is an instruction-tuned dialogue model that has been comprehensively optimized and deeply fine-tuned on `meta/Llama-3.2-3B-Instruct`.
This project aims to achieve a generational leap in response quality, moving beyond traditional fine-tuning. It systematically enhances the model's performance, particularly in response formatting (Gestalt), length control, professional depth, and logical rigor. By integrating multiple high-quality Chinese and English instruction datasets, **Soren-Oracle-Chat-3B** is not only proficient in fluent Chinese conversation but also excels at presenting complex information in a human-friendly, highly structured manner, delivering professional-grade answers that are both deep and clear.
The ultimate goal is to create a "more expressive" 3B-level model, making it more outstanding and reliable in scenarios such as knowledge Q&A, content creation, and complex multi-turn dialogues.
This repository provides LoRA adapters and GGUF quantized versions for flexible deployment across various hardware environments.
**✨Jackrong/Soren-Logos-3B** is a **GRPO-trained** version of **Soren-Oracle-Chat-3B** produced after a set number of optimization steps.
---
## Model Enhancements and Strengths
**Soren-Oracle-Chat-3B** is not just a simple fine-tuning of the base model but a comprehensive optimization of response quality. This upgrade focuses on the following areas, significantly improving the model's overall capabilities and user experience:
### Human-Friendly Formatting
* The model is now adept at using Markdown formatting (e.g., bullet points, bold, italics, code blocks) to organize its answers, making the presentation of complex information clearer, more structured, and easier to read.
* When step-by-step explanations or lists of key points are required, the model automatically employs ordered or unordered lists, greatly enhancing the readability of long-form answers.
### Professionalism and Depth
* By incorporating training data rich in professional knowledge and chain-of-thought, the model delivers responses with greater depth and logical consistency when tackling specialized topics, rather than merely listing surface-level information.
* The language style of the responses is more rigorous and professional, with fewer colloquialisms and uncertain expressions, making it better suited for knowledge Q&A, report writing, and other professional contexts.
### Optimal Response Length
* The model's ability to control response length has been optimized. It now generates answers of appropriate length based on the question's complexity. For simple questions, it provides concise and clear answers; for complex topics, it offers detailed yet non-redundant explanations.
### Enhanced Instruction Following & Coherence
* The model's ability to understand and execute complex, multi-step instructions has been significantly improved.
* In multi-turn conversations, the model better maintains contextual coherence, resulting in smoother and more natural interactions.
---
*Below is a comparison of responses from the fine-tuned model and the base model on several questions, intuitively demonstrating the improvements in formatting, logic, and professionalism.*
# Model Capability Comparison
| Question | Soren-Oracle-Chat-3B (Fine-tuned) | Official Llama-3.2-3B-Instruct |
| :--- | :--- | :--- |
| **1. Can machines think?** | **Answer**: Machines do not possess the ability to "think" or have "thoughts."<br><br>**💡 Key Distinction: Machine vs. Machine Thinking**:<br>- **Machine (Device)**: Lacks consciousness, subjective experience, etc.<br>- **Machine Thinking (or AI)**: Highly simulated and algorithm-based.<br><br>**🧠 Why can't machines "think"?**:<br>- 1️⃣ Data-Driven: Models rely on training data, not subjective consciousness.<br>- 2️⃣ Lack of Self-Awareness: Cannot generate subjective experiences or self-awareness.<br><br>**Comment**: Uses paragraphs, lists, and emojis for a clearer structure and greater depth. | **Answer**: Currently, machines do not have the ability to think in the **true** sense. However, Machine Learning and Deep Learning can mimic human thinking in some aspects, making predictions and decisions, but they lack critical thinking and creativity.<br><br>**Comment**: The answer is relatively plain and lacks a hierarchical structure. |
| **2. Age Calculation Problem** | **Setup**: Let's say Xiaoming is `x` years old, and his father is `4x` years old.<br>**In 5 years**: Xiaoming will be `x + 5`, and his father will be `4x + 5`.<br>Set up the equation: `4x + 5 = 3(x + 5)` → Solve for `x`, which gives `x = 10`.<br><br>**Answer**: ✅ Xiaoming is currently **10 years old**, and his father is **40 years old**.<br><br>**Comment**: The reasoning steps are clear, and the result is correct. | **Explanation**: The original response attempted to set up an equation but incorrectly incorporated the "in 5 years" condition into the initial equality, leading to a calculation error. It produced incorrect forms like `d = 4m + 5`.<br><br>**Comment**: Logical error, incorrect answer. |
| **3. History of Apple Inc.** | **Answer**: 🍎 Apple Inc. is a globally renowned innovation company.<br>**Early Years (1976–1980)**: **Founding and First Products**: Introduction to its founding and initial products; **Entry into Education**: Early strategies for the education market.<br>**Notable Milestones**: Lists major timelines and products.<br><br>**Comment**: Uses subheadings and bullet points, resulting in a clearer and more organized structure. | **Answer**: Apple Inc. has a rich history. **Early Years (1976–1980)**: Introduction to the company's founding and first products; **The Macintosh Era (1980–1996)**: Basic points like the release of the Macintosh in 1984.<br><br>**Comment**: Presented as a simple list with more generalized information. |
| **4. Explain "Neural Network"** | **Answer**: **Introduction and Core Concepts of Neural Networks**.<br>**Definition and Historical Context**: Introduction to its origins and development.<br>**Core Components: Neurons and Network Structure**: Neuron, Layer, Connection Weights, etc.<br>**Working Principles and Architecture Types**: Feedforward Networks, Convolutional Neural Networks, Recurrent Neural Networks, and their applications.<br><br>**Comment**: A comprehensive and in-depth answer covering history, components, principles, architecture, and applications in a highly structured format. | **Answer**: A neural network is a machine learning model that mimics the brain's neural system. **Basic Components**: Composed of multiple "neurons" and a hierarchical structure. **Working Principle**: Data input, weights, and activation functions, etc.<br><br>**Comment**: The explanation is relatively basic and generalized. |
---
## Training Data
This model was fine-tuned on a carefully curated mixed dataset, which integrates the following four sources, totaling **86,448** samples (after length filtering):
* **Jackrong/Chinese-Qwen3-235B-Thinking-2025**: High-quality Chinese chain-of-thought distilled data to enhance the model's logical reasoning and Chinese expression abilities.
* **Jackrong/Qwen3-235B-A22B-Instruct-2025**: High-quality Chinese instruction-following dialogue distilled data to improve the model's ability to follow instructions in a Chinese context.
* **facebook/natural_reasoning (Key Addition)**: An English dataset focused on improving general reasoning capabilities. See below for details.
* **Infinity_Instruct_chat_qwen3_235B_Gen.jsonl**: A private dialogue dataset containing diverse instructions to broaden the model's knowledge base and application scenarios.
#### Introduction to the Core Reasoning Dataset: `facebook/natural_reasoning`
To strengthen the model's underlying reasoning abilities, we specifically incorporated the **facebook/natural_reasoning** dataset. This is a large-scale, high-quality dataset released by Meta AI for general-purpose reasoning tasks.
* **High Quality and Difficulty**: The dataset contains challenging reasoning problems sourced from pre-training corpora like `DCLM` and `FineMath`, and generated through back-translation.
* **Data Purity**: All questions have undergone rigorous deduplication and decontamination processes to ensure no overlap with major reasoning benchmarks such as MATH, GPQA, and MMLU-Pro.
* **Rich Answer Formats**: The dataset provides not only reference answers extracted from original documents but also model-generated answers from Llama3.3-70B-Instruct for reference. In its public subset of 1.1 million examples, the answer types are diverse, with 50.42% being long-form answers and 21.58% short-form, ensuring data richness.
* **Proven Scaling Effects**: According to official research, training the Llama3.1-8B-Instruct model with the `NaturalReasoning` dataset shows superior performance scaling on multiple reasoning benchmarks like MATH, GPQA, and MMLU-Pro compared to using other datasets.
By introducing this dataset, the training of `Soren-Oracle-Chat-3B` goes beyond learning dialogue patterns; it reinforces its core logical reasoning engine, which is key to the model's ability to provide professional and in-depth answers.
This model is primarily intended for general-purpose Chinese and English dialogue, instruction following, and simple logical reasoning tasks. It is suitable as a foundation for chatbots, content creation assistants, or applications that require understanding and executing instructions.
### Limitations
* Like all language models, this model may produce inaccurate, biased, or harmful content. Please conduct a thorough evaluation before use.
* The model's knowledge cutoff is December 2023, and it may not be aware of events that have occurred since then.
* Despite being trained on reasoning datasets, due to the inherent limitations of the base model, it may still perform poorly on extremely complex mathematical or logical reasoning problems.
---
## Acknowledgements
The creation of **Soren-Oracle-Chat-3B`** is built upon the outstanding prior work and collective wisdom of the open-source community. We express our sincerest gratitude to all contributors who provided the foundation, tools, and inspiration for this project.
#### Core Contributors
**Base LLM:** I used `meta/Llama-3.2-3B-Instruct`, developed by Meta, as the starting point for this model. Its excellent architecture and powerful base capabilities were key to the success of this project. I encourage users of this model to also acknowledge and cite the original contributors of the aforementioned base model and datasets. The open-source community thrives on sharing, and I hope **Soren-Oracle-Chat-3B** can be a part of that strength.
---
## ⚠️ Disclaimer
Please note that the core objective of this fine-tuning was to optimize and enhance the model's capabilities in specific areas, but **it is not a complete retraining**.
The ultimate performance, knowledge boundary, and capability ceiling of this model are strictly **limited by the inherent framework of its base model**. Fine-tuning can improve performance in certain aspects but cannot overcome the fundamental limitations of the base model itself.
Therefore, the improvements brought about by fine-tuning are incremental and **do not represent a qualitative leap**. I advise users to independently cross-verify all critical information and to cautiously evaluate the model's output.
| **3. 苹果公司的发展史** | **回答**:🍎Apple Inc. 是全球知名创新公司。<br>**Early Years (1976–1980)**:**Founding and First Products**:介绍创立与最初产品;**Entry into Education**:早期教育市场策略。<br>**Notable Milestones**:列出重大时间点与产品。<br><br>**评注**:使用子标题与条目,结构更清晰、条理性更好。 | **回答**:Apple Inc. 有丰富的发展史。**Early Years (1976–1980)**:介绍公司创立及首批产品;**The Macintosh Era (1980–1996)**:1984 年 Macintosh 发布等基本条目。<br><br>**评注**:以简单列表形式给出,信息较概括。 |
oid sha256:a4e92b949285d30b936e00d4b6b3d3edfcec83a35200d6df8a2e70cac1487875
size 3421899776
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.