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
Download tf_model.h5 from ThoughtFocusAI/CodeGeneration-CodeT5-base: direct link, hf CLI and curl.
- Browser
- Download file 1.09 GB
-
https://huggingface.co/ThoughtFocusAI/CodeGeneration-CodeT5-base/resolve/main/tf_model.h5
- Command line
-
hf download hf://ThoughtFocusAI/CodeGeneration-CodeT5-base/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/ThoughtFocusAI/CodeGeneration-CodeT5-base/resolve/main/tf_model.h5
1.09 GB
- Xet hash:
- 721c410a1afa2b5ede1763016bdb5e0bcfda157bd14803d88fa23385f5eb40c9
- Size of remote file:
- 1.09 GB
- SHA256:
- 84d3fb320a25a2eea741a8bca652c38052691ff7794bcb096e3bf684a63a7074
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.