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