facebookresearch / facebookresearch/LayerSkip

LayerSkip Code Checklist

Open
#1 0 comments 0 reactions 1 assignee Claimed by @mostafaelhoushi View on GitHub
Dominant language
Python
Stars
380
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Here is a list of tasks and ideas... they are not all necessary. Also not sure after which task to open source... we can opensource now.

- [x] Use HuggingFace datasets for CNN/DM, XSUM, HumanEval
- [x] Make num_shots, seeds become arguments
- [x] Add License
- [x] #7
- [x] Sweep on optimal early_exit_layer and num_speculations
- [x] Get correctness.py to Work
- [x] Implement sampling with temperature
- [ ] Address minor TODO comments in code
- [x] Refactor arguments across scripts
- [x] Refactor generate.py
- [x] #6
- [x] Implement Text Streaming for Output
- [x] Implement Text Correction Streaming for Self-Speculation
- [ ] Implement training using Early Exit Loss
- [ ] Implement training using Layer Dropout

Cc @AkshatSh

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.