Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
openai-community
/
gpt2-medium
like
154
Follow
OpenAI community
212
Text Generation
Transformers
PyTorch
google-tensorflow
TensorFlow
JAX
Rust
ONNX
Safetensors
English
gpt2
text-generation-inference
Inference Endpoints
arxiv:
1910.09700
License:
mit
Model card
Files
Files and versions
Community
15
Train
Deploy
Use this model
6dcaa7a
gpt2-medium
/
generation_config_for_text_generation.json
joaogante
HF staff
Adding generation config file(s)
a8543b8
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"
}