Instructions to use nielsr/codet5-small-code-summarization-ruby with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/codet5-small-code-summarization-ruby with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("nielsr/codet5-small-code-summarization-ruby") model = AutoModelForSeq2SeqLM.from_pretrained("nielsr/codet5-small-code-summarization-ruby", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from nielsr/codet5-small-code-summarization-ruby: direct link, hf CLI and curl.
- Browser
- Download file 242 MB
-
https://huggingface.co/nielsr/codet5-small-code-summarization-ruby/resolve/main/model.safetensors
- Command line
-
hf download hf://nielsr/codet5-small-code-summarization-ruby/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/nielsr/codet5-small-code-summarization-ruby/resolve/main/model.safetensors
242 MB
- Xet hash:
- cf8dbd58be2b7d674a6ef4570d8dd6e942cb8fecce9ac48646179b744e5a005c
- Size of remote file:
- 242 MB
- SHA256:
- fd3dc38bed99010c1546bbf0c53747e6c241447a895b040f5825bacaef5c0f5c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.