Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
w11wo
/
sundanese-gpt2-base
like
1
Text Generation
Transformers
PyTorch
JAX
TensorBoard
Safetensors
4 datasets
Sundanese
gpt2
sundanese-gpt2-base
text-generation-inference
Inference Endpoints
License:
mit
Model card
Files
Files and versions
Metrics
Training metrics
Community
1
Train
Deploy
Use this model
8ab7d76
sundanese-gpt2-base
/
create_config.py
w11wo
config and tokenizer
f5e3080
over 3 years ago
raw
Copy download link
history
blame
Safe
189 Bytes
from
transformers
import
GPT2Config
model_dir =
"./"
config = GPT2Config.from_pretrained(
"gpt2"
, resid_pdrop=
0.0
, embd_pdrop=
0.0
, attn_pdrop=
0.0
)
config.save_pretrained(model_dir)