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
Download onnx/tokenizer.json from philomath-1209/programming-language-identification: direct link, hf CLI and curl.
- Browser
- Download file 2.21 MB
-
https://huggingface.co/philomath-1209/programming-language-identification/resolve/main/onnx/tokenizer.json
- Command line
-
hf download hf://philomath-1209/programming-language-identification/onnx/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/philomath-1209/programming-language-identification/resolve/main/onnx/tokenizer.json
2.21 MB
File too large to display, you can check the raw version instead.