Instructions to use diana9m/t5_kd4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diana9m/t5_kd4 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="diana9m/t5_kd4")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("diana9m/t5_kd4") model = AutoModelForSeq2SeqLM.from_pretrained("diana9m/t5_kd4") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a1dde4b1539874c75c974d0f6ef903438214c84c337143644caa8a9e3c128c10
- Size of remote file:
- 3.96 kB
- SHA256:
- 1925eebee5c3c92bd72fb3b1eb033a6e633167e2eac716d365ce1185618159b3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.