Downloads · 30 days
7
1% of all-time downloads
C5i/SEAD-L-6_H-256_A-8-stsb
SEAD-L-6_H-256_A-8-stsb is a text classification model from C5i. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
7
1% of all-time downloads
All-time downloads
579
Public
Repo size
204 MB
Likes
0
Public
Click a slice to open those files.
.h551.2 MB · 33%
From the Hugging Face model README
Aurthors: Moyan Mei, Rohit Sroch
With the widespread use of pre-trained language models (PLM), there has been increased research on how to make them applicable, especially in limited-resource or low latency high throughput scenarios. One of the dominant approaches is knowledge distillation (KD), where a smaller model is trained by receiving guidance from a large PLM. While there are many successful designs for learning knowledge from teachers, it remains unclear how students can learn better. Inspired by real university teaching processes, in this work we further explore knowledge distillation and propose a very simple yet effective framework, SEAD, to further improve task-specific generalization by utilizing multiple teachers. Our experiments show that SEAD leads to better performance compared to other popular KD methods [1] [2] [3] and achieves comparable or superior performance to its teacher model such as BERT [4] on total 13 tasks for the GLUE [5] and SuperGLUE [6] benchmarks.
Moyan Mei and Rohit Sroch. 2022. SEAD: Simple ensemble and knowledge distillation framework for natural language understanding. Lattice, THE MACHINE LEARNING JOURNAL by Association of Data Scientists, 3(1).
This is a student model distilled from BERT base as teacher by using SEAD framework on stsb task. For weights initialization, we used microsoft/xtremedistil-l6-h256-uncased
Other Community Checkpoints: here
More information needed
Please take a look at the training_args.bin file
$ import torch
$ hyperparameters = torch.load(os.path.join('training_args.bin'))
| eval_pearson | eval_spearmanr | eval_runtime | eval_samples_per_second | eval_steps_per_second | eval_loss | eval_samples |
|---|---|---|---|---|---|---|
| 0.8962 | 0.8978 | 2.1978 | 682.498 | 21.385 | 0.4679 | 1500 |
If you use these models, please cite the following paper:
```
@article{article,
author={Mei, Moyan and Sroch, Rohit},
title={SEAD: Simple Ensemble and Knowledge Distillation Framework for Natural Language Understanding},
volume={3},
number={1},
journal={Lattice, The Machine Learning Journal by Association of Data Scientists},
day={26},
year={2022},
month={Feb},
url = {www.adasci.org/journals/lattice-35309407/?volumes=true&open=621a3b18edc4364e8a96cb63}
}
```