Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
aisingapore
/
SEA-LION-v1-3B
like
18
Follow
AI Singapore
244
Text Generation
Transformers
Safetensors
11 languages
mpt
custom_code
text-generation-inference
arxiv:
2101.09635
License:
mit
Model card
Files
Files and versions
Community
3
Train
Deploy
Use this model
428b9ec
SEA-LION-v1-3B
/
fc.py
xianbin
Add 3B model files
430b3b1
almost 2 years 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