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:
# 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") - Notebooks
- Google Colab
- Kaggle
Update model card
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Description
|
| 2 |
|
| 3 |
-
CodeT5-small model, fine-tuned on the code summarization subtask of CodeXGLUE (Ruby programming language).
|
| 4 |
|
| 5 |
# Usage
|
| 6 |
|
|
|
|
| 1 |
# Description
|
| 2 |
|
| 3 |
+
CodeT5-small model, fine-tuned on the code summarization subtask of CodeXGLUE (Ruby programming language). This model can generate a docstring of a given function written in Ruby.
|
| 4 |
|
| 5 |
# Usage
|
| 6 |
|