Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
trick4kid
/
PhoGPT-7B5-Instruct-Patch
like
0
Text Generation
Transformers
PyTorch
mpt
custom_code
text-generation-inference
Inference Endpoints
License:
apache-2.0
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
e0af8bb
PhoGPT-7B5-Instruct-Patch
/
fc.py
trick4kid
Upload 13 files
f35d5c1
11 months 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