Instructions to use hf-internal-testing/tiny-random-PegasusModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-PegasusModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-PegasusModel")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-PegasusModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-PegasusModel") - Notebooks
- Google Colab
- Kaggle
Upload tiny models for PegasusModel
Browse files- pytorch_model.bin +1 -1
- tf_model.h5 +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6234754
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fee7599a240b4bb23aa38cb786b8b85114eb893286ff4fc7a51f814239110205
|
| 3 |
size 6234754
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6308864
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0893af8a2472104c228d67d1537039e78db7c8e26780c55747afb707bd221387
|
| 3 |
size 6308864
|