Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
trick4kid
/
PhoGPT-7B5-Instruct-Patch
like
0
Text Generation
Transformers
PyTorch
mpt
custom_code
text-generation-inference
License:
apache-2.0
Model card
Files
Files and versions
xet
Community
1
Deploy
Use this model
refs/pr/1
PhoGPT-7B5-Instruct-Patch
/
fc.py
trick4kid
Upload 13 files
f35d5c1
over 2 years ago
raw
Copy download link
history
blame
Safe
167 Bytes
from
torch
import
nn
FC_CLASS_REGISTRY = {
'torch'
: nn.Linear}
try
:
import
transformer_engine.pytorch
as
te
FC_CLASS_REGISTRY[
'te'
] = te.Linear
except
:
pass