Instructions to use silmi224/exp2-led-risalah_data_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use silmi224/exp2-led-risalah_data_v4 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="silmi224/exp2-led-risalah_data_v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("silmi224/exp2-led-risalah_data_v4") model = AutoModelForSeq2SeqLM.from_pretrained("silmi224/exp2-led-risalah_data_v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
a976e23 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:76d752d5889ef356f304a35eb7f12f5fb8070fa550c3ad0ab0109483bd75a4e2
size 5304
|