How to use from the
Use from the
Transformers library
# Gated model: Login with a HF token with gated access permission
hf auth login
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="NLP-RISE/gpt2moe_dom_het-T_tok_1000mb")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("NLP-RISE/gpt2moe_dom_het-T_tok_1000mb", device_map="auto")
Quick Links

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

gpt2moe_dom_het-T_tok_1000mb

This model is a fine-tuned version of on the arrow dataset. It achieves the following results on the evaluation set:

  • Loss: 3.7097

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0001
  • train_batch_size: 8
  • eval_batch_size: 4
  • seed: 42
  • gradient_accumulation_steps: 8
  • total_train_batch_size: 64
  • optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-06 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 36065
  • training_steps: 360651
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss
No log 0 0 11.0165
8.0511 0.0555 2000 7.8517
7.2027 0.1109 4000 6.8950
6.7019 0.1664 6000 6.3390
6.3419 0.2218 8000 5.9387
6.0673 0.2773 10000 5.6346
5.8525 0.3327 12000 5.3898
5.6775 0.3882 14000 5.1935
5.5328 0.4436 16000 5.0277
5.4239 0.4991 18000 4.9024
5.3267 0.5546 20000 4.8032
5.2443 0.6100 22000 4.7140
5.1832 0.6655 24000 4.6480
5.1314 0.7209 26000 4.5861
5.0868 0.7764 28000 4.5365
5.048 0.8318 30000 4.4924
5.0078 0.8873 32000 4.4531
4.976 0.9427 34000 4.4200
4.9478 0.9982 36000 4.3879
4.9019 1.0536 38000 4.3535
4.8773 1.1091 40000 4.3240
4.8599 1.1645 42000 4.2949
4.8353 1.2200 44000 4.2705
4.8109 1.2754 46000 4.2459
4.7904 1.3309 48000 4.2273
4.7727 1.3864 50000 4.2066
4.759 1.4418 52000 4.1893
4.7497 1.4973 54000 4.1705
4.7292 1.5527 56000 4.1553
4.7175 1.6082 58000 4.1405
4.7109 1.6636 60000 4.1256
4.6936 1.7191 62000 4.1133
4.6836 1.7745 64000 4.1007
4.671 1.8300 66000 4.0895
4.6658 1.8855 68000 4.0793
4.652 1.9409 70000 4.0674
4.643 1.9964 72000 4.0579
4.6066 2.0518 74000 4.0514
4.6034 2.1073 76000 4.0418
4.6014 2.1627 78000 4.0348
4.5931 2.2182 80000 4.0257
4.5894 2.2736 82000 4.0185
4.5847 2.3291 84000 4.0106
4.5799 2.3845 86000 4.0037
4.5784 2.4400 88000 3.9973
4.572 2.4954 90000 3.9886
4.5655 2.5509 92000 3.9829
4.5632 2.6063 94000 3.9765
4.5555 2.6618 96000 3.9721
4.548 2.7173 98000 3.9626
4.5495 2.7727 100000 3.9582
4.5401 2.8282 102000 3.9547
4.5352 2.8836 104000 3.9483
4.5334 2.9391 106000 3.9428
4.5321 2.9945 108000 3.9372
4.4984 3.0500 110000 3.9345
4.4976 3.1054 112000 3.9302
4.4963 3.1609 114000 3.9259
4.5008 3.2163 116000 3.9214
4.4948 3.2718 118000 3.9181
4.4958 3.3272 120000 3.9148
4.4834 3.3827 122000 3.9117
4.4879 3.4382 124000 3.9051
4.4885 3.4936 126000 3.9008
4.4851 3.5491 128000 3.8975
4.4736 3.6045 130000 3.8935
4.4768 3.6600 132000 3.8902
4.4702 3.7154 134000 3.8872
4.4744 3.7709 136000 3.8833
4.4683 3.8263 138000 3.8796
4.4686 3.8818 140000 3.8757
4.4653 3.9372 142000 3.8723
4.4649 3.9927 144000 3.8697
4.4308 4.0481 146000 3.8691
4.4319 4.1036 148000 3.8665
4.4331 4.1590 150000 3.8635
4.4325 4.2145 152000 3.8598
4.433 4.2700 154000 3.8572
4.4331 4.3254 156000 3.8537
4.4339 4.3809 158000 3.8512
4.4312 4.4363 160000 3.8483
4.4305 4.4918 162000 3.8454
4.4266 4.5472 164000 3.8432
4.4248 4.6027 166000 3.8413
4.424 4.6581 168000 3.8388
4.4247 4.7136 170000 3.8352
4.4227 4.7691 172000 3.8335
4.423 4.8245 174000 3.8309
4.421 4.8800 176000 3.8287
4.4125 4.9354 178000 3.8249
4.4164 4.9909 180000 3.8232
4.383 5.0463 182000 3.8223
4.385 5.1018 184000 3.8212
4.3773 5.1572 186000 3.8203
4.3844 5.2127 188000 3.8181
4.3889 5.2681 190000 3.8158
4.3875 5.3236 192000 3.8124
4.3846 5.3790 194000 3.8105
4.3878 5.4345 196000 3.8083
4.3855 5.4899 198000 3.8064
4.3836 5.5454 200000 3.8037
4.3804 5.6009 202000 3.8022
4.3829 5.6563 204000 3.8003
4.3808 5.7118 206000 3.7979
4.3781 5.7672 208000 3.7962
4.3793 5.8227 210000 3.7945
4.3778 5.8781 212000 3.7917
4.3797 5.9336 214000 3.7892
4.3715 5.9890 216000 3.7875
4.3452 6.0445 218000 3.7891
4.3502 6.0999 220000 3.7866
4.3494 6.1554 222000 3.7869
4.347 6.2108 224000 3.7839
4.3548 6.2663 226000 3.7832
4.3552 6.3218 228000 3.7810
4.3514 6.3772 230000 3.7801
4.3505 6.4327 232000 3.7785
4.3573 6.4881 234000 3.7737
4.3496 6.5436 236000 3.7739
4.3544 6.5990 238000 3.7718
4.3519 6.6545 240000 3.7703
4.3424 6.7099 242000 3.7689
4.3465 6.7654 244000 3.7670
4.349 6.8208 246000 3.7657
4.3461 6.8763 248000 3.7637
4.3403 6.9318 250000 3.7624
4.3435 6.9872 252000 3.7605
4.3184 7.0426 254000 3.7626
4.3162 7.0981 256000 3.7609
4.3228 7.1536 258000 3.7595
4.3215 7.2090 260000 3.7572
4.3187 7.2645 262000 3.7558
4.32 7.3199 264000 3.7549
4.3225 7.3754 266000 3.7538
4.3231 7.4308 268000 3.7522
4.3244 7.4863 270000 3.7512
4.3207 7.5417 272000 3.7490
4.3231 7.5972 274000 3.7485
4.3168 7.6527 276000 3.7465
4.3188 7.7081 278000 3.7457
4.3198 7.7636 280000 3.7434
4.3181 7.8190 282000 3.7416
4.318 7.8745 284000 3.7411
4.318 7.9299 286000 3.7395
4.3198 7.9854 288000 3.7380
4.2928 8.0408 290000 3.7391
4.2971 8.0963 292000 3.7381
4.2958 8.1517 294000 3.7376
4.3022 8.2072 296000 3.7360
4.2975 8.2626 298000 3.7346
4.2988 8.3181 300000 3.7340
4.3004 8.3735 302000 3.7329
4.3021 8.4290 304000 3.7318
4.2979 8.4845 306000 3.7299
4.2949 8.5399 308000 3.7301
4.2944 8.5954 310000 3.7280
4.294 8.6508 312000 3.7266
4.2963 8.7063 314000 3.7253
4.2945 8.7617 316000 3.7242
4.296 8.8172 318000 3.7238
4.2953 8.8726 320000 3.7223
4.2994 8.9281 322000 3.7213
4.2925 8.9836 324000 3.7205
4.2752 9.0390 326000 3.7205
4.273 9.0944 328000 3.7206
4.2766 9.1499 330000 3.7203
4.2775 9.2054 332000 3.7187
4.2767 9.2608 334000 3.7181
4.2713 9.3163 336000 3.7176
4.2787 9.3717 338000 3.7165
4.2762 9.4272 340000 3.7157
4.2743 9.4826 342000 3.7145
4.2724 9.5381 344000 3.7139
4.2757 9.5935 346000 3.7131
4.2748 9.6490 348000 3.7126
4.273 9.7044 350000 3.7119
4.2661 9.7599 352000 3.7114
4.2714 9.8154 354000 3.7107
4.2792 9.8708 356000 3.7104
4.2729 9.9263 358000 3.7100
4.2705 9.9817 360000 3.7096

Framework versions

  • Transformers 4.57.1
  • Pytorch 2.7.1+cu118
  • Datasets 3.6.0
  • Tokenizers 0.22.2
Downloads last month
-
Safetensors
Model size
0.2B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support