Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
mosaicml
/
mpt-30b
like
341
Follow
Mosaic ML, Inc.
354
Text Generation
Transformers
PyTorch
5 datasets
mpt
Composer
MosaicML
llm-foundry
StreamingDatasets
custom_code
text-generation-inference
arxiv:
6 papers
License:
apache-2.0
Model card
Files
Files and versions
Community
21
Train
Deploy
Use this model
refs/pr/20
mpt-30b
/
fc.py
daking
LLM-foundry update October 17, 2023 23:04:30 (
#15
)
c019b24
about 1 year 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