---
title: tiny-random-gpt2
canonical_url: "https://www.modelscope.cn/models/Intel/tiny-random-gpt2"
md_url: "https://www.modelscope.cn/models/Intel/tiny-random-gpt2.md"
repository: Intel/tiny-random-gpt2
last_updated: 2025-09-08
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - gpt2
architectures:
  - GPT2LMHeadModel
parameters: 7.0M
tensor_type:
  - F32
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task text/emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 95350
stars: 0
---

# tiny-random-gpt2

> tiny-random-gpt2 - Intel 在 ModelScope 开源的模型。Model Card for Model ID

Intel/tiny-random-gpt2 是 ModelScope 魔搭社区上的 7.0M 参数text-generation模型，可用 deploy_task text/emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: Intel/tiny-random-gpt2
- **Tasks**: text-generation
- **Parameters**: 7.0M
- **Inference backends**: deploy_task text/emb, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 95350
- **Stars**: 0
- **Last updated**: 2025-09-08

Source: https://www.modelscope.cn/models/Intel/tiny-random-gpt2

---

# Model Card for Model ID

This is a tiny random GPT2 model derived from "openai-community/gpt2".

This is useful for functional testing (not quality generation, since its weights are random) on [optimum-intel](https://github.com/huggingface/optimum-intel/blob/main/tests/ipex/utils_tests.py)
