Instructions to use documatic/code_t5_small_git_diff_7k_dataset with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use documatic/code_t5_small_git_diff_7k_dataset with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("documatic/code_t5_small_git_diff_7k_dataset") model = AutoModelForSeq2SeqLM.from_pretrained("documatic/code_t5_small_git_diff_7k_dataset", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from documatic/code_t5_small_git_diff_7k_dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.37 MB
-
https://huggingface.co/documatic/code_t5_small_git_diff_7k_dataset/resolve/4a29f92f1d14a52598b19727b4940c79c0a99c86/tokenizer.json
- Command line
-
hf download hf://documatic/code_t5_small_git_diff_7k_dataset@4a29f92f1d14a52598b19727b4940c79c0a99c86/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/documatic/code_t5_small_git_diff_7k_dataset/resolve/4a29f92f1d14a52598b19727b4940c79c0a99c86/tokenizer.json
1.37 MB
File too large to display, you can check the raw version instead.