Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
abinayam
/
gpt-2-tamil
like
12
Text Generation
Transformers
PyTorch
TensorBoard
Safetensors
oscar
IndicNLP
Tamil
gpt2
text-generation-inference
Inference Endpoints
Model card
Files
Files and versions
Metrics
Training metrics
Community
6
Train
Deploy
Use this model
752d5c1
gpt-2-tamil
/
src
/
convert_flax_to_pytorch.py
AbinayaM02
Converted flax to pytorch model
ed4e9b8
over 3 years ago
raw
Copy download link
history
blame
Safe
145 Bytes
from
transformers
import
GPT2LMHeadModel
model = GPT2LMHeadModel.from_pretrained(
"../gpt-2-tamil"
, from_flax=
True
)
model.save_pretrained(
"../"
)