Instructions to use yihsuan/best_model_0427_small_long with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yihsuan/best_model_0427_small_long 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="yihsuan/best_model_0427_small_long")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("yihsuan/best_model_0427_small_long") model = AutoModelForSeq2SeqLM.from_pretrained("yihsuan/best_model_0427_small_long", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
8321db3 -
Update README.md
9411cf5 -
Update README.md
85bb9e2 -
Update README.md
3fcaf8d -
Update README.md
fc1e4bb -
Update README.md
8b37584 -
Update README.md
0c96128
-
Create README.md
54cf8b5 -
Model save
f241f1a -
Training in progress, step 5000
86c7f50 -
initial commit
13f98b3