PaLM 540B PaLM-Coder-540B

language
C#
C++
Go
Haskell
Java
JS
Julia
Lua
PHP
Python
Rust
TS

24.22
34.16
19.25
8.7
31.06
32.3
16.77
26.09
26.09
34.16
28.57
32.3

20.5
21.74
13.66
1.86
20.5
23.6
2.48
19.25
18.63
17.39
16.15
17.39

26.09
24.22
21.12
1.86
25.47
29.81
4.35
24.84
25.47
26.71
22.98
30.43

A.5 Natural language generation

We show the per-language NLG results in Table 19. We show the per-language results on ﬁltered data in Table 20.

B Examples of model capabilities

We show sample model outputs that demonstrate PaLM-2 capabilities below. Most of the examples employ a variant of
PaLM-2 that has been ﬁne-tuned for instruction-following.

B.1 Multilinguality

Explaining jokes PaLM (Chowdhery et al., 2022) displayed the capability to explain jokes in English. We show that
PaLM 2 exhibits joke understanding capabilities in a multilingual context. We instruct PaLM 2 in a zero-shot setting
and provide examples in Figure 12.
PaLM 2 Technical Report