Instructions to use onionLad/generalize-bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use onionLad/generalize-bart with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" 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("translation", model="onionLad/generalize-bart")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("onionLad/generalize-bart") model = AutoModelForSeq2SeqLM.from_pretrained("onionLad/generalize-bart") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- Jul24_14-18-06_cn2350
- Jul24_14-25-49_cn2350
- Jul24_14-28-07_cn2350
- Jul24_16-50-53_cn0828
- Jul24_16-59-55_cn0828
- Jul24_17-04-22_cn0828
- Jul25_09-45-12_cn1102
- Jul25_09-48-02_cn1102
- Jul25_09-48-49_cn1102
- Jul25_09-50-47_cn1102
- Jul25_09-54-16_cn1102
- Jul25_10-04-26_cn1102
- Jul25_10-16-39_cn1102
- Jul25_10-18-00_cn1102
- Jul25_15-17-12_cn2350
- Jul25_15-32-31_cn2350