Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
airesearch
/
WangchanLion7B
like
5
Text Generation
Transformers
PyTorch
laion/OIG
databricks/databricks-dolly-15k
thaisum
scb_mt_enth_2020
garage-bAInd/Open-Platypus
iapp_wiki_qa_squad
pythainlp/han-instruct-dataset-v1.0
cognitivecomputations/dolphin
Hello-SimpleAI/HC3
Muennighoff/xP3x
openai/summarize_from_feedback
Thai
English
mpt
custom_code
text-generation-inference
License:
apache-2.0
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
729a5f4
WangchanLion7B
/
fc.py
Rasu23
Upload MPTForCausalLM
cd7c35a
6 months ago
raw
history
blame
No virus
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