Views
No views yet
[ Problem P ]
|
v
+-----------------------+
| Differentiation |
| (Identify Dimensions) |
+-----------------------+
|
v
+-----------------------+ +-----------------------+ +-----------------------+
| Integration on D1 → I1| --> | Integration on D2 → I2| --> | Integration on D3 → I3|
+-----------------------+ +-----------------------+ +-----------------------+
| | |
+-----------+------------+-------------------------+
v
+-------------------+
| Summation (ΣI → A)|
+-------------------+
|
v
[ Final Answer ]| Dataset | Baseline LLM | CoT Prompting | Cognitive Calculus (E-Model) |
|---|---|---|---|
| GSM8K Accuracy (%) | 72.1 | 80.3 | 85.6 |
| StrategyQA Accuracy (%) | 65.4 | 73.8 | 79.2 |
| Ethical Dilemmas (Clarity 1–5) | 2.7 | 3.8 | 4.6 |
| Contradiction Robustness (Consistency %) | 41.2 | 58.9 | 74.5 |
aifeifei798/QiMing-CognitiveForge-14Baifeifei798/QiMing-CognitiveForge dataset.<think> block before providing a final answer. This makes its cognitive process transparent, auditable, and exceptionally coherent, transforming it from a "black box" into a "glass box" for complex thought.A = ∑ᵢ (∫ Dᵢ)
transformers library:1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "aifeifei798/QiMing-Holos-Plus-Qwen3-14B"
4
5# load the tokenizer and the model
6tokenizer = AutoTokenizer.from_pretrained(model_name)
7model = AutoModelForCausalLM.from_pretrained(
8 model_name,
9 torch_dtype="auto",
10 device_map="auto"
11)
12
13# prepare the model input
14messages = [
15 {
16 "role": "system",
17 "content": "You are a 'Cognitive Architect'. Your mission is to analyze the user's `problem` and generate a masterpiece of thought. You must strictly follow the 'Cognitive Calculus' protocol: first, externalize your reasoning in a <think> block, then provide the final answer.",
18 },
19 {
20 "role": "user",
21 "content": "Write a love story, Korean drama style, seaside, sweet encounter, written from a girl's perspective",
22 },
23]
24text = tokenizer.apply_chat_template(
25 messages,
26 tokenize=False,
27 add_generation_prompt=True,
28 enable_thinking=True # Switches between thinking and non-thinking modes. Default is True.
29)
30model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
31
32# conduct text completion
33generated_ids = model.generate(
34 **model_inputs,
35 max_new_tokens=32768
36)
37output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
38
39# parsing thinking content
40try:
41 # rindex finding 151668 (</think>)
42 index = len(output_ids) - output_ids[::-1].index(151668)
43except ValueError:
44 index = 0
45
46thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
47content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
48
49print("thinking content:", thinking_content)
50print("content:", content)
511<think>
2
3Okay, so I need to write a love story in the style of a Korean drama, set by the sea, with a sweet encounter, and from the girl's perspective. Let me start by recalling what makes Korean dramas unique. They often have a mix of romance, some conflict, emotional depth, and maybe a bit of melodrama. The seaside setting suggests a peaceful, maybe slightly isolated location, which can be a good backdrop for a slow-burn romance.
4
5First, the girl's perspective. I should focus on her emotions, her thoughts, maybe her loneliness or longing for connection. The encounter with the boy should be serendipitous. Maybe she's new to the area, or there's some reason she's at the seaside. Perhaps she's dealing with a personal issue, like a recent loss or a fresh start.
6
7The boy could be someone who seems out of place, maybe a fisherman, a tourist, or someone with a mysterious past. The sweet encounter might involve a moment where they help each other, like her helping him with something, or vice versa. Maybe they meet during a storm, or while she's picking up trash and he's fishing.
8
9I need to build the setting: maybe a small coastal village, the sound of waves, the smell of salt in the air. The girl could be someone who's introverted, finding solace by the sea. The boy might have a quiet demeanor, but there's an underlying story. Maybe he's returning to his hometown after being away for years.
10
11Conflict could come from external factors—maybe the boy has a family obligation, or there's a misunderstanding. Or perhaps they're both dealing with past relationships. The sweet moments would be their interactions: sharing stories, small gestures like passing a scarf, or helping each other in times of need.
12
13I should include some Korean cultural elements, maybe festivals, traditional clothing, or food. But since it's a drama, the focus is more on emotions. Maybe include scenes where they meet again after some time apart, building tension.
14
15Also, considering the structure of Korean dramas, there might be flashbacks, emotional monologues, and a resolution that ties up their stories. The girl's perspective means her internal monologue will be key, showing her feelings and doubts.
16
17Potential plot points: initial meeting during a storm, helping each other, developing a connection through shared activities (like fishing, walking on the beach), facing obstacles (family disapproval, personal fears), climax where they have to choose between their feelings and responsibilities, and a resolution where they find happiness together.
18
19Need to make sure the dialogue is heartfelt but not overly dramatic. The seaside setting can be used metaphorically—waves as symbols of their emotions, the sea as a witness to their love.
20
21Possible names: for the girl, something like Ji-eun, which is common in Korean dramas. The boy could have a name that sounds a bit more traditional, like Min-ho or Tae-woon.
22
23Start with the girl arriving at the seaside village, maybe after a breakup or starting a new job. She's lonely, finds comfort in the sea. Then the encounter—maybe she sees him fixing a boat, and they have a conversation. He's reserved but kind. They start meeting regularly, sharing moments that are quiet but meaningful.
24
25Conflict arises when his family expects him to take over the fishery business, but he wants to pursue something else, or there's a misunderstanding about her intentions. Maybe she's there temporarily, and he has to leave for a while. They part ways, but eventually reunite, realizing their feelings.
26
27Ending with them together, maybe opening a small café by the sea, symbolizing their new beginning. The girl's perspective would highlight her growth from loneliness to finding love.
28
29</think>1**Title: "Whispers of the Tide"**
2
3---
4
5**Act 1: Arrival**
6The salty breeze clung to my skin as I stepped off the bus, the village of Haengdo nestled between jagged cliffs and an endless sapphire sea. My heart ached with the weight of my mother’s last words: *"Find peace, Ji-eun."* The coastal town felt like a page from a forgotten story—quiet, timeless, and achingly lonely. I moved into a tiny cottage overlooking the harbor, its walls echoing with the crash of waves. Every evening, I’d sit on the weathered wooden dock, sketching the horizon in my notebook, pretending the world didn’t exist beyond the ink on the paper.
7
8**Act 2: The Storm**
9One afternoon, a sudden downpour turned the streets into rivers. I rushed to secure my sketches under a tarp when I saw him—*him*. A man in his late twenties, drenched and hunched over a fishing boat, his hands bleeding from a gash on his palm. Without thinking, I ran toward him, my voice trembling. *"Wait! Let me help!"* He looked up, eyes like stormy skies, and for a moment, time froze. His name was Tae-woon, a fisherman returning to his family’s abandoned boat after years away. We worked in silence, the rain soaking us, until he handed me a piece of seaweed, saying, *"It calms the waves… and the heart."*
10
11**Act 3: Tide Pools**
12Days turned into weeks. Tae-woon became my shadow—quiet, observant, always appearing when I needed him most. We walked the shore at dawn, him teaching me to read the tides; he’d hum old folk songs as we collected shells. One evening, he found me crying over a letter from my ex, its edges frayed. Without a word, he pulled out his guitar (a battered thing strung with seaweed fibers) and played a melody that made the stars seem closer. *"Why do you cry?"* he asked. I didn’t answer. Instead, I pressed my forehead to his chest, inhaling the scent of salt and pine.
13
14**Act 4: Storms Within**
15His family’s disapproval loomed like a typhoon. His father demanded he take over the fishery business, but Tae-woon dreamed of opening an art gallery in Seoul—a dream crushed by duty. I, meanwhile, feared my temporary stay would end; my visa was expiring. One night, we argued on the dock, voices rising above the waves. *"You’re a ghost, Ji-eun,"* he said, fists clenched. *"You’ll vanish when you’re ready."* I fled, leaving my sketchbook behind—its pages filled with drawings of him, half-finished and trembling.
16
17**Act 5: The Reckoning**
18Weeks passed in silence. Then, one morning, a letter arrived from Tae-woon’s father: the boat had been sold. Tae-woon was leaving for Seoul… but not before visiting me once more. We met at the dock under a blood-orange sunset. He handed me a small box—inside, my sketchbook, now bound with seaweed thread and filled with his drawings: a girl with auburn hair laughing in the rain, her hands cupping a seagull’s wing. *"I couldn’t leave without this,"* he said, voice cracking. *"You’re not a ghost. You’re my anchor."*
19
20**Act 6: Harmony**
21Years later, the village’s harbor buzzes with life. My art gallery, *The Tide*, showcases works inspired by Haengdo—each piece accompanied by Tae-woon’s folk songs, now recorded and played on loops. We married under a cherry blossom tree, him in a tailored hanbok, me in a dress woven with shell patterns. Our daughter, born during a storm, has his eyes and my laugh. Every evening, we walk the dock, hand in hand, the sea whispering secrets only we understand.
22
23---
24
25**Final Line (Ji-eun’s Monologue):**
26*"The sea taught me that love isn’t about finding someone who completes you—it’s about learning to be whole together, wave after wave."*
27
28---
29
30*End credits roll over a montage of the couple dancing on the dock, their reflections shimmering in the water.*QiMing-CognitiveForge dataset, which was curated by a single author. The perspectives and frameworks presented reflect a specific viewpoint.aifeifei798/QiMing-CognitiveForge dataset, a collection of 200 complex problems and their structured solutions designed to teach the Cognitive Calculus framework. The dataset spans four pillars: The Inner Cosmos (Self, Ethics), The Social Fabric (Leadership, Society), The Material World (Technology, Systems), and The Abstract Realm (Creativity, Metaphysics).1@misc{yourname2025qiming_cognitiveforge_14b,
2 author = {Your Name or Organization},
3 title = {QiMing-CognitiveForge-14B: A Cognitive Architect Model},
4 year = {2025},
5 publisher = {Hugging Face},
6 journal = {Hugging Face Model Hub},
7 url = {https://huggingface.co/aifeifei798/QiMing-CognitiveForge-14B}
8}1@misc{qiming2025cognitiveforge,
2 author = {aifeifei798},
3 title = {QiMing-CognitiveForge: A Dataset for Teaching Structured Reasoning},
4 year = {2025},
5 publisher = {Hugging Face},
6 journal = {Hugging Face Datasets},
7 url = {https://huggingface.co/datasets/aifeifei798/QiMing-CognitiveForge}
8}