Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
truongpdd
/
vietnews-gpt2
like
1
Text Generation
Transformers
PyTorch
JAX
TensorBoard
gpt2
text-generation-inference
Inference Endpoints
Model card
Files
Files and versions
Metrics
Training metrics
Community
1
Train
Deploy
Use this model
truongpdd
commited on
Sep 12, 2022
Commit
cbe4e90
·
1 Parent(s):
8205d5b
Create README.md
Browse files
Files changed (1)
hide
show
README.md
+7
-0
README.md
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
2
+
3
+
```
4
+
from transformers import AutoModelForCausalLM
5
+
6
+
model = AutoModelForCausalLM.from_pretrained('truongpdd/vietnamese-news-gpt2-5epochs', from_flax=True)
7
+
```