Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use wandb/sourcecode-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wandb/sourcecode-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wandb/sourcecode-detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wandb/sourcecode-detection") model = AutoModelForSequenceClassification.from_pretrained("wandb/sourcecode-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from wandb/sourcecode-detection: direct link, hf CLI and curl.
- Browser
- Download file 167 MB
-
https://huggingface.co/wandb/sourcecode-detection/resolve/main/model.safetensors
- Command line
-
hf download hf://wandb/sourcecode-detection/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/wandb/sourcecode-detection/resolve/main/model.safetensors
167 MB
- Xet hash:
- 583dc4ddd8aa32ac2c3414935fe11f6281efaebdc1dc8d4574035b6fbf03cbbc
- Size of remote file:
- 167 MB
- SHA256:
- 8faf588219b1a6f558bfe2063e6be08580cb5701573286896a908d8e691f9ddf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.