Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
distilbert
/
distilgpt2
like
444
Follow
DistilBERT community
55
Text Generation
Transformers
PyTorch
google-tensorflow
TensorFlow
JAX
TF Lite
Rust
Core ML
Safetensors
openwebtext
English
gpt2
exbert
Eval Results
Carbon Emissions
text-generation-inference
Inference Endpoints
arxiv:
5 papers
License:
apache-2.0
Model card
Files
Files and versions
Community
15
Train
Deploy
Use this model
refs/pr/12
distilgpt2
/
generation_config_for_text_generation.json
joaogante
HF staff
Adding generation config file(s)
f241065
almost 2 years ago
raw
Copy download link
history
blame
Safe
165 Bytes
{
"_from_model_config"
:
true
,
"bos_token_id"
:
50256
,
"do_sample"
:
true
,
"eos_token_id"
:
50256
,
"max_length"
:
50
,
"transformers_version"
:
"4.27.0.dev0"
}