Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
aisingapore
/
sea-lion-3b
like
16
Follow
AI Singapore
110
Text Generation
Transformers
Safetensors
11 languages
mpt
custom_code
text-generation-inference
Inference Endpoints
arxiv:
2101.09635
License:
mit
Model card
Files
Files and versions
Community
3
Train
Deploy
Use this model
refs/pr/2
sea-lion-3b
/
fc.py
xianbin
Add 3B model files
430b3b1
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