Lecture: Try text completion using GPT-J ver. 2

Last Updated on May 23, 2022 by shibatau

The sample 2 is added.

GPT-J

It reads at https://textsynth.com/playground.html

Text completion using large language models. GPT-J is a 6 billion parameter English model. It has some abilities in other languages too, including computer languages. Boris is a fine-tuned version of GPT-J for the French language. GPT-NeoX 20B is the largest model. More information is available in the documentation.

Question-Answer

Sample 1

Texts

From Member states of NATO

NATO (North Atlantic Treaty Organization) is an international military alliance that consists of 30 member states from Europe, North America, and Asia. It was established at the signing of the North Atlantic Treaty on 4 April 1949. Article Five of the treaty states that if an armed attack occurs against one of the member states, it shall be considered an attack against all members, and other members shall assist the attacked member, with armed forces if necessary.

Of the 30 member countries, 27 are mainly located in Europe, two in North America, and one in Asia. Between 1994 and 1997, wider forums for regional cooperation between NATO and its neighbours were set up, including the Partnership for Peace, the Mediterranean Dialogue initiative and the Euro-Atlantic Partnership Council.

All members have militaries, except for Iceland, which does not have a typical army (but it does have a coast guard and a small unit of civilian specialists for NATO operations). Three of NATO’s members are nuclear weapons states: France, the United Kingdom, and the United States. NATO has 12 original founding member states. Three more members joined between 1952 and 1955, and a fourth new member joined in 1982. After the end of the Cold War, NATO added 14 more members from 1999 to 2020.

NATO currently recognizes Bosnia and Herzegovina, Georgia, and Ukraine as aspiring members as part of their Open Doors enlargement policy.

Question – Answer

Q: Which country has no militaries?

A: Iceland.

Sample 2

Texts

From Stand by Me

Stand by Me is a 1986 American coming-of-age story directed by Rob Reiner. It is based on Stephen King’s 1982 novella The Body, and the title derives from the song by Ben E. King. Wil Wheaton, River Phoenix, Corey Feldman, and Jerry O’Connell star as four boys who, in 1959, go on a hike to find the dead body of a missing boy.

Stand by Me was nominated for an Academy Award for Best Adapted Screenplay and for two Golden Globe Awards: one for Best Drama Motion Picture and one for Best Director.

Ask questions like these:

  1. Who directed Stand by Me?
  2. What was Stand by Me based on?
  3. Who were starred as four boys?
  4. How many Golden Globe Awards was Stand by Me nominated for?

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.