Text Classification
fastText
English
scikit-learn
code-classification
programming-language-detection
source-code
machine-learning
modernbert
classification
nlp
code-analysis
software-engineering
Eval Results (legacy)
Instructions to use kaushik-harsh-99/Code-Lang-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use kaushik-harsh-99/Code-Lang-Classifier with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("kaushik-harsh-99/Code-Lang-Classifier", "model.bin")) - Notebooks
- Google Colab
- Kaggle
| ,Assembly,C,C#,C++,CSS,Dart,Go,HTML,Java,JavaScript,Kotlin,Lua,Markdown,Python,Rust,Typescript | |
| Assembly,1973,13,0,6,1,0,1,0,0,1,0,3,1,0,0,1 | |
| C,9,1842,5,123,0,4,0,3,3,1,1,1,4,1,2,1 | |
| C#,0,4,1944,6,1,2,6,1,8,6,0,3,7,2,3,7 | |
| C++,2,132,6,1812,1,2,5,7,8,5,2,5,5,1,4,3 | |
| CSS,0,0,1,0,1969,1,1,17,1,7,1,0,1,1,0,0 | |
| Dart,0,1,1,0,1,1955,4,5,4,17,0,2,3,3,1,3 | |
| Go,1,0,2,6,2,1,1948,6,6,10,2,1,9,2,1,3 | |
| HTML,3,1,2,4,36,3,8,1762,3,125,4,3,32,3,0,11 | |
| Java,0,9,7,6,0,9,4,5,1946,2,1,2,6,0,0,3 | |
| JavaScript,1,3,3,6,12,7,9,98,7,1750,7,3,10,1,1,82 | |
| Kotlin,1,0,1,0,0,1,5,4,11,8,1958,2,3,1,0,5 | |
| Lua,1,7,7,5,1,0,1,5,2,5,2,1959,3,1,1,0 | |
| Markdown,3,3,5,8,3,2,4,31,6,17,3,0,1890,12,3,10 | |
| Python,0,1,2,1,0,3,3,8,0,5,3,3,16,1952,2,1 | |
| Rust,3,0,2,5,1,2,1,2,2,1,0,0,6,1,1974,0 | |
| Typescript,1,1,3,6,0,4,3,12,4,95,1,0,1,0,3,1866 | |