Instructions to use aieng-lab/t5-base_comment-type-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aieng-lab/t5-base_comment-type-python with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aieng-lab/t5-base_comment-type-python")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/t5-base_comment-type-python") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/t5-base_comment-type-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from aieng-lab/t5-base_comment-type-python: direct link, hf CLI and curl.
- Browser
- Download file 447 MB
-
https://huggingface.co/aieng-lab/t5-base_comment-type-python/resolve/main/model.safetensors
- Command line
-
hf download hf://aieng-lab/t5-base_comment-type-python/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/aieng-lab/t5-base_comment-type-python/resolve/main/model.safetensors
447 MB
- Xet hash:
- cd4d098c4f685e82446bc07a962cc98e7068ae16534b9173b029c061a35b3bf5
- Size of remote file:
- 447 MB
- SHA256:
- e76f985dd3d10cf6a33fbeba1311c75f24ea26ed5a1c1c8e071b8a2f97150c4a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.