Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
mosaicml
/
mpt-30b-chat
like
203
Follow
Mosaic ML, Inc.
351
Text Generation
Transformers
PyTorch
11 datasets
mpt
Composer
MosaicML
llm-foundry
conversational
custom_code
text-generation-inference
arxiv:
2205.14135
arxiv:
2108.12409
arxiv:
2010.04245
License:
cc-by-nc-sa-4.0
Model card
Files
Files and versions
Community
29
Train
Deploy
Use this model
1709f47
mpt-30b-chat
/
fc.py
daking
LLM-foundry update October 17, 2023 23:04:30 (
#21
)
1e3a152
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