Skip to content

Using CodeBERT to extract features for HLS kernels and make performance predictions.

Notifications You must be signed in to change notification settings

g-milis/NLP-for-HLS

Repository files navigation

Extracting features for HLS kernels using CodeBERT

This repo uses CodeBERT, a multi-programming-lingual model pre-trained on NL-PL pairs in 6 programming languages, in order to extract features from HLS kernels. The features are then visualized with dimensionality reduction methods and clustered in order to gain insights on the similarity of their execution.

Motivation and results

See the presentation in NLP_for_HLS.pdf.

Data

See dataset folder.

Dependencies

See requirements.txt. Optional: CUDA support for torch.

About

Using CodeBERT to extract features for HLS kernels and make performance predictions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published