HuaweiJuly 27, 2023

PanGu-Coder2

PanGu-Coder2 is a 15B-parameter code model from Huawei, described in July 2023. It was trained with RRTF (Rank Responses to align Test & Teacher Feedback), which ranks candidate responses using test results and preferences, and reached 62.2% pass@1 on HumanEval, ahead of comparable open code models at the time.

Closed / API only

At a glance

Context window
8K tokens
Max output
—
Text input / output · per 1M tokens
— / —
Knowledge cutoff
—

Benchmark snapshot

Best result in each category

  • CodingHumanEval

    91.8

    Historical report (mode unspecified) · pass@100 · pass-at-100 · #10 of 100

View benchmark details (1)

Benchmark details

1 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Coding
HumanEval

Historical report (mode unspecified) · pass@100 · pass-at-100 · Code Generation & Editing

91.810 / 100

Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.

Back to benchmark snapshot ↑

Specifications

Provider
Huawei
Model type
Coding model
Released
July 27, 2023
Total parameters
15B
Architecture
Dense
Context window
8K tokens
Weights
Closed / API only
Commercial use
Proprietary

Capabilities

MultilingualCoding

Community discussion

Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.

Sign in with Google to rate this model and leave a comment.

No community comments yet.