$$
\boldsymbol{r} = r
$$
以下の文章を読み、後の問いに答えてください。
「私はその人を常に先生と呼んでいた。だからここでもただ先生と書くだけで本名は打ち明けない。これは世間を憚かる遠慮というよりも、その方が私にとって自然だからである。私はその人の記憶を呼び起すごとに、すぐ「先生」といいたくなる。別段深い意味で先生と呼んでいるのではない。憧れとか尊敬とかいう気持ではないからだ。私はその人を先生と呼ぶと、同時に自分を生徒と思うのである。すると自分は末席につくがよいと思う。そう思っていると、どんなに気が利いても、気どっても、おしゃべりになれない。私は先生に対しておしゃべりになりたいとは思わない。」
問 「私」は「先生」の本名を知っていると考えられますか?
結城浩さんによるChatGPT と結城浩の対話に影響を受けて、ChatGPTと対話したログです。
ChatGPTは、結城さんとの会話において明らかに「自身の感情」を全面に押し出しているのに対して、僕との対話ではなるべく無感情に「AIとして」振る舞おうとしているのがわかります。
例えば結城さんに褒められて、ChatGPTは
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
double func(double a){ | |
for (int i=0;i<100000000;i++){ | |
a = a * 3.0; | |
if (a > 1.0) a -= 1.0; | |
if (a > 1.0) a -= 1.0; | |
} | |
return a; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <mpi.h> | |
#include <cstdio> | |
#include <vector> | |
int main(int argv, char **argc){ | |
MPI_Init(&argv, &argc); | |
int rank; | |
MPI_Comm_rank(MPI_COMM_WORLD, &rank); | |
int send_buf[] = {3,5,3,1,6,7,8,8}; | |
int count = sizeof(send_buf)/sizeof(int); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <algorithm> | |
#include <random> | |
int main(){ | |
std::mt19937 mt; | |
double s = 0.0; | |
std::uniform_real_distribution<double> ud(0.0, 1.0); | |
for (int i = 0; i < 1000000; i++) s+=ud(mt); | |
printf("%f\n",s); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <random> | |
#include <cstdio> | |
int main(void) { | |
std::mt19937 mt(1); | |
int s = 0; | |
for (int i = 0; i < 100; i++) { | |
std::uniform_real_distribution<double> ud(0.0, 1.0); | |
for(int j=0;j<10000;j++){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <arm_sve.h> | |
#include <iostream> | |
#include <vector> | |
#include <random> | |
void show_pr(svbool_t tp) { | |
int n = svcntb(); | |
std::vector<int8_t> a(n); | |
std::vector<int8_t> b(n); | |
std::fill(a.begin(), a.end(), 1); |
NewerOlder