Instructions to use SEBIS/code_trans_t5_base_code_documentation_generation_go with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEBIS/code_trans_t5_base_code_documentation_generation_go with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" 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("summarization", model="SEBIS/code_trans_t5_base_code_documentation_generation_go")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SEBIS/code_trans_t5_base_code_documentation_generation_go") model = AutoModel.from_pretrained("SEBIS/code_trans_t5_base_code_documentation_generation_go", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from SEBIS/code_trans_t5_base_code_documentation_generation_go: direct link, hf CLI and curl.
- Browser
- Download file 892 MB
-
https://huggingface.co/SEBIS/code_trans_t5_base_code_documentation_generation_go/resolve/refs%2Fpr%2F2/model.safetensors
- Command line
-
hf download hf://SEBIS/code_trans_t5_base_code_documentation_generation_go@refs/pr/2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/SEBIS/code_trans_t5_base_code_documentation_generation_go/resolve/refs%2Fpr%2F2/model.safetensors
892 MB
- Xet hash:
- 45a12d1ecd5c8ddc0a06b51f17c1daf129a8f8b6f7d06bf2f9eed101819ae0a5
- Size of remote file:
- 892 MB
- SHA256:
- 4a2d05edfd5fa76ec7a23d1ee2a32d33a7af00d3e6aca516122cc6ad452c1d32
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.