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
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,30 +21,31 @@ metrics:
|
|
| 21 |
- recall
|
| 22 |
- f1
|
| 23 |
model-index:
|
| 24 |
-
- name: SGD Logistic Regression
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
| 48 |
datasets:
|
| 49 |
- kaushik-harsh-99/Code-Language-Classification
|
| 50 |
base_model:
|
|
|
|
| 21 |
- recall
|
| 22 |
- f1
|
| 23 |
model-index:
|
| 24 |
+
- name: SGD Logistic Regression
|
| 25 |
+
results:
|
| 26 |
+
- task:
|
| 27 |
+
type: text-classification
|
| 28 |
+
name: Programming Language Classification
|
| 29 |
+
dataset:
|
| 30 |
+
type: custom
|
| 31 |
+
name: Code Language Classification Dataset
|
| 32 |
+
metrics:
|
| 33 |
+
- type: accuracy
|
| 34 |
+
value: 91.1
|
| 35 |
+
name: SGD Test Accuracy
|
| 36 |
+
|
| 37 |
+
- name: FastText
|
| 38 |
+
results:
|
| 39 |
+
- task:
|
| 40 |
+
type: text-classification
|
| 41 |
+
name: Programming Language Classification
|
| 42 |
+
dataset:
|
| 43 |
+
type: custom
|
| 44 |
+
name: Code Language Classification Dataset
|
| 45 |
+
metrics:
|
| 46 |
+
- type: accuracy
|
| 47 |
+
value: 95.5
|
| 48 |
+
name: FastText Test Accuracy
|
| 49 |
datasets:
|
| 50 |
- kaushik-harsh-99/Code-Language-Classification
|
| 51 |
base_model:
|