Instructions to use SEBIS/code_trans_t5_small_code_documentation_generation_php with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEBIS/code_trans_t5_small_code_documentation_generation_php 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_small_code_documentation_generation_php")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SEBIS/code_trans_t5_small_code_documentation_generation_php") model = AutoModel.from_pretrained("SEBIS/code_trans_t5_small_code_documentation_generation_php", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- acfcd4c2fc5e15f598de364e676faf8ead54c3b5b426b861d085ba8e81f7cae5
- Size of remote file:
- 242 MB
- SHA256:
- 5e79adf00c2b22f8d01ed2d6fae5c0148a4481ebdab5e11b2c2c03e59770eb24
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.