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 pytorch_model.bin 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/d9e1d9c389e7c874a52ea894b6b831f19cd1bb39/pytorch_model.bin
- Command line
-
hf download hf://SEBIS/code_trans_t5_base_code_documentation_generation_go@d9e1d9c389e7c874a52ea894b6b831f19cd1bb39/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/SEBIS/code_trans_t5_base_code_documentation_generation_go/resolve/d9e1d9c389e7c874a52ea894b6b831f19cd1bb39/pytorch_model.bin
892 MB
- Xet hash:
- 2f3e4337c797252ec929f27fffb9c53ba6e363ca32bc9332e691dbff62cb836c
- Size of remote file:
- 892 MB
- SHA256:
- f8972b64b08594d7d1540503fd85b9cf9e5405e0cdbb8db58dc2405e6bf1fb19
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.