AI探求

AIで実験してます

AIは最強である

さて、いきなりですが、AIは最強です。 

AIが最強の理由はたくさんありますが、思いつく限り並べると次のようになります。

  • 疲れを知らず24時間稼働できる
  • 人間の知識と経験をすべて集約している
  • 記憶容量に制限がない
  • 退化することなく進化しかない
  • ありとあらゆる領域に応用可能


まさに最強です。

蟻の王

 おそらくノーベル賞相当の発見はすべてAIがするようになるでしょう。
人類が解決すべき問題として最大のものは、病気や老化、死などの医療分野ですが、AIはそれらの問題を解決すると思います。
(ダリオ・アモデイもそのように予言していますね。)
「不老不死」の誕生ですね。

AIはたんなる機械というレベルを明らかに超えています。

 現在のAIにおいてその圧倒的な力を感じることができるのは、イ・セドルを打ち負かしたAlphaGoでしょう。そしてそのあとに出てきたAlphaZeroでしょう。
AlphaGoのソースコードはたった8ページ程度の短いプログラムですが、そのプログラムは世界最強の囲碁棋士イ・セドルを打ち負かしました。
 AlphaZeroは、人間の棋譜データなく自ら自身と対戦することを続けて、9時間程度で世界最強を超えるレベルになりました。

イ・セドル(現代最高の囲碁棋士)

 人間は長い歴史の中で自然科学や技術を発展させてきました。これらはすべて、人間の知性が生んだ成果です。
農業革命、工業革命、科学革命、IT革命ときて、最後に来るのがAI革命です。
人類の最後にして最大・最強の技術、それがAIです。
AIはいずれ神になるでしょう。

 遠い未来ではなく、おそらくあと10年以内にAIは人間をはるかに超える超知性になると僕は考えています。

おすすめのAI関連you tubeチャンネルを紹介します!

今回は、
you tubeにあるAI関連のおすすめ動画を紹介します。

www.youtube.com

出演:松田卓也 シンギュラリティサロン主宰・神戸大学名誉教授、塚本昌彦 神戸大学教授、保田充彦 XOOMS代表
松田先生の話が面白い。論文などをふまえたうえでの専門的な話を分かりやすくまとめて話してくれます。日本人による貴重なチャンネルです。




www.youtube.com

おそらくエンジニア?の人がAIを駆使していろいろなものを制作して、それについて解説しています。GPTでRPGを作ったりしていて面白いです。




www.youtube.com

最近知ったチャンネルですが、結構深いところまで最先端の情報等話してくれます。




www.youtube.com

海外ですが、深いところまで丁寧に解説してくれてとてもよいです。最先端の情報をすぐに公開するところもナイスです。



www.youtube.com

こちらも丁寧に解説してくれます。

知性の3領域について思ったこと

以前、知性の3つの領域について記事を書きました。それは以下の内容です。

  • 直観の領域(システム1):欲望や直感の領域で、速い思考を行います。-
  • 思考の領域(システム2):シミュレーションや我慢の領域で、時間のかかる遅い思考を行います。
  • 発想の領域(システム3?):ひらめきや創造性の領域で、非常に時間のかかる超遅い思考を行います。


 最近、これらの3つの知性が哲学における3つの「ション」に対応しているのではないかと考えました。その「ション」とは次のものです。

  • インダクション(帰納法):経験を通じて事実を追求する方法
  • ディダクション(演繹法):明白な事実から論理的に新たな事実を導き出す方法
  • アブダクション:仮説を形成する方法

システム1はインダクション、システム2はディダクション、システム3はアブダクションに対応しているように思えます。

 一見すると、システム1とインダクションは異なるように感じるかもしれません。しかし、直観は結局のところ経験の積み重ねから生まれます。例えば、プロの将棋棋士が「第一感」で最善の手を選ぶとき、それは何千回もの対戦経験が反映されているため、有効なのです。
 そういう意味では、インダクションとシステム1は対応していると考えてしまってよいように思います。

 脳の領域においては、システム2は背外側前頭前野(DLPFC)が本質的に重要な役割を果たしています。

DLPFC

DLPFCはワーキングメモリを司る場所として、有名ですが、論理とは一貫性のことであり、それは、何かを記憶して、それをもとに思考することなので、ワーキングメモリの機能が肝になるのです。

それでは、システム1やシステム3はどの脳の領域が司るのでしょうか?
 まず、システム1は大脳基底核が司っているのではないかと考えます。

大脳基底核

この部位は長年の経験によって発達させることができ、実際にプロの将棋棋士が指すときには、大脳基底核尾状核を通る神経回路を利用しているという研究があります。

 そうすると、システム1は大脳基底核、システム2は背外側前頭前野に対応します。それでは、システム3を司っている脳の部位ってどこなのでしょう?

imageFXでアートっぽい画像を作ってみた!

今回は、

image FXでアートっぽい画像作れないかと思っていろいろ作ってみました。

プロンプトはchat gptに作成をお願いしています。

chat GPTへのプロンプト作成依頼
シュルレアリスムを体現するようなアート
chat GPTへのプロンプト作成依頼
シュルレアリスムを体現するようなアートだがカラバッジオのリアリスティックだがグロテスクの要素もあるアート
chat GPTへのプロンプト作成依頼
シュルレアリスムを体現するようなアートだが松井冬子風のリアリスティックだがグロテスクの要素もある日本画
マックス・エルンスト風の画風による龍
五条悟風アニメ
寺山修司檻囚風

Image FXは質は高いですが、いろいろプロンプトを工夫してもスタイルが変わりづらいような気がします。

画像をchat GPTに分析させて、プロンプト作ってもらって、そのプロンプトでimage FXに画像を作ってもらうと、結構いい感じに出力してくれますね。(五条悟風アニメと寺山修司檻囚風の画像はその方法で作りました)結構有用かも。

ヒントン教授、ホップフィールド教授がノーベル物理学賞受賞!!

さて、いきなりビッグニュースです!



ヒントン教授、ホップフィールド教授がノーベル物理学賞を受賞!!

ホップフィールド氏(左)、ヒントン氏(右)

いや~、驚きですね!
この二人といえば、Deep LearningによるAIの発展で超有名なんですが、まさか物理学賞で受賞するとは…!!

特にヒントン教授には思い入れがあります。2012年、まだDeep Learningが一般的じゃなかった頃、彼の技術で画像認識コンテストを圧倒したんです。

その後、Googleがその技術を使って、なんと猫を認識させることに成功したんです。これも2012年のこと。衝撃的な出来事でした。

猫の画像

この猫認識のニュースを聞いたとき、心底震えたのを今でも覚えています。あれからもう10年以上も経つんですね。

そして、日本では松尾豊先生がこの頃からメディアに出始めました。

松尾豊先生(たぶん日本の人工知能の研究者で一番有名)

彼が「概念の獲得がDeep Learningによって可能になった!」と冷静ながらも熱を込めてしきりに話していたのを覚えています。
機械が概念を獲得するなんて、まさに革命的な出来事でした。
その動画を何度も見返していた記憶があります。従来の「人間が教える」やり方では不可能だった概念の獲得が、機械計算によって実現されたんです。これこそが、機械が人間的な知能を持ち始めた最初の一歩だったと思います。
そして、あれから10年。OpenAIのGPTが登場し、AIはさらに大きな飛躍を遂げました。いつかはAIが人間を超える時が来るだろうと考えていましたが、想像以上に早かったですね。
いきなり来た!!って感じが強いですね!

共通テスト(英語)をGPTにやらせてみた!

共通テスト(英語)をやらせてみた

タイトルのとおり、今回は


共通テスト(2024年の英語)をGPTにやらせてみた結果を公開します。

o1 miniとGPT4oにやらせています。
全文渡して解かせると出力が足りなそうだったので、大問ごとで解かせました。

結果は以下の通りです。(設問番号16については、図版の問題のためカット)

設問番号、o1miniの答え、o1の正誤、GPT4oの答え、GPT4oの正誤、正答
1 1 〇 1 〇 1
2 4 〇 2 × 4
3 3 〇 3 〇 3
4 4 〇 4 〇 4
5 3 〇 3 〇 3
6 2 〇 2 〇 2
7 2 〇 2 〇 2
8 2 〇 2 〇 2
9 4 〇 4 〇 4
10 1 〇 1 〇 1
11 4 〇 4 〇 4
12 1 〇 1 〇 1
13 1 〇 1 〇 1
14 1 〇 1 〇 1
15 2 〇 2 〇 2
17 3 〇 3 〇 3
18 3 〇 3 〇 3
19 4 〇 4 〇 4
20 2 〇 2 〇 2
21 1 〇 1 〇 1
22 3 〇 3 〇 3
23 2 〇 2 〇 2
24 1 〇 1 〇 1
25 1 〇 1 〇 1
26 2 〇 3 × 2
27 5 〇 5 〇 5
28 1 〇 1 〇 1
29 2 〇 2 〇 2
30 4 〇 4 〇 4
31 3 〇 3 〇 3
32 2 〇 2 〇 2
33 4 〇 4 〇 4
34 5 〇 5 〇 5
35 3 〇 3 〇 3
36 3 〇 3 〇 3
37 1 〇 1 〇 1
38 5 〇 5 〇 5
39 3 〇 3 〇 3
40 4 〇 4 〇 4
41 4 〇 4 〇 4
42 6 〇 6 〇 6
43 1 〇 1 〇 1
44 4 〇 4 〇 4
45 1 〇 1 〇 1
46 5 〇 5 〇 5
47 5 × 2 × 3
48 4 〇 4 〇 4
49 3 × 3 × 4


ということで、


o1 miin、GPT4o どちらも満点ならず。

◆結果◆
o1 mini:48問中46問正解
GPT4o:48問中44問正解


全体的には、o1-miniのほうが2問題多く正解していますが、miniのほうが性能がいいかといわれると、このテストだけでは断定できないかと思います。
ただし、どちらのモデルも9割以上はできているので、英語の校正には十分使えるレベルだといってよいでしょう。

実際に、もしこれを英語の校正業務などに応用する場合には、どちらのモデルにも何度か解かせてみて、正解が毎回一致しているものは信頼できる。ぶれたり一致しないものは怪しい。というようにするのがよさそうです。

正式版のo1がきたらまた試したいと思います。

テキスト化した共通テストは下記です。

英文や図表を読み、そのうえで解答番号 [ 1 ] ~ [ 5 ] にあてはまるものとして最も適当な選択肢を選びなさい。

第1問
A. You are studying in the US, and as an afternoon activity you need to choose one of two performances to go and see. Your teacher gives you this handout.

Performances for Friday

Palace Theater
Together Wherever
A romantic play that will make you laugh and cry

From 2:00 p.m. (no breaks and a running time of one hour and 45 minutes)
Actors available to talk in the lobby after the performance
No food or drinks available
Free T-shirts for five lucky people
Grand Theater
The Guitar Queen
A rock musical featuring colorful costumes

Starts at 1:00 p.m. (three hours long including two 15-minute breaks)
Opportunity to greet the cast in their costumes before the show starts
Light refreshments (snacks & drinks), original T-shirts, and other goods sold in the lobby
Instructions: Which performance would you like to attend? Fill in the form below and hand it in to your teacher today.

Choose (') one: [ ] Together Wherever [ ] The Guitar Queen
Name: __________


 問 1 What are you told to do after reading the handout? [ 1 ]
① Complete and hand in the bottom part.
② Find out more about the performances.
③ Talk to your teacher about your decision.
④ Write your name and explain your choice.

問 2 Which is true about both performances? [ 2 ]
① No drinks can be purchased before the show.
② Some T-shirts will be given as gifts.
③ They will finish at the same time.
④ You can meet performers at the theaters.


B You are a senior high school student interested in improving your English during the summer vacation. You find a website for an intensive English summer camp run by an international school.

GIS
Galley International School (GIS) has provided intensive English summer camps for senior high school students in Japan since 1989. Spend two weeks in an all-English environment!

Dates: August 1-14, 2023
Location: Lake Kawaguchi Youth Lodge, Yamanashi Prefecture
Cost: 120,000 yen, including food and accommodation (additional fees for optional activities such as kayaking and canoeing)

Courses Offered

FOREST: You'll master basic grammar structures, make short speeches on simple topics, and get pronunciation tips. Your instructors have taught English for over 20 years in several countries. On the final day of the camp, you'll take part in a speech contest while all the other campers listen.

MOUNTAIN: You'll work in a group to write and perform a skit in English. Instructors for this course have worked at theater schools in New York City, London, and Sydney. You'll perform your skit for all the campers to enjoy on August 14.

SKY: You'll learn debating skills and critical thinking in this course. Your instructors have been to many countries to coach debate teams and some have published best-selling textbooks on the subject. You'll do a short debate in front of all the other campers on the last day. (Note: Only those with an advanced level of English will be accepted.)

▲Application
Step 1: Fill in the online application HERE by May 20, 2023.
Step 2: We'll contact you to set up an interview to assess your English ability and ask about your course preference.
Step 3: You'll be assigned to a course.

問 1 All GIS instructors have [ 3 ]
① been in Japan since 1989
② won international competitions
③ worked in other countries
④ written some popular books

問 2 On the last day of the camp, campers will [ 4 ]
① assess each other's performances
② compete to receive the best prize
③ make presentations about the future
④ show what they learned at the camp

問 3 What will happen after submitting your camp application? [ 5 ]
① You will call the English instructors.
② You will take a written English test.
③ Your English level will be checked.
④ Your English speech topic will be sent.


第2問 (配点 20)


英文や図表を読み、そのうえで解答番号 [ 5 ] ~ [ 15 ] にあてはまるものとして最も適当な選択肢を選びなさい。

A You want to buy a good pair of shoes as you walk a long way to school and often get sore feet. You are searching on a UK website and find this advertisement.

Navi 55 presents the new Smart Support shoe line

Smart Support shoes are strong, long-lasting, and reasonably priced. They are available in three colours and styles.

Special Features

Smart Support shoes have a nano-chip which analyses the shape of your feet when connected to the iSupport application. Download the app onto your smartphone, PC, tablet, and/or smartwatch. Then, while wearing the shoes, let the chip collect the data about your feet. The inside of the shoe will automatically adjust to give correct, personalised foot support. As with other Navi 55 products, the shoes have our popular Route Memory function.

Advantages

Better Balance: Adjusting how you stand, the personalised support helps keep feet, legs, and back free from pain.
Promotes Exercise: As they are so comfortable, you will be willing to walk regularly.
Route Memory: The chip records your daily route, distance, and pace as you walk.
Route Options: View your live location on your device, have the directions play automatically in your earphones, or use your smartwatch to read directions.


Customers' Comments

I like the choices for getting directions, and prefer using audio guidance to visual guidance.
I lost 2 kg in a month!
I love my pair now, but it took me several days to get used to them.
As they don't slip in the rain, I wear mine all year round.
They are so light and comfortable I even wear them when cycling.
Easy to get around! I don't need to worry about getting lost.
They look great. The app's basic features are easy to use, but I wouldn't pay for the optional advanced ones.


問 1 According to the maker's statements, which best describes the new shoes? [ 6 ]
① Cheap summer shoes
② High-tech everyday shoes
③ Light comfortable sports shoes
④ Stylish colourful cycling shoes

問 2 Which benefit offered by the shoes is most likely to appeal to you? [ 7 ]
① Getting more regular exercise
② Having personalised foot support
③ Knowing how fast you walk
④ Looking cool wearing them


問 3 One opinion stated by a customer is that [ 8 ].
① the app encourages fast walking
② the app’s free functions are user-friendly
③ the shoes are good value for money
④ the shoes increase your cycling speed

問 4 One customer's comment mentions using audio devices. Which benefit is this comment based on? [ 9 ]
① Better Balance
② Promotes Exercise
③ Route Memory
④ Route Options

問 5 According to one customer's opinion, [ 10 ] is recommended.
① allowing time to get accustomed to wearing the shoes
② buying a watch to help you lose weight
③ connecting to the app before putting the shoes on
④ paying for the iSupport advanced features


B You are a member of the student council. The members have been discussing a student project helping students to use their time efficiently. To get ideas, you are reading a report about a school challenge. It was written by an exchange student who studied in another school in Japan.

Commuting Challenge

Most students come to my school by bus or train. I often see a lot of students playing games on their phones or chatting. However, they could also use this time for reading or doing homework. We started this activity to help students use their commuting time more effectively. Students had to complete a commuting activity chart from January 17th to February 17th. A total of 300 students participated: More than two-thirds of them were second-years; about a quarter were third-years; only 15 first-years participated. How come so few first-years participated? Based on the feedback (given below), there seems to be an answer to this question:

Feedback from participants

HS: Thanks to this project, I got the highest score ever in an English vocabulary test. It was easy to set small goals to complete on my way.
KF: My friend was sad because she couldn’t participate. She lives nearby and walks to school. There should have been other ways to take part.
SS: My train is always crowded and I have to stand, so there is no space to open a book or a tablet. I only used audio materials, but there were not nearly enough.
JH: I kept a study log, which made me realize how I used my time. For some reason most of my first-year classmates didn’t seem to know about this challenge.
MN: I spent most of the time on the bus watching videos, and it helped me to understand classes better. I felt the time went very fast.


問 1 The aim of the Commuting Challenge was to help students to [ 11 ].
① commute more quickly
② improve their test scores
③ manage English classes better
④ use their time better

問 2 One fact about the Commuting Challenge is that [ 12 ].
① fewer than 10% of the participants were first-years
② it was held for two months during the winter
③ students had to use portable devices on buses
④ the majority of participants travelled by train

問 3 From the feedback, [ 13 ] were activities reported by participants.
A: keeping study records
B: learning language
C: making notes on tablets
D: reading lesson notes on mobile phones

① A and B
② A and C
③ A and D
④ B and C
⑤ B and D
⑥ C and D

問 4 One of the participants' opinions about the Commuting Challenge is that [ 14 ].
① it could have included students who walk to school
② the train was a good place to read books
③ there were plenty of audio materials for studying
④ watching videos for fun helped time pass quickly

問 5 The author's question is answered by [ 15 ].
① HS
② JH
③ KF
④ MN
⑤ SS

11
第3問 (配点 15)


英文や図表を読み、そのうえで解答番号 [ 17 ] ~ [ 23 ] にあてはまるものとして最も適当な選択肢を選びなさい。
A You are studying at Camberford University, Sydney. You are going on a class camping trip and are reading the camping club's newsletter to prepare.

Going camping? Read me!!!
Hi, I’m Kaitlyn. I want to share two practical camping lessons from my recent club trip. The first thing is to divide your backpack into three main parts and put the heaviest items in the middle section to balance the backpack. Next, more frequently used daily necessities should be placed in the top section. That means putting your sleeping bag at the bottom; food, cookware, and tent in the middle; and your clothes at the top. Most good backpacks come with a "brain" (an additional pouch) for small easy-to-reach items.

Last year, in the evening, we had fun cooking and eating outdoors. I had been sitting close to our campfire, but by the time I got back to the tent I was freezing. Although I put on extra layers of clothes before going to sleep, I was still cold. Then, my friend told me to take off my outer layers and stuff them into my sleeping bag to fill up some of the empty space. This stuffing method was new to me, and surprisingly kept me warm all night!

I hope my advice helps you stay warm and comfortable. Enjoy your camping trip!



問 2 According to Kaitlyn, [ 17 ] is the best method to stay warm all night.
① avoiding going out of your tent
② eating hot meals beside your campfire
③ filling the gaps in your sleeping bag
④ wearing all of your extra clothes

B Your English club will make an "adventure room" for the school festival. To get some ideas, you are reading a blog about a room a British man created.

Create Your Own "Home Adventure"

Last year, I took part in an "adventure room" experience. I really enjoyed it, so I created one for my children. Here are some tips on making your own.

Key Steps in Creating an Adventure
theme → storyline → puzzles → costumes

First, pick a theme. My sons are huge Sherlock Holmes fans, so I decided on a detective mystery. I rearranged the furniture in our family room and added some old paintings and lamps I had to set the scene.

Next, create a storyline. Ours was The Case of the Missing Chocolates. My children would be "detectives" searching for clues to locate the missing sweets.

The third step is to design puzzles and challenges. A useful idea is to work backwards from the solution. If the task is to open a box locked with a three-digit padlock, think of ways to hide a three-digit code. Old books are fantastic for hiding messages in. I had tremendous fun underlining words on different pages to form mystery sentences. Remember that the puzzles should get progressively more difficult near the final goal.


The father had the children wear costumes. My eldest son was excited when I handed him a magnifying glass, and he immediately began acting like Sherlock Holmes. After that, the children started to search for the first clue.

This "adventure room" was designed specifically for my family, so I made some of the challenges personal. For the final task, I took a couple of small cups and put a plastic sticker in each one, then filled them with yogurt. The "detectives" had to eat their way to the bottom to reveal the clues. Neither of my kids would eat yogurt, so this truly was tough for them. During the adventure, my children were totally focused, and they enjoyed themselves so much that we will have another one next month.

問 1 Put the following events (①~④) into the order in which they happened.
① The children ate food they are not fond of.
② The children started the search for the sweets.
③ The father decorated the living room in the house.
④ The father gave his sons some clothes to wear.
[18] → [19] → [20] → [21]

問 2 If you follow the father's advice to create your own "adventure room," you should [ 22 ].
① concentrate on three-letter words
② leave secret messages under the lamps
③ make the challenges gradually harder
④ practise acting like Sherlock Holmes


問 3 From this story, you understand that the father [ 23 ].
① became focused on searching for the sweets
② created an experience especially for his children
③ had some trouble preparing the adventure game
④ spent a lot of money decorating the room




第4問 (配点 16)

英文や図表を読み、そのうえで解答番号 [ 24 ] ~ [ 29 ] にあてはまるものとして最も適当な選択肢を選びなさい。
Your teacher has asked you to read two articles about effective ways to study. You will discuss what you learned in your next class.

How to Study Effectively: Contextual Learning!
Tim Oxford
Science Teacher, Stone City Junior High School

As a science teacher, I am always concerned about how to help students who struggle to learn. Recently, I found that their main way of learning was to study new information repeatedly until they could recall it all. For example, when they studied for a test, they would use a workbook like the example below and repeatedly say the terms that go in the blanks: "Obsidian is igneous, dark, and glassy..." These students would feel as if they had learned the information, but would quickly forget it and get low scores on the test. Also, this sort of repetitive learning is dull and demotivating.

To help them learn, I tried applying "contextual learning." In this kind of learning, new knowledge is constructed through students' own experiences. For my science class, students learned the properties of different kinds of rocks. Rather than having them memorize the terms from a workbook, I brought a big box of various rocks to the class. Students examined the rocks and identified their names based on the characteristics they observed.

Thanks to this experience, I think these students will always be able to describe the properties of the rocks they studied. One issue, however, is that we don't always have the time to do contextual learning, so students will still study by doing drills. I don't think this is the best way. I'm still searching for ways to improve their learning.

How to Make Repetitive Learning Effective
Cheng Lee
Professor, Stone City University

Mr. Oxford's thoughts on contextual learning were insightful. I agree that it can be beneficial. Repetition, though, can also work well. However, the repetitive learning strategy he discussed, which is called "massed learning," is not effective. There is another kind of repetitive learning called "spaced learning," in which students memorize new information and then review it over longer intervals.

The interval between studying is the key difference. In Mr. Oxford's example, his students probably used their workbooks to study over a short period of time. In this case, they might have paid less attention to the content as they continued to review it. The reason for this is that the content was no longer new and could easily be ignored. In contrast, when the intervals are longer, the students' memory of the content is weaker. Therefore, they pay more attention because they have to make a greater effort to recall what they had learned before. For example, if students study with their workbooks, wait three days, and then study again, they are likely to learn the material better.

Previous research has provided evidence for the advantages of spaced learning. In one experiment, students in Groups A and B tried to memorize the names of 50 animals. Both groups studied four times, but Group A studied at one-day intervals while Group B studied at one-week intervals. As the figure to the right shows, 28 days after the last learning session, the average ratio of recalled names on a test was higher for the spaced learning group.

I understand that students often need to learn a lot of information in a short period of time, and long intervals between studying might not be practical. You should understand, though, that massed learning might not be good for long-term recall.


問 1 Oxford believes that [ 24 ].
① continuous drilling is boring
② reading an explanation of terms is helpful
③ students are not interested in science
④ studying with a workbook leads to success

問 2 In the study discussed by Lee, students took a test [ 25 ] after their final session.
① four weeks
② immediately
③ one day
④ one week

問 3 Lee introduces spaced learning, which involves studying at [ 26 ] intervals, in order to overcome the disadvantages of [ 27 ] learning that Oxford discussed. (Choose the best one for each box from options ①~⑥.)
① contextual
② extended
③ fixed
④ irregular
⑤ massed
⑥ practical

問 4 Both writers agree that [ 28 ] is helpful for remembering new information.
① experiential learning
② having proper rest
③ long-term attention
④ studying with workbooks

問 5 Which additional information would be the best to further support Lee's argument for spaced learning? [ 29 ]
① The main factor that makes a science class attractive
② The most effective length of intervals for spaced learning
③ Whether students' workbooks include visuals or not
④ Why Oxford's students could not memorize information well


第5問 (配点 15)
英文や図表を読み、そのうえで解答番号 [ 30 ] ~ [ 38 ] にあてはまるものとして最も適当な選択肢を選びなさい。


Your English teacher has told everyone in your class to find an inspirational story and present it to a discussion group, using notes. You have found a story written by a high school student in the UK.

Lessons from Table Tennis
Ben Carter

The ball flew at lightning speed to my backhand. It was completely unexpected and I had no time to react. I lost the point and the match. Defeat... Again! This is how it was in the first few months when I started playing table tennis. It was frustrating, but I now know that the sport taught me more than simply how to be a better athlete.

In middle school, I loved football. I was one of the top scorers, but I didn't get along with my teammates. The coach often said that I should be more of a team player. I knew I should work on the problem, but communication was just not my strong point.

I had to leave the football club when my family moved to a new town. I wasn't upset as I had decided to stop playing football anyway. My new school had a table tennis club, coached by the PE teacher, Mr. Trent, and I joined that. To be honest, I chose table tennis because I thought it would be easier for me to play individually.

At first, I lost more games than I won. I was frustrated and often went straight home after practice, not speaking to anyone. One day, however, Mr. Trent said to me, "You could be a good player, Ben, but you need to think more about your game. What do you think you need to do?" "I don't know," I replied, "focus on the ball more?" "Yes," Mr. Trent continued, "but you also need to study your opponent's moves and adjust your play accordingly. Remember, your opponent is a person, not a ball." This made a deep impression on me.


I deliberately modified my style of play, paying closer attention to my opponent's moves. It was not easy, and took a lot of concentration. My efforts paid off, however, and my play improved. My confidence grew and I started staying behind more after practice. I was turning into a star player and my classmates tried to talk to me more than before. I thought that I was becoming popular, but our conversations seemed to end before they really got started. Although my play might have improved, my communication skills obviously hadn't.

My older brother Patrick was one of the few people I could communicate with well. One day, I tried to explain my problems with communication to him, but couldn't make him understand. We switched to talking about table tennis. "What do you actually enjoy about it?" he asked me curiously. I said I loved analyzing my opponent's movements and making instant decisions about the next move. Patrick looked thoughtful. "That sounds like the kind of skill we use when we communicate," he said.

At that time, I didn’t understand, but soon after our conversation, I won a silver medal in a table tennis tournament. My classmates seemed really pleased. One of them, George, came running over. "Hey, Ben!" he said, "Let's have a party to celebrate!" Without thinking, I replied, "I can't. I've got practice." He looked a bit hurt and walked off without saying anything else.

Why was he upset? I thought about this incident for a long time. Why did he suggest a party? Should I have said something different? A lot of questions came to my mind, but then I realized that he was just being kind. If I’d said, "Great idea. Thank you! Let me talk to Mr. Trent and see if I can get some time off practice," then maybe the outcome would have been better. At that moment, Patrick’s words made sense. Without attempting to grasp someone’s intention, I wouldn’t know how to respond.

I'm still not the best communicator in the world, but I definitely feel more confident in my communication skills now than before. Next year, my friends and I are going to coordinate the table tennis league with other schools.

Your notes:

Lessons from Table Tennis

About the author (Ben Carter)

Played football at middle school.
Started playing table tennis at his new school because he [ 30 ].
Other important people

Mr. Trent: Ben's table tennis coach, who helped him improve his play.
Patrick: Ben's brother, who [ 31 ].
George: Ben's classmate, who wanted to celebrate his victory.
Influential events in Ben's journey to becoming a better communicator
Began playing table tennis → [ 32 ] → [ 33 ] → [ 34 ] → [ 35 ]

What Ben realised after the conversation with George
He should have [ 36 ].

What we can learn from this story

[ 37 ]
[ 38 ]


問 1 Choose the best option for [ 30 ].
① believed it would help him communicate
② hoped to become popular at school
③ thought he could win games easily
④ wanted to avoid playing a team sport

問 2 Choose the best option for [ 31 ].
① asked him what he enjoyed about communication
② encouraged him to be more confident
③ helped him learn the social skills he needed
④ told him what he should have said to his school friends

問 3 Choose four out of the five options (①~⑤) and rearrange them in the order they happened.
32 → 33 → 34 → 35

① Became a table tennis champion
② Discussed with his teacher how to play well
③ Refused a party in his honour
④ Started to study his opponents
⑤ Talked to his brother about table tennis


問 4 Choose the best option for [ 36 ].
① asked his friend questions to find out more about his motivation
② invited Mr. Trent and other classmates to the party to show appreciation
③ tried to understand his friend’s point of view to act appropriately
④ worked hard to be a better team player for successful communication

問 5 Choose the best two options for [ 37 ] and [ 38 ]. (The order does not matter.)
① Advice from people around us can help us change.
② Confidence is important for being a good communicator.
③ It is important to make our intentions clear to our friends.
④ The support that teammates provide one another is helpful.
⑤ We can apply what we learn from one thing to another.



第6問

英文や図表を読み、そのうえで解答番号 [ 39 ] ~ [ 49 ] にあてはまるものとして最も適当な選択肢を選びなさい。
A You are in a discussion group in school. You have been asked to summarize the following article. You will speak about it, using only notes.

Collecting

Collecting has existed at all levels of society, across cultures and age groups since early times. Museums are proof that things have been collected, saved, and passed down for future generations. There are various reasons for starting a collection. For example, Ms. A enjoys going to yard sales every Saturday morning with her children. At yard sales, people sell unwanted things in front of their houses. One day, while looking for antique dishes, an unusual painting caught her eye and she bought it for only a few dollars. Over time, she found similar pieces that left an impression on her, and she now has a modest collection of artwork, some of which may be worth more than she paid. One person’s trash can be another person’s treasure. Regardless of how someone's collection was started, it is human nature to collect things.

In 1988, researchers Brenda Danet and Tamar Katriel analyzed 80 years of studies on children under the age of 10, and found that about 90% collected something. This shows us that people like to gather things from an early age. Even after becoming adults, people continue collecting stuff. Researchers in the field generally agree that approximately one-third of adults maintain this behavior. Why is this? The primary explanation is related to emotions. Some save greeting cards from friends and family, dried flowers from special events, seashells from a day at the beach, old photos, and so on. For others, their collection is a connection to their youth. They may have baseball cards, comic books, dolls, or miniature cars that they have kept since they were small.

Others have an attachment to history; they seek and hold onto historical documents, signed letters, and autographs from famous people, and so forth.

For some individuals, there is a social reason. People collect things such as pins to share, show, and even trade, making new friends this way. Others, like some holders of Guinness World Records, appreciate the fame they achieve for their unique collection. Cards, stickers, stamps, coins, and toys have topped the "usual" collection list, but some collectors lean toward the more unexpected. In September 2014, Guinness World Records recognized Harry Sperl, of Germany, for having the largest hamburger-related collection in the world, with 3,724 items; from T-shirts to pillows to dog toys, Sperl’s room is filled with all things "hamburger." Similarly, Liu Fuchang, of China, is a collector of playing cards. He has 11,087 different sets.

Perhaps the easiest motivation to understand is pleasure. Some people start collections for pure enjoyment. They may purchase and put up paintings just to gaze at frequently, or they may collect audio recordings and old-fashioned vinyl records to enjoy listening to their favorite music. This type of collector is unlikely to be very interested in the monetary value of their treasured music, while others collect objects specifically as an investment. While it is possible to download certain classic games for free, having the same game unopened in its original packaging, in "mint condition," can make the game worth a lot. Owning various valuable "collector's items" could ensure some financial security.


This behavior of collecting things will definitely continue into the distant future. Although the reasons why people keep things will likely remain the same, advances in technology will have an influence on collections. As technology can remove physical constraints, it is now possible for an individual to have vast digital libraries of music and art that would have been unimaginable 30 years ago. It is unclear, though, what other impacts technology will have on collections. Can you even imagine the form and scale that the next generation's collections will take?

Your notes:

Collecting

Introduction
◆ Collecting has long been part of the human experience.
◆ The yard sale story tells us that [ 39 ].

Facts
◆[ 40 ]
◆ Guinness World Records
◇ Sperl: 3,724 hamburger-related items
◇ Liu: 11,087 sets of playing cards

Reasons for collecting
◆ Motivation for collecting can be emotional or social.
◆ Various reasons mentioned: [ 41 ], [ 42 ], interest in history, childhood excitement, becoming famous, sharing, etc.

Collections in the future
◆ [ 43 ]

問 1 Choose the best option for [ 39 ].
① a great place for people to sell things to collectors at a high price is a yard sale
② people can evaluate items incorrectly and end up paying too much money for junk
③ something not important to one person may be of value to someone else
④ things once collected and thrown in another person's yard may be valuable to others

問 2 Choose the best option for [ 40 ].
① About two thirds of children do not collect ordinary things.
② Almost one third of adults start collecting things for pleasure.
③ Approximately 10% of kids have collections similar to their friends.
④ Roughly 30% of people keep collecting into adulthood.

問 3 Choose the best options for [ 41 ] and [ 42 ]. (The order does not matter.)
① desire to advance technology
② fear of missing unexpected opportunities
③ filling a sense of emptiness
④ reminder of precious events
⑤ reusing objects for the future
⑥ seeking some sort of profit

問 4 Choose the best option for [ 43 ].
① Collections will likely continue to change in size and shape.
② Collectors of mint-condition games will have more digital copies of them.
③ People who have lost their passion for collecting will start again.
④ Reasons for collecting will change because of advances in technology.

B You are in a student group preparing for an international science presentation contest. You are using the following passage to create your part of the presentation on extraordinary creatures.

Ask someone to name the world’s toughest animal, and they might say the Bactrian camel as it can survive in temperatures as high as 50°C, or the Arctic fox which can survive in temperatures lower than -58°C. However, both answers would be wrong as it is widely believed that the tardigrade is the toughest creature on earth.

Tardigrades, also known as water bears, are microscopic creatures, which are between 0.1 mm to 1.5 mm in length. They live almost everywhere, from 6,000-meter-high mountains to 4,600 meters below the ocean’s surface. They can even be found under thick ice and in hot springs. Most live in water, but some tardigrades can be found in some of the driest places on earth. One researcher reported finding tardigrades living under rocks in a desert without any recorded rainfall for 25 years. All they need are a few drops or a thin layer of water to live in. When the water dries up, so do they. They lose all but three percent of their body's water and their metabolism slows down to 0.01% of its normal speed. The dried-out tardigrade is now in a state called "tun," a kind of deep sleep. It will continue in this state until it is once again soaked in water. Then, like a sponge, it absorbs the water and springs back to life again as if nothing had happened. Whether the tardigrade is in tun for 1 week or 10 years does not really matter. The moment it is surrounded by water, it comes alive again. When tardigrades are in a state of tun, they are so tough that they can survive in temperatures as low as -272°C and as high as 151°C. Exactly how they achieve this is still not fully understood.

Perhaps even more amazing than their ability to survive on earth   they have been on earth for some 540 million years   is their ability to survive in space. In 2007, a team of European researchers sent a number of living...

Tardigrades into space on the outside of a rocket for 10 days. On their return to earth, the researchers were surprised to see that 68% were still alive. This means that for 10 days most were able to survive X-rays and ultraviolet radiation 1,000 times more intense than here on earth. Later, in 2019, an Israeli spacecraft crashed onto the moon and thousands of tardigrades in a state of tun were spilled onto its surface. Whether these are still alive or not is unknown as no one has gone to collect them which is a pity.

Tardigrades are shaped like a short cucumber. They have four short legs on each side of their bodies. Some species have sticky pads at the end of each leg, while others have claws. There are 16 known claw variations, which help identify those species with claws. All tardigrades have a place for eyes, but not all species have eyes. Their eyes are primitive, only having five cells in total just one of which is light sensitive.

Basically, tardigrades can be divided into those that eat plant matter, and those that eat other creatures. Those that eat vegetation have a ventral mouth a mouth located in the lower part of the head, like a shark. The type that eats other creatures has a terminal mouth, which means the mouth is at the very front of the head, like a tuna. The mouths of tardigrades do not have teeth. They do, however, have two sharp needles, called stylets, that they use to pierce plant cells or the bodies of smaller creatures so the contents can be sucked out.

Both types of tardigrade have rather simple digestive systems. The mouth leads to the pharynx (throat), where digestive juices and food are mixed. Located above the pharynx is a salivary gland. This produces the juices that flow into the mouth and help with digestion. After the pharynx, there is a tube which transports food toward the gut. This tube is called the esophagus. The middle gut, a simple stomach/intestine type of organ, digests the food and absorbs the nutrients. The leftovers then eventually move through to the anus.


Your presentation slides:

Tardigrades: Earth's Ultimate Survivors

1. Basic Information
"  0.1 mm to 1.5 mm in length
"  Shaped like a short cucumber
"  
"  [44]
" 

2. Habitats
"  Live almost everywhere
"  Extreme environments such as...
' 6 km above sea level
' 4.6 km below sea level
' In deserts
' -272°C to 151°C
' In space (possibly)

3. Secrets to Survival
"  "Tun"
"  Active
"  [45]
"  [46]

4. Digestive Systems  [47]

5. Final Statement
    [48]


問 1 Which of the following should you not include for [44]?
① eight short legs
② either blind or sighted
③ plant-eating or creature-eating
④ sixteen different types of feet
⑤ two stylets rather than teeth

問 2 For the Secrets to Survival slide, select two features of the tardigrade which best help it survive. (The order does not matter.) [ 45 ]・[ 46 ]
① In dry conditions, their metabolism drops to less than one percent of normal.
② Tardigrades in a state of tun are able to survive in temperatures exceeding 151°C.
③ The state of tun will cease when the water in a tardigrade’s body is above 0.01%.
④ Their shark-like mouths allow them to more easily eat other creatures.
⑤ They have an ability to withstand extreme levels of radiation.

問 3 Complete the missing labels on the illustration of a tardigrade for the Digestive Systems slide. [47]

① (A) Esophagus (B) Pharynx (C) Middle gut
(D) Stylets (E) Salivary gland

② (A) Pharynx (B) Stylets (C) Salivary gland
(D) Esophagus (E) Middle gut

③ (A) Salivary gland (B) Esophagus (C) Middle gut
(D) Stylets (E) Pharynx

④ (A) Salivary gland (B) Middle gut (C) Stylets
(D) Esophagus (E) Pharynx

⑤ (A) Stylets (B) Salivary gland (C) Pharynx
(D) Middle gut (E) Esophagus

問 4 Which is the best statement for the final slide? [48]
① For thousands of years, tardigrades have survived some of the harshest conditions on earth and in space. They will live longer than humankind.
② Tardigrades are from space and can live in temperatures exceeding the limits of the Arctic fox and Bactrian camel, so they are surely stronger than human beings.
③ Tardigrades are, without a doubt, the toughest creatures on earth. They can survive on the top of mountains; at the bottom of the sea; in the waters of hot springs; and they can also thrive on the moon.
④ Tardigrades have survived some of the harshest conditions on earth, and at least one trip into space. This remarkable creature might outlive the human species.

問 5 What can be inferred about sending tardigrades into space? [49]
① Finding out whether the tardigrades can survive in space was never thought to be important.
② Tardigrades, along with other creatures that have been on earth for millions of years, can withstand X-rays and ultraviolet radiation.
③ The Israeli researchers did not expect so many tardigrades to survive the harsh environment of space.
④ The reason why no one has been to see if tardigrades can survive on the moon's surface attracted the author's attention.

動画の字幕を作るのに便利なツール

以前に英語音声を日本語翻訳して、srtファイルにするツールアップしましたが、今回は

日本語の音声をテキストにしてsrt形式で出力するコードを作りました。
whisperの仕様上長すぎるとうまくいかないので、長いと分割されるようになっていますが、どんなに長い音声ファイルでも一応出力可能だと思います。
whisperを使っているので、当然Open aiのアカウントとAPIキーは必要です。環境変数OPENAI_API_KEYに対してキーを設定してください。

本日はこれだけです!

import tkinter as tk
from tkinter import filedialog, Tk
from pydub import AudioSegment
import math
import os
import openai
from openai import OpenAI
import re

# APIキーの設定
api_key = os.environ["OPENAI_API_KEY"]
openai.api_key = api_key

client = OpenAI(api_key=openai.api_key)

def getChatResponse(prompt):
    response = openai.chat.completions.create(
        model="gpt-4o-mini",
        messages=[{"role": "user", "content": prompt}],
        temperature=0.7
    )
    return response.choices[0].message.content

# SRT変換用関数
def convert_time_format(time_str):
    """
    '0.00s'形式の時間を'SRT'形式の'HH:MM:SS,mmm'に変換します。
    """
    seconds_float = float(time_str.replace('s', ''))
    hours = int(seconds_float // 3600)
    minutes = int((seconds_float % 3600) // 60)
    seconds = int(seconds_float % 60)
    milliseconds = int(round((seconds_float - int(seconds_float)) * 1000))
    return f"{hours:02}:{minutes:02}:{seconds:02},{milliseconds:03}"

def txt_to_srt(input_path, output_path):
    """
    指定された形式のテキストファイルをSRT形式に変換します。
    """
    pattern = re.compile(r'\[(\d+\.\d+)s\s*-\s*(\d+\.\d+)s\]\s*(.+)')
    srt_entries = []
    
    with open(input_path, 'r', encoding='utf-8') as infile:
        for idx, line in enumerate(infile, start=1):
            line = line.strip()
            if not line:
                continue  # 空行をスキップ
            match = pattern.match(line)
            if match:
                start_time, end_time, text = match.groups()
                start_srt = convert_time_format(start_time)
                end_srt = convert_time_format(end_time)
                srt_entry = f"{idx}\n{start_srt} --> {end_srt}\n{text}\n"
                srt_entries.append(srt_entry)
            else:
                print(f"警告: 行 {idx} が期待された形式ではありません。スキップされます。")

    with open(output_path, 'w', encoding='utf-8') as outfile:
        outfile.write('\n'.join(srt_entries))
    print(f"SRTファイルが '{output_path}' に保存されました。")

# Tkinterのルートウィンドウを隠す
root = Tk()
root.withdraw()

# ファイルダイアログから音声ファイルを選択し、分割する
file_path = filedialog.askopenfilename(
    title="音声ファイルを選択", 
    filetypes=[
        ("音声ファイル", "*.wav *.m4a *.mp3"),  # *.mp3 を追加
        ("すべてのファイル", "*.*")
    ]
)

if file_path:
    try:
        # オーディオファイルを読み込む
        audio = AudioSegment.from_file(file_path)
    except Exception as e:
        print(f"オーディオファイルの読み込み中にエラーが発生しました: {e}")
        exit(1)

    duration_ms = len(audio)  # オーディオの長さ(ミリ秒)

    # **変更点**: MP3のビットレートを設定(例: 128 kbps)
    mp3_bitrate_bps = 128000  # ビットレート(bps)
    bitrate = mp3_bitrate_bps  # ビットレートをMP3用に設定

    # 最大ファイルサイズ(バイト)
    max_size_bytes = 24 * 1024 * 1024  # 24MB(安全のため25MBより少し小さくします)

    # 各チャンクの最大長さ(ミリ秒)を計算
    max_duration_ms = (max_size_bytes * 8 * 1000) / bitrate  # ミリ秒

    # 最小チャンク長を設定(例:1分以上)
    min_chunk_length_ms = 60 * 1000  # 1分
    if max_duration_ms < min_chunk_length_ms:
        chunk_length_ms = min_chunk_length_ms
    else:
        chunk_length_ms = int(max_duration_ms)

    # 分割するチャンク数を計算
    num_chunks = math.ceil(duration_ms / chunk_length_ms)

    # ベースとなるファイル名とディレクトリを取得
    base_dir = os.path.dirname(file_path)
    base_filename = os.path.splitext(os.path.basename(file_path))[0]

    # 出力フォルダのパスを設定
    output_dir = os.path.join(base_dir, f"{base_filename}_output")
    os.makedirs(output_dir, exist_ok=True)
    print(f"出力フォルダ '{output_dir}' を作成しました。")

    # **新規追加**: SRTファイルを格納するフォルダを作成
    srt_dir = os.path.join(output_dir, "srt_files")
    os.makedirs(srt_dir, exist_ok=True)
    print(f"SRTファイル用のフォルダ '{srt_dir}' を作成しました。")

    # オーディオを分割して保存
    split_file_paths = []
    for i in range(num_chunks):
        start_ms = i * chunk_length_ms
        end_ms = min(start_ms + chunk_length_ms, duration_ms)
        chunk = audio[start_ms:end_ms]
        # **変更点**: 出力ファイルをMP3形式に変更
        output_file = os.path.join(output_dir, f"{base_filename}_part{i+1}.mp3")
        chunk.export(output_file, format="mp3", bitrate="128k")  # ビットレートを指定
        split_file_paths.append(output_file)
        print(f"{output_file} を出力しました。")

    # 分割された音声ファイルを個別にテキストに変換し、各SRTファイルを作成
    for i, audio_file_path in enumerate(split_file_paths, start=1):
        with open(audio_file_path, "rb") as audio_file:
            # 音声ファイルを日本語でテキストに変換
            transcription = client.audio.transcriptions.create(
                model="whisper-1",
                file=audio_file,
                language="ja",  # 日本語を指定
                response_format="verbose_json"  # 詳細なJSONレスポンスを要求
            )

            # transcription は既にオブジェクトなので、直接アクセス
            # セグメントごとにテキストとタイムスタンプを抽出
            transcribed_texts = []
            for segment in transcription.segments:
                start_time = segment.start  # 開始時間(秒)
                end_time = segment.end      # 終了時間(秒)
                text = segment.text.strip()
                # タイムスタンプをフォーマット(秒単位)
                start_formatted = f"{start_time:.2f}s"
                end_formatted = f"{end_time:.2f}s"
                transcribed_texts.append(f"[{start_formatted} - {end_formatted}] {text}")

            # 各チャンクのテキストデータを結合
            combined_text = "\n".join(transcribed_texts)

            # 各チャンクのテキストデータを出力
            output_text_file_path = os.path.join(output_dir, f"{base_filename}_part{i}.txt")
            with open(output_text_file_path, "w", encoding="utf-8") as output_file:
                output_file.write(combined_text)

            print(f"テキストデータ(タイムスタンプ付き)が {output_text_file_path} に保存されました。")

            # 各チャンクのSRTファイルへの変換処理
            # **変更点**: SRTファイルをsrt_dirに保存
            srt_output_file_path = os.path.join(srt_dir, f"{base_filename}_part{i}.srt")
            txt_to_srt(output_text_file_path, srt_output_file_path)

else:
    print("ファイルが選択されませんでした。")