Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
BUT-FIT
/
csmpt7b
like
11
Follow
Brno University of Technology, Faculty of Information Technology
34
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
cfa6500
csmpt7b
/
fc.py
mfajcik
code upload
27ccd05
verified
10 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