Instructions to use protectai/CodeBERTa-language-id-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use protectai/CodeBERTa-language-id-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="protectai/CodeBERTa-language-id-onnx")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("protectai/CodeBERTa-language-id-onnx") model = AutoModelForSequenceClassification.from_pretrained("protectai/CodeBERTa-language-id-onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 229babce2f624a0912bc798b33c5bc6e9b6887825ca84f341a646ec01e34976d
- Size of remote file:
- 334 MB
- SHA256:
- dc1185e19bb0290942fd30a38c88526084a3a23fe15b89064f8f2a594c287d53
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.