Instructions to use ThoughtFocusAI/CodeGeneration-CodeT5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ThoughtFocusAI/CodeGeneration-CodeT5-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ThoughtFocusAI/CodeGeneration-CodeT5-base") model = AutoModelForSeq2SeqLM.from_pretrained("ThoughtFocusAI/CodeGeneration-CodeT5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
34ce5fe | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:84d3fb320a25a2eea741a8bca652c38052691ff7794bcb096e3bf684a63a7074
size 1089286000
|