Text Classification
Transformers
ONNX
Safetensors
modernbert
code
programming-language-identification
language-detection
text-embeddings-inference
Instructions to use FrameByFrame/programming-language-identification-100plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FrameByFrame/programming-language-identification-100plus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FrameByFrame/programming-language-identification-100plus")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("FrameByFrame/programming-language-identification-100plus") model = AutoModelForSequenceClassification.from_pretrained("FrameByFrame/programming-language-identification-100plus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download inference_examples.ipynb from FrameByFrame/programming-language-identification-100plus: direct link, hf CLI and curl.
- Browser
- Download file 7.93 kB
-
https://huggingface.co/FrameByFrame/programming-language-identification-100plus/resolve/main/inference_examples.ipynb
- Command line
-
hf download hf://FrameByFrame/programming-language-identification-100plus/inference_examples.ipynb
-
curl -L -o inference_examples.ipynb https://huggingface.co/FrameByFrame/programming-language-identification-100plus/resolve/main/inference_examples.ipynb
7.93 kB