Text Classification
Transformers
PyTorch
Safetensors
English
bert
nlp
code
classification
text-embeddings-inference
Run this model with HF Jobs
Run vishnun/codenlbert-sm on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/vishnun/codenlbert-sm. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/vishnun/codenlbert-sm on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use vishnun/codenlbert-sm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vishnun/codenlbert-sm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vishnun/codenlbert-sm")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("vishnun/codenlbert-sm") model = AutoModelForSequenceClassification.from_pretrained("vishnun/codenlbert-sm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.3a202e3 -
Upload BertForSequenceClassification
ec26575 -
Training in progress, epoch 5
c90a24d -
Training in progress, epoch 4
1911c8e -
Training in progress, epoch 3
123a9f3 -
Training in progress, epoch 2
13b42eb -
Training in progress, epoch 1
4b76c5e -
Upload BertForSequenceClassification
4a3acf4 -
Training in progress, epoch 5
2c95b01 -
Training in progress, epoch 4
c85e312 -
Training in progress, epoch 3
7120a39 -
Training in progress, epoch 2
4edd5fa -
Training in progress, epoch 1
2a56c5d -
Training in progress, epoch 5
8e1bb39 -
Training in progress, epoch 4
acf1df8 -
Training in progress, epoch 3
b399d87 -
Training in progress, epoch 2
6acd9b3 -
Training in progress, epoch 1
543d625 -
Upload BertForSequenceClassification
efb3f70 -
Training in progress, epoch 1
dafaa50 -
Upload BertForSequenceClassification
2412a71 -
Training in progress, epoch 3
c180c6b -
Training in progress, epoch 2
011ea43 -
Training in progress, epoch 1
676b3af -
Upload BertForSequenceClassification
2db2672 -
Training in progress, epoch 3
17b5d5b -
Training in progress, epoch 2
cc65f34 -
Training in progress, epoch 1
02a4f57
-
Upload BertForSequenceClassification
042b633 -
Training in progress, epoch 3
858aaaa -
Training in progress, epoch 2
296136c -
Training in progress, epoch 1
41191c4 -
Upload BertForSequenceClassification
cbbd897 -
Training in progress, epoch 1
33d32bd -
initial commit
9aae1b2