The implementation and analysis of Speculative Decoding, implemented as part of Project work for the course CS7.501 Advanced Natural Language Processing
Python
2
47 commits
updated Nov 23, 2024
The implementation and analysis of Speculative Decoding, implemented as part of Project work for the course CS7.501 Advanced Natural Language Processing
You can run the code for inference by simply running the following command :
python pipeline.py [datasetName] [decodingScheme]
datasetNames = ['squad', 'billsum', 'storygen'], decodingScheme = ['beam', 'greedy', 'topk', 'speculative', 'nested_specuative']
Evaluations can be run by using the separate evaluation scripts available in the code along with the dataset and scheme as described above.
The implementation and analysis of Speculative Decoding, implemented as part of Project work for the course CS7.501 Advanced Natural Language Processing
Python
2
47 commits
updated Nov 23, 2024
The implementation and analysis of Speculative Decoding, implemented as part of Project work for the course CS7.501 Advanced Natural Language Processing
You can run the code for inference by simply running the following command :
python pipeline.py [datasetName] [decodingScheme]
datasetNames = ['squad', 'billsum', 'storygen'], decodingScheme = ['beam', 'greedy', 'topk', 'speculative', 'nested_specuative']
Evaluations can be run by using the separate evaluation scripts available in the code along with the dataset and scheme as described above.