Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
LilPhat23
/
PhoGPT
like
0
Text Generation
PEFT
PyTorch
Safetensors
Transformers
phogpt
lora
conversational
arxiv:
1910.09700
Model card
Files
Files and versions
xet
Community
Use this model
LilPhat23
commited on
Nov 1, 2025
Commit
3226c6d
·
verified
·
1 Parent(s):
3b3c659
Upload fc.py
Browse files
Files changed (1)
hide
show
fc.py
+7
-0
fc.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from torch import nn
2
+
FC_CLASS_REGISTRY = {'torch': nn.Linear}
3
+
try:
4
+
import transformer_engine.pytorch as te
5
+
FC_CLASS_REGISTRY['te'] = te.Linear
6
+
except:
7
+
pass