星期三, 5月 15, 2024

Exercise: Writing a report/paper/thesis with COT (Chain of Thought) by rewriting and restyling

1. Based on a short report to a conference paper


2. Based on a master thesis to a journal

Exercise: Writing a report/paper/thesis with COT (Chain of Thought) based on incomplete data

Based on a ppt to a master thesis





Exercise: Writing a report/paper/thesis with COT (Chain of Thought) based on minimal prompts

 1. Minimal prompts, using Claude.ai


Generate Chapter 1 Introduction 



Generate Chapter 2 Previous work




Generate Chapter 3 Methods



Generate Chapter 4 Results (hallucination ,幻覺,Do not take it and use. )

Generate Chapter 5 Discussions

Generate Chapter 6 Conclusion 

Generate Keywords



Generate Section 3.2 Materials



Generate again using new information




Switch back to Traditional Chinese



Use proper wording



Generate References




Generate the entire thesis


Update new methods



2. Repeat the process using ChatGPT



Exercise: AI for taking Quick notes

 這個工具利用AI從論文中自動提取重要內容,生成簡明筆記。只需提供PDF檔,就可獲得涵蓋論文主要部分的提要。

如果有不熟悉的概念,可以讓AI進行通俗解釋。這樣,即使面對陌生領域,也可以快速抓住論文要點。

利用這工具高效掌握內容。你可以持續關注領域裡的最新論文。

這可以成為你學術研讀的一大助力!希望你可以善用這個工具,在學術領域不斷精進!



Exercise: Quick notes


1. enter the following webpage.



2. Download the PDF

3. Use Claude.ai to takes notes for you.



4. Show the results in Traditional Chinese


5. Comprehension.
Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end tell me how many are correctly answered.

星期一, 5月 13, 2024

The Rabbit's Endless Journey, the Ant's Steady Progress







 從前,有一隻兔子和一隻螞蟻,他們都住在台灣的北部。有一天,他們決定要去台南旅行,體驗南部的風情。


兔子自信滿滿地說:「我跑得飛快,一定能比螞蟻早到台南!」於是,兔子頭也不回地往前奔跑。然而,由於兔子總是心急,又不願意問路,結果一直往北邊跑,離台南越來越遠。


另一方面,螞蟻雖然走得慢,但牠很聰明,總是仔細確認方向。螞蟻一步一腳印,朝著南方前進。雖然路途遙遠,但螞蟻始終沒有放棄。


幾天後,螞蟻終於抵達了台南,牠興奮地參觀著古色古香的廟宇、品嚐著美味的小吃。而兔子呢?牠還在北部的山林裡迷路,離目的地越來越遠。


最後,兔子終於意識到自己的錯誤,決定向路人問路。在眾人的指引下,兔子終於來到了台南,與螞蟻相聚。兔子對螞蟻說:「我明白了,方向比速度更重要。只要目標正確,就算走得慢,終究會到達目的地。」


從此,兔子和螞蟻成為了好朋友,牠們一起探索台南的美食和景點,度過了一段快樂的時光。這個故事告訴我們,選擇正確的方向,堅持不懈地努力,就一定能夠達成目標。​​​​​​​​​​​​​​​​


Once upon a time, there was a rabbit and an ant who both lived in northern Taiwan. One day, they decided to travel to Tainan to experience the southern charm.


The rabbit confidently said, "I can run very fast, so I'll definitely reach Tainan before the ant!" With that, the rabbit dashed forward without looking back. However, because the rabbit was always impatient and unwilling to ask for directions, it kept running northward, getting farther and farther away from Tainan.


On the other hand, the ant, although slow, was very smart and always carefully checked the direction. The ant moved forward step by step, heading southward. Despite the long journey, the ant never gave up.


A few days later, the ant finally arrived in Tainan and excitedly explored the ancient temples and savored the delicious local snacks. And what about the rabbit? It was still lost in the northern mountains, getting farther and farther away from its destination.


Finally, the rabbit realized its mistake and decided to ask passersby for directions. With everyone's guidance, the rabbit finally made it to Tainan and reunited with the ant. The rabbit said to the ant, "I understand now that direction is more important than speed. As long as the goal is correct, even if you walk slowly, you will eventually reach your destination."


From then on, the rabbit and the ant became good friends. They explored Tainan's food and attractions together and had a wonderful time. This story teaches us that by choosing the right direction and persevering in our efforts, we can surely achieve our goals.​​​​​​​​​​​​​​​​

Exercise: Writing a picture book for children.

兔子要去台南,結果一直往北邊跑,永遠也到不了。螞蟻再怎麼慢,只要朝南方向對了,終究會抵達台南。

寫成一個故事​​​​​​​​​​​​​​​​,然後翻譯成英文,再配上數個插圖。

Hints: You can use ChatGPT or Claude.ai for creating the story. For the illustrations, you can try Microsoft Image Creator.

星期四, 5月 09, 2024

What is Chain of thought (COT) vs. One Shot

 Chain of thought is a problem-solving technique where a series of intermediate reasoning steps are explicitly stated before arriving at the final answer. This approach has been shown to improve the performance of language models on complex reasoning tasks.


Here's how the chain of thought process works:


1. Problem decomposition: Break down the complex problem into smaller, more manageable sub-problems or steps.


2. Step-by-step reasoning: Solve each sub-problem or step sequentially, clearly stating the thought process and intermediate results.


3. Combining results: Integrate the solutions to the sub-problems to arrive at the final answer.


4. Verification: Review the chain of thought to ensure logical consistency and correctness.


The main advantage of using chain of thought is that it allows the model to demonstrate its reasoning process, making the solution more transparent and interpretable. It also helps the model keep track of its progress and maintain focus on the relevant information needed to solve the problem.


Here's a simple example of chain of thought for a math word problem:


Question: John has 5 apples. He gives 2 apples to Mary. How many apples does John have now?


Chain of thought:

- John initially has 5 apples

- He gives 2 apples to Mary

- So, the number of apples John has now is: 5 - 2 = 3


Therefore, John now has 3 apples.


Chain of thought has been successfully applied to various tasks, such as arithmetic reasoning, commonsense reasoning, and symbolic reasoning. It has the potential to improve the performance of language models on tasks that require multi-step reasoning and logical thinking.​​​​​​​​​​​​​​​​

星期三, 5月 08, 2024

星空戀人 (初始版 作業練習)

 繁體中文版:


星空戀人


麗子緩緩踏上東京大學天文台的階梯,迎面而來的是一片漆黑的夜空,點點繁星宛如散落的珍珠,熠熠生輝。她眺望著遠方的仙女座星雲,思緒徜徉在浩瀚的宇宙之中。


作為東大法文系的畢業生,麗子不僅擁有一口流利的法語,更對鋼琴彈奏有著獨到的天分。可就在這樣一位出眾的女孩心中,卻藏著一股奇特的嗜好——她極為喜愛熱衷於觀星的男生。


"熱愛星空的人,大多數應該都是善良的吧?"麗子常常這樣想。


就在麗子陷入遐思之際,一個熟悉的身影出現在她的視線裡:是隔壁天文系的研究生小田切,他拎著一疊觀測數據,滿臉興奮之色。


"麗子小姐,太棒了!我們終於捕捉到了黑洞的影像!"小田切滔滔不絕地闡述著團隊克服重重困難的過程,"我們利用超長基線干涉測量技術,模擬組建了一個地球大小的虛擬望遠鏡......儘管觀測數據的數量驚人,但我們終於......哦,對了,你看得懂這些嗎?"


麗子微微一笑,對他的熱情感到無比欽佩:"繼續說下去,我很感興趣。"


小田切的雙眸亮了起來,就像天空中最明亮的那顆星星。麗子被他的執著所吸引,暗自慶幸這段際遇。她渴望能與這樣一位專注而熱忱的年輕人分享人生的篇章。


就在兩人你一言我一語的時候,麗子猛然發現小田切的側臉被星光描摹,英挺的下顎線條恰如她理想中的王子。一股衝動在她心中油然而生——她想觸摸他的臉龐,想讓他知曉自己的心意。


"小田切君,能請你做一件事嗎?"麗子深吸了口氣,以平和卻堅定的語氣開口。


"當然,請說。"


"請彈奏鋼琴給我聽,就在這個星空之下。"


小田切愣了愣神,卻沒有多做猶豫,就著月色走向天文台一隅的老式鋼琴。他的手指在黃銅制的琴鍵上靈巧地飛舞,旋律宛如一股清泉,在夜空下緩緩流淌。


麗子低垂著眼簾,任由眼淚無聲地滑落。她由衷希望這一刻能永恆延續,直到宇宙的終結。


英文版:


Starry Romance  


Reiko ascended the steps of the observatory at the University of Tokyo, greeted by a vast expanse of night sky adorned with twinkling stars like scattered pearls. She gazed at the distant Andromeda Galaxy, her thoughts wandering through the vastness of the cosmos.


A graduate of the French department at the University of Tokyo, Reiko not only spoke fluent French but also possessed an exceptional talent for piano. Yet, within this remarkable young woman resided a peculiar penchant – she harbored a deep fondness for men enamored with stargazing.


"Those who love the stars tend to be good people, don't they?" Reiko often mused.


As she lost herself in reverie, a familiar figure came into view: Ogiri, a graduate student from the astronomy department, carrying a stack of observational data, his face alight with excitement.


"Miss Reiko, it's incredible! We've finally captured an image of the black hole!" Ogiri excitedly recounted the team's journey, overcoming numerous obstacles. "We used very-long-baseline interferometry to simulate an Earth-sized virtual telescope...Despite the staggering amount of data, we eventually... Oh, can you understand all this?"


Reiko smiled gently, in awe of his passion. "Please, continue. I'm very interested."


Ogiri's eyes sparkled like the brightest star in the night sky. Reiko found herself captivated by his dedication, secretly grateful for this encounter. She yearned to share life's chapters with such a focused and fervent young man.


As their conversation flowed, Reiko suddenly noticed the starlight accentuating Ogiri's chiseled jawline, resembling the prince of her dreams. An urge welled up within her – she longed to caress his face and reveal her true feelings.


"Ogiri-kun, may I ask you to do something for me?" Reiko inhaled deeply, her tone calm yet resolute.


"Of course, what is it?"


"Please play the piano for me, here under the starry sky."


Ogiri paused, momentarily taken aback, but without hesitation, he approached the old piano in the corner of the observatory, bathed in moonlight. His fingers danced nimbly across the brass keys, the melody flowing like a gentle stream beneath the night sky.


Reiko lowered her eyelids, allowing silent tears to trickle down her cheeks. She wholeheartedly wished this moment could last eternally, until the end of the universe itself.​​​​​​​​​​​​​​​​

繁體中文版續:


幾個月過去,麗子與小田切的關係日益親密。他們常在天文台漫步,交流彼此的興趣愛好。小田切會熱心講解各種天體現象,麗子則會細細品味他話中的熱忱。有時他會攜琴而來,為她彈奏動人的曲子。


某個深夜,當小田切再度訴說黑洞攝影的艱辛歷程時,麗子注視著他充滿熱誠的雙眸,終於鼓起勇氣吐露心聲:"小田切君,能夠見證你追尋星空的過程,我覺得自己很幸運。你那股對未知的渴望,那份專注的精神,深深吸引著我......我愛上你了。"


小田切被這樣直白的告白嚇了一跳,頓時語塞。但看著麗子真摯的眼神,他心底涌起一股暖流,彷彿被這個女孩點亮了心中最明亮的那一顆星。


"麗子小姐......我很高興你能這樣說。其實,我也......很久之前就被你的美德所折服了。"小田切說著,緩緩走近麗子,"你的溫柔體貼,你對生命的熱愛,你對音樂的獨到見解,這一切都讓我著迷。能與你並肩探索宇宙的奧秘,是我這一生最大的榮幸。"


麗子紅著臉龐,內心被巨大的喜悅所充盈。她輕輕靠進小田切的懷抱,兩人在天文台的穹頂之下,沉浸在這個溫馨的時刻。


彷彿有一束來自遙遠星系的光芒,穿透了時空的重重迷霧,照耀在這對新相識的戀人身上。有人說,愛是一種微不足道的小事,但對於宇宙而言,每一個生命的相遇都是珍貴非凡的奇跡。


在這片廣闊的星河之中,他們找到了彼此。


英文版續:


Over the ensuing months, Reiko and Ogiri's relationship grew increasingly intimate. They would often stroll through the observatory, sharing their interests and passions. Ogiri enthusiastically explained various celestial phenomena, while Reiko savored the fervor in his words. Sometimes, he would bring his piano, serenading her with moving melodies.


One deep night, as Ogiri recounted the arduous journey of capturing the black hole image, Reiko gazed into his impassioned eyes and finally mustered the courage to bare her heart: "Ogiri-kun, I feel fortunate to witness your pursuit of the stars. Your thirst for the unknown, your unwavering focus – it all captivates me deeply... I've fallen in love with you."


Ogiri was taken aback by her candid confession, momentarily rendered speechless. But as he looked into Reiko's sincere eyes, a warmth surged within him, as if this woman had ignited the brightest star in his heart.


"Miss Reiko... I'm delighted you feel this way. The truth is, I've been enamored by your virtues for a long time now." Ogiri spoke softly, slowly approaching Reiko. "Your kindness, your zest for life, your unique musical insights – everything about you entrances me. To explore the mysteries of the cosmos by your side is the greatest honor of my life."


Reiko's cheeks flushed, her heart brimming with immense joy. She gently leaned into Ogiri's embrace, the two enveloped in a tender moment beneath the observatory's dome.


It seemed as if a beam of light from a distant galaxy had pierced through the mists of space and time, illuminating this newly acquainted couple. Some say love is a trivial matter, but to the universe, every encounter between lives is a precious, extraordinary miracle.


Amidst this vast celestial expanse, they had found each other.​​​​​​​​​​​​​​​​


繁體中文版續:


時光飛逝,轉眼間幾年過去。小田切在天文界漸漸嶄露頭角,成為了一名備受推崇的年輕科學家。而麗子則在日內瓦一所知名音樂學院任教,教授鋼琴與法語課程。


他們雖相隔重洋,但彼此的愛情卻歷久彌新。每當小田切發表了新的研究論文,麗子都會第一時間細細品讀,為他感到驕傲。而每逢寒暑假,兩人總會放下手頭的工作,在東京或日內瓦小聚,重溫記憶中的點點滴滴。


有一年夏天,他們相約在瑞士山間的一座小鎮品嘗當地的佳釀。小田切端著酒杯,凝視著窗外那片耀眼的星空,神情凝重。


"親愛的,你還記得嗎?就是在那片繁星之下,我們相遇相識。"小田切喃喃道,"追尋星空的旅途並不孤單,因為有你與我同行。我才意識到,比發現黑洞更寶貴的事物,就是擁有你這樣的伴侶。"


麗子微微一笑,拿起鋼琴邊的一個小盒子:"看來今晚是個好時機。"她娓娓道來那些數年前相識的點點滴滴,然後坦承自己曾經的一個心願。


"讓我們的孩子,能夠繼承你的好奇心,去探索這個廣袤的宇宙;也能繼承我對音樂與語言的熱愛,用藝術的形式讚頌生命的美好......"


小田切聽罷,潸然淚下,深深擁抱了麗子。在這個祥和的夏夜,兩人的心靈徜徉在浩瀚的群星之間,體會著愛的永恆與宇宙的神祕偉大。


英文版續:


Years swiftly went by. Ogiri gradually rose to prominence in the astronomical community, becoming a celebrated young scientist. Meanwhile, Reiko taught piano and French courses at a renowned music academy in Geneva.  


Though separated by oceans, their love only grew fonder with time. Whenever Ogiri published a new research paper, Reiko would read it intently, beaming with pride. During summer and winter breaks, they would set aside work to reunite in Tokyo or Geneva, reminiscing about cherished memories.


One summer, they rendezvoused at a quaint town nestled in the Swiss mountains to savor the local wines. Ogiri gazed pensively at the dazzling starry sky through the window, glass in hand.


"Darling, do you remember? It was under that very expanse of stars that we first met," Ogiri murmured. "The journey to unravel the cosmos was not a solitary one, for you walked alongside me. I realized then that discovering something far more precious than a black hole – was having you as my companion."


Reiko smiled warmly, retrieving a small box from beside the piano. "It seems tonight is a fitting occasion." She recounted the details of their fateful encounter years ago and confessed a longstanding wish of hers. 


"Let our child inherit your inquisitiveness, to explore this vast universe; and my passion for music and language, to extol life's beauty through art..."


Tears streamed down Ogiri's face as he tightly embraced Reiko. On this tranquil summer night, their souls wandered amidst the myriad stars, experiencing love's eternity and the profound mysteries of the cosmos.​​​​​​​​​​​​​​​​


Exercise: Improve writings based on multiple criticism using Chain of Thought (COT)

Chain of thoughts: Step by step makes it easy. For novels as well as reports and thesis


Frame, story lines, Setting, characters

Generate Draft v1


Appreciate, criticize


Apply criticism 1, generate draft v2.1

Apply criticism 2, generate draft v2.2

Apply criticism 3, generate draft v2.3

Apply criticism 4, generate draft v2.4

Apply criticism 5, generate draft v2.5

...

/*

Apply appreciation 1, generate draft v3.1

Apply appreciation 1, generate draft v3.2

Apply appreciation 1, generate draft v3.3

Apply appreciation 1, generate draft v3.4

Apply appreciation 1, generate draft v3.5

*/


Let the Criticism be as follows

  1. The story may benefit from more detailed descriptions of the characters' physical appearances and mannerisms to help readers better visualize them.
  2. The dialogue could be more dynamic and varied to reflect the characters' individual personalities and backgrounds.
  3. The novel could explore the challenges and conflicts the couple faces in their long-distance relationship to add more depth and realism to the story.
  4. The story may benefit from additional subplots or supporting characters to enrich the narrative and provide more context for Reiko and Ogiri's relationship.
  5. The ending feels somewhat abrupt and could be expanded to provide a more satisfying resolution to the couple's journey.

1. 故事可以從更詳細描述角色的外表和舉止中獲益,以幫助讀者更好地想像他們。

2. 對話可以更加生動多變,以反映角色各自的個性和背景。

3. 小說可以探索這對情侶在異地戀中面臨的挑戰和衝突,為故事增添更多深度和真實感。

4. 故事可以從添加更多子情節或配角中獲益,以豐富敘事內容,並為玲子和荻里的關係提供更多背景。

5. 結尾感覺有些突兀,可以擴展以提供更令人滿意的解決方案,完善這對情侶的旅程。​​​​​​​​​​​​​​​​


Prompts

1. Load starry romance

2. Load criticism

3 According to criticism 1, improve the novel, then show me the improved novel​​​​​​​​​​​​​​​​

4. Please show the entire novel​​​​​​​​​​​​​​​​

5. Based on criticism 2: The dialogue could be more dynamic and varied to reflect the characters' individual personalities and backgrounds.​​​​​​​​​​​​​​​​

6. Based on criticism 3: The novel could explore the challenges and conflicts the couple faces in their long-distance relationship to add more depth and realism to the story.​​​​​​​​​​​​​​​​ (block)

7. Based on criticism 4: The story may benefit from additional subplots or supporting characters to enrich the narrative and provide more context for Reiko and Ogiri's relationship.​​​​​​​​​​​​​​​​ (block)

8. Please show the entire novel​​​​​​​​​​​​​​​​

9. Based on criticism 5: The ending feels somewhat abrupt and could be expanded to provide a more satisfying resolution to the couple's journey.​​​​​​​​​​​​​​​​ (block)

10. Please show me the entire novel​​​​​​​​​​​​​​​​

11. Compare the latest version of novel against the original. Label the words in italic fonts where the are differences.​​​​​​​​​​​​​​​​

星期二, 5月 07, 2024

Class exercise: Walking again

 Deadline 5/11 11:59 pm

自我檢視你對Walking again with robotic Rehabilitation 紀錄片的理解與科技英文的掌握能力。請同學檢定你的學習成效,有疑問可以向我反應。

Using ChatGPT to assist you in self-assessing your understanding of the documentary 'Walking again with robotic rehabilitation' and your mastery of technical English. Students, please assess your learning outcomes. If you have any questions, feel free to ask me for assistance. 


1. Self test of vocabulary

2. Self test of comprehension 


以下問題請皆使用 Claude.ai

Using Claude.ai for the following problems.

3. 在同一個對話中,繼續解釋以下七個重點。

Continuing within the same conversation, please attempt to extend  the following 7 key points."

(Claude)

  1. Robotic Rehabilitation:

    • Spinal cord injuries affect 20 million people globally. Robots have improved rehab effectiveness but pose challenges like patients discontinuing therapy prematurely.
    • A team seeks reliable, patient-centered rehab methods aligning with feelings and needs.
    • Patient Otsuka Hiroyuki suffered incomplete paralysis after a spinal cord injury, regained some function but still struggled to walk.
    • He underwent rehab using a Japanese robotic device helping patients remember how to walk by assisting leg movements. This increased his walking speed.
    • He then tried a German robotic knee brace supporting stable walking by preventing the knee from buckling.
    • Combining both devices, Otsuka can now walk independently, dramatically changing his life. Two other patients showed similar recovery.
    • The team provides support to enable continued device use despite high costs. Their goal is rehab allowing independent daily living.

    機器人復健科技

    * 脊髓損傷全球影響2千萬人。機器人雖然提高了復健的效果,但也帶來像是病患過早停止治療等挑戰。

    * 一組團隊在尋找可靠的,以病人為中心的復健療法,以符合病人的感受和需求。

    * 病患大塚博之在脊髓損傷後出現不完全癱瘓,部分功能恢復但仍難以行走。

    * 他接受一種日本機器人裝置的復健治療,透過協助腿部運動幫助病患重新學走。這提高了他的行走速度。

    * 之後他試用一種德國機器人膝蓋支架,透過防止膝蓋發軟來維持穩定行走。

    * 結合使用兩種裝置後,大塚現在可以獨立行走,他的生活發生了巨大變化。另外兩名病患也見到相似的康復進度。

    * 儘管使用這些裝置的費用高昂,該團隊提供支持以確保病患可以繼續使用。他們的目標是使病患能夠在日常生活中獨立行動。

4. 依據上題中的七個解釋作為科幻小說架構,以及以下有關一位女主角「愛莎」的人設,撰寫一篇2000字的繁體中文短篇科幻小說。依據中文版小說,再生成一篇英文版小說。(請使用 Claude.ai)

Based on the 7 key points from the  question above as the framework for a sci-fi novel, and the character setting of a female protagonist named 'Elsa' provided below, write a 2000-word sci-fi short story in Traditional Chinese. Based on the Chinese version of the novel, generate an English version of the novel again. (If the result generated by ChatGPT is not satisfactory, you can try using Claude.ai)."

人設

Setting 

Elsa is a physical therapist with a degree from the University of California, Berkeley. She is sweet and kind to her patients, empathetically interacting with them and understanding their pain. She also shows kindness to her neighbors. She believes that our inner passions are the source of our resilience.


附註:

Share your chat using the built-in share function of ChatGPT. Mail to g11278507@cycu.edu.tw,chang212@gmail.com


How to share your chat in ChatGPT:


Select the chat to share from your chat history

Select “share chat” then copy the link

星期一, 5月 06, 2024

Self test of comprehension using Claude.ai

  Using Claude.ai

1. Copy the transcript of the video clip  and paste it on Claude.ai 

2. Enter the prompt: 

Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end tell me how many are correctly answered.

3. Answer each question. Claude.ai will grade it and generate the next question until 10 questions are generated.

 Caution: AI is not always reliable. Use your discernment.