Instructions to use Enoch/ContraCode-Roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Enoch/ContraCode-Roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Enoch/ContraCode-Roberta")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Enoch/ContraCode-Roberta") model = AutoModel.from_pretrained("Enoch/ContraCode-Roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
e8ddc87 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:48a7685a57a61d797665085ebcd662a8c1264fd8e0142aaf5ced731b5f0e266c
size 498789873
|