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