Instructions to use andricValdez/codebert-base-finetuned-codedetection-task-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andricValdez/codebert-base-finetuned-codedetection-task-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="andricValdez/codebert-base-finetuned-codedetection-task-B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("andricValdez/codebert-base-finetuned-codedetection-task-B") model = AutoModelForSequenceClassification.from_pretrained("andricValdez/codebert-base-finetuned-codedetection-task-B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from andricValdez/codebert-base-finetuned-codedetection-task-B: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/andricValdez/codebert-base-finetuned-codedetection-task-B/resolve/main/model.safetensors
- Command line
-
hf download hf://andricValdez/codebert-base-finetuned-codedetection-task-B/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/andricValdez/codebert-base-finetuned-codedetection-task-B/resolve/main/model.safetensors
499 MB
- Xet hash:
- 457a175cc1782b9f59d52b74741fb4f06e745d308db4b0d0a258eaf0939c1da8
- Size of remote file:
- 499 MB
- SHA256:
- 79aea1cc384bba5a2b42e68f73785deafc0fcf61ce96c505ea8948fbadc3a779
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.