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,1980,8,1,3,0,0,1,2,0,1,0,0,1,1,1,1 | |
| C,4,1854,5,118,1,0,1,4,2,1,1,2,4,0,2,1 | |
| C#,2,7,1930,13,2,3,3,3,12,8,2,3,3,0,4,5 | |
| C++,2,97,3,1865,0,2,3,3,7,4,0,1,6,1,3,3 | |
| CSS,0,1,0,0,1969,2,0,18,0,7,1,0,2,0,0,0 | |
| Dart,0,0,1,3,2,1956,2,4,0,18,2,0,6,1,1,4 | |
| Go,1,3,3,3,3,3,1941,4,4,15,2,4,7,2,3,2 | |
| HTML,0,2,4,3,53,5,4,1774,1,104,3,3,30,9,2,3 | |
| Java,2,2,10,12,1,3,1,6,1934,9,5,0,5,2,0,8 | |
| JavaScript,2,1,4,2,12,12,11,83,7,1763,6,3,13,4,1,76 | |
| Kotlin,0,1,2,0,0,5,0,4,6,10,1965,1,4,1,0,1 | |
| Lua,0,7,4,2,1,1,2,1,3,6,2,1959,1,8,1,2 | |
| Markdown,0,4,4,7,2,1,7,39,6,11,1,5,1887,13,5,8 | |
| Python,0,1,1,1,0,1,5,9,1,4,2,5,14,1954,2,0 | |
| Rust,1,4,1,7,0,0,1,2,1,2,0,0,2,1,1975,3 | |
| Typescript,0,1,1,4,1,1,1,17,4,91,1,0,7,1,0,1870 | |