Instructions to use hf-internal-testing/tiny-random-MegaForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MegaForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-MegaForSequenceClassification")# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-MegaForSequenceClassification", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update tiny models for MegaForSequenceClassification
#4
by sgugger - opened
- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 410909
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87a1ff0513cbea1199bdb15999c3cf559c80a95fa033bc4b7122019cd3f6d176
|
| 3 |
size 410909
|