d-matrix / gpt2

huggingface.co
Total runs: 15
24-hour runs: 1
7-day runs: 2
30-day runs: 8
Model's Last Updated: July 26 2025
text-generation

Introduction of gpt2

Model Details of gpt2

This is a d-Matrix functional reference of the GPT2 model family, with the following revisions :

The reference provides the following functional configurations :

Configuration Explanation
BASELINE a reference functionally equivalent to the original model
BASIC all linear algebraic operands quantized to BFP16-64 , and all other operations transformed to approximated kernel simulations
Usage

Install d-Matrix ML Tools first.

pip install dmx-mltools

The following is an example model and its evaluation.

from mltools.dmx import pipeline

pipe = pipeline(
    task="text-generation",
    model="d-matrix/gpt2",
    revision="gpt2-xl",  # see above for other variants
    dmx_config="BASELINE",  # see above for other variants
)

results = pipe.evaluate(
    metric="d-matrix/dmx_perplexity",
    dataset="wikitext",
    dataset_version="wikitext-2-raw-v1",
)
Evaluation results
  • perplexity on penn_treebank

    Revision \ Configuration BASELINE BASIC
    distilgpt2 63.46 64.13
    gpt2 35.77 35.93
    gpt2-medium 27.06 27.10
    gpt2-large 23.03 23.04
    gpt2-xl 21.01 21.02
  • perplexity on wikitext2

    Revision \ Configuration BASELINE BASIC
    distilgpt2 46.06 46.44
    gpt2 29.94 30.08
    gpt2-medium 21.71 21.73
    gpt2-large 19.42 19.43
    gpt2-xl 17.40 17.40
  • perplexity on wikitext103

    Revision \ Configuration BASELINE BASIC
    distilgpt2 46.06 46.44
    gpt2 29.94 30.08
    gpt2-medium 21.71 21.73
    gpt2-large 19.43 19.43
    gpt2-xl 17.40 17.40

Runs of d-matrix gpt2 on huggingface.co

15
Total runs
1
24-hour runs
3
3-day runs
2
7-day runs
8
30-day runs

More Information About gpt2 huggingface.co Model

More gpt2 license Visit here:

https://choosealicense.com/licenses/mit

gpt2 huggingface.co

gpt2 huggingface.co is an AI model on huggingface.co that provides gpt2's model effect (), which can be used instantly with this d-matrix gpt2 model. huggingface.co supports a free trial of the gpt2 model, and also provides paid use of the gpt2. Support call gpt2 model through api, including Node.js, Python, http.

d-matrix gpt2 online free

gpt2 huggingface.co is an online trial and call api platform, which integrates gpt2's modeling effects, including api services, and provides a free online trial of gpt2, you can try gpt2 online for free by clicking the link below.

d-matrix gpt2 online free url in huggingface.co:

https://huggingface.co/d-matrix/gpt2

gpt2 install

gpt2 is an open source model from GitHub that offers a free installation service, and any user can find gpt2 on GitHub to install. At the same time, huggingface.co provides the effect of gpt2 install, users can directly use gpt2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gpt2 install url in huggingface.co:

https://huggingface.co/d-matrix/gpt2

Url of gpt2

Provider of gpt2 huggingface.co

d-matrix
ORGANIZATIONS

Other API from d-matrix

huggingface.co

Total runs: 964
Run Growth: 0
Growth Rate: 0.00%
Updated:August 23 2024
huggingface.co

Total runs: 570
Run Growth: 42
Growth Rate: 7.37%
Updated:July 26 2025
huggingface.co

Total runs: 193
Run Growth: 0
Growth Rate: 0.00%
Updated:April 02 2024
huggingface.co

Total runs: 166
Run Growth: 0
Growth Rate: 0.00%
Updated:July 02 2024
huggingface.co

Total runs: 60
Run Growth: 0
Growth Rate: 0.00%
Updated:May 21 2024
huggingface.co

Total runs: 39
Run Growth: 19
Growth Rate: 45.24%
Updated:February 22 2025
huggingface.co

Total runs: 39
Run Growth: 0
Growth Rate: 0.00%
Updated:April 02 2024
huggingface.co

Total runs: 23
Run Growth: 16
Growth Rate: 69.57%
Updated:January 19 2025
huggingface.co

Total runs: 22
Run Growth: 17
Growth Rate: 77.27%
Updated:July 26 2025
huggingface.co

Total runs: 21
Run Growth: 0
Growth Rate: 0.00%
Updated:December 03 2024
huggingface.co

Total runs: 19
Run Growth: 6
Growth Rate: 31.58%
Updated:February 22 2025
huggingface.co

Total runs: 17
Run Growth: 13
Growth Rate: 76.47%
Updated:July 26 2025
huggingface.co

Total runs: 17
Run Growth: 9
Growth Rate: 52.94%
Updated:July 26 2025
huggingface.co

Total runs: 16
Run Growth: 6
Growth Rate: 37.50%
Updated:July 26 2025
huggingface.co

Total runs: 14
Run Growth: 4
Growth Rate: 28.57%
Updated:July 26 2025
huggingface.co

Total runs: 12
Run Growth: 6
Growth Rate: 50.00%
Updated:July 26 2025
huggingface.co

Total runs: 12
Run Growth: 12
Growth Rate: 100.00%
Updated:June 27 2025
huggingface.co

Total runs: 11
Run Growth: 6
Growth Rate: 54.55%
Updated:July 26 2025
huggingface.co

Total runs: 11
Run Growth: 4
Growth Rate: 36.36%
Updated:July 26 2025
huggingface.co

Total runs: 10
Run Growth: 8
Growth Rate: 80.00%
Updated:July 26 2025
huggingface.co

Total runs: 10
Run Growth: 5
Growth Rate: 50.00%
Updated:July 26 2025
huggingface.co

Total runs: 10
Run Growth: 4
Growth Rate: 40.00%
Updated:July 26 2025
huggingface.co

Total runs: 6
Run Growth: 4
Growth Rate: 66.67%
Updated:July 26 2025
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:February 20 2025
huggingface.co

Total runs: 1
Run Growth: -2
Growth Rate: -200.00%
Updated:July 26 2025