Python: Text generation, transformers, pytorch

Last Updated on June 27, 2021 by shibatau

I.Reading comprehension

 

次の文を読んでください。誰が書いたと思いますか?

 

The thing I hate most about reading books about the Vietnam War is how long it is taken to get into it. So I have decided to make a little list, starting with the books about the Vietnam War, which are available online (they are free to read, and the link to the books and their descriptions are right there on this page at the bottom of the page.)

 

II.何をする?

 

深層学習による自然言語処理を学びます。手始めにテキストを算出します。

 

Use AI to Write Essays with 3 Lines of Python Code

 

Iに示した文は、Trabsfirnersで”Thing I hate about reading books”に続く文を産出したものです。不自然なところはありますが、それなりに理解できる文にはなっています。

スクリプトは上にリンクした解説通りですが、Google Collaboratoryに公開しました。

 

https://colab.research.google.com/drive/1_j5D46cVibINtmejZoLsU9ZLuWXmkClY?usp=sharing

 

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. Required fields are marked *

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