mamba-vs-gpt2
Collection
This repository contains the code for comparing the performance of Mamba vs GPT2 on text classification task
•
4 items
•
Updated
This model is a fine-tuned version of state-spaces/mamba-130m-hf on imdb dataset. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall | Precision |
---|---|---|---|---|---|---|---|
0.1731 | 0.9997 | 781 | 0.1553 | 0.9425 | 0.9427 | 0.9462 | 0.9393 |
0.1316 | 1.9994 | 1562 | 0.1970 | 0.9319 | 0.9294 | 0.8974 | 0.9639 |
0.0224 | 2.9990 | 2343 | 0.3137 | 0.9454 | 0.9455 | 0.9479 | 0.9432 |
0.0002 | 4.0 | 3125 | 0.3501 | 0.9449 | 0.9450 | 0.9470 | 0.9431 |
0.0004 | 4.9984 | 3905 | 0.3637 | 0.9454 | 0.9454 | 0.9461 | 0.9447 |
Base model
state-spaces/mamba-130m-hf