Text Classification
Transformers
PyTorch
JAX
Safetensors
code
English
roberta
text-embeddings-inference
Instructions to use Fsoft-AIC/Codebert-docstring-inconsistency with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Fsoft-AIC/Codebert-docstring-inconsistency with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Fsoft-AIC/Codebert-docstring-inconsistency")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Fsoft-AIC/Codebert-docstring-inconsistency") model = AutoModelForSequenceClassification.from_pretrained("Fsoft-AIC/Codebert-docstring-inconsistency", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
800eb0d
1
Parent(s): 4b085c2
Adding `safetensors` variant of this model (#2)
Browse files- Adding `safetensors` variant of this model (07046f2e441747e9d852372bc4d781036c8e05f6)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>