Instructions to use NTUYG/ComFormer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NTUYG/ComFormer 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="NTUYG/ComFormer")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("NTUYG/ComFormer") model = AutoModelForSeq2SeqLM.from_pretrained("NTUYG/ComFormer") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a9a1820d965a42b3ddd718cfc734c1dd93e5eb7219e1bc797541fcce717c44bd
- Size of remote file:
- 1.62 GB
- SHA256:
- 18b4a248dbb77cbbbb90dfc29834b3c438897e807ba7d28c4232e0a6c592deed
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.