Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
aisingapore
/
sea-lion-7b
like
36
Follow
AI Singapore
136
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
13
Train
Deploy
Use this model
refs/pr/5
sea-lion-7b
/
fc.py
xianbin
Add 7B model files
85aeb62
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