Text Classification
Transformers
ONNX
Safetensors
English
roberta
code
programming-language
code-classification
text-embeddings-inference
Instructions to use philomath-1209/programming-language-identification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philomath-1209/programming-language-identification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philomath-1209/programming-language-identification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philomath-1209/programming-language-identification") model = AutoModelForSequenceClassification.from_pretrained("philomath-1209/programming-language-identification", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Maninder Singh commited on
Commit ·
1930b02
1
Parent(s): 9f5e4f0
update model_card
Browse filesThis Model is fine-tuned version of *huggingface/CodeBERTa-small-v1* on *cakiki/rosetta-code* Dataset for 25 Programming Languages as mentioned below.
## Training Details:
Model is trained for 25 epochs on Azure for nearly 26000 Datapoints for above Mentioned 25 Programming Languages extracted from Dataset having 1006 of total Programming Language.
Below is the Training Result for 25 epochs.
