Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
BUT-FIT
/
csmpt7b
like
10
Follow
Brno University of Technology, Faculty of Information Technology
27
Text Generation
Transformers
Safetensors
BUT-FIT/BUT-LCC
BUT-FIT/adult_content_classifier_dataset
Czech
mpt
custom_code
text-generation-inference
Inference Endpoints
arxiv:
2304.09871
License:
apache-2.0
Model card
Files
Files and versions
Community
1
Train
Deploy
Use this model
f0f46c6
csmpt7b
/
fc.py
mfajcik
code upload
27ccd05
verified
8 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