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