Views
No views yet
16 tokens16 tokens4 tokens4 tokensres3):
ln3):
ln3 is added after the Residual 2 Feed-Forward Network addition inside every MSITBranchBlock (global block and all expert blocks).ln_post_moe):
ln_post_moe is added after the Residual 4 MoE aggregation.chck_1M through chck_10M).chck_10M through chck_100M).main branch.main branch)1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained(
5 "SRJ5035/correct_small_sw_16_16_4_4_norm_residuls_xpert_strcit_small",
6 revision="main",
7 trust_remote_code=True
8).eval()
9
10tokenizer = AutoTokenizer.from_pretrained(
11 "SRJ5035/correct_small_sw_16_16_4_4_norm_residuls_xpert_strcit_small",
12 revision="main"
13)chck_5M)1model_5m = AutoModelForCausalLM.from_pretrained(
2 "SRJ5035/correct_small_sw_16_16_4_4_norm_residuls_xpert_strcit_small",
3 revision="chck_5M",
4 trust_remote_code=True
5).eval()