library_name: transformers | |
tags: [] | |
# Model Card for Model ID | |
This is a tiny random gpt2 model. It was uploaded by IPEXModelForCausalLM. | |
``` | |
from optimum.intel import IPEXModelForCausalLM | |
model = IPEXModelForCausalLM.from_pretrained("Intel/tiny_random_gpt2") | |
model.push_to_hub("Intel/tiny-random-gpt2_ipex_model") | |
``` | |
This is useful for functional testing (not quality generation, since its weights are random) |