Instructions to use hf-internal-testing/tiny-random-MegaForTokenClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MegaForTokenClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hf-internal-testing/tiny-random-MegaForTokenClassification")# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("hf-internal-testing/tiny-random-MegaForTokenClassification", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update tiny models for MegaForTokenClassification
#1
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 406101
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c45269058d31f1e88286e0be8d3a6777fe00782256dd65a79a51c4cdb04aba8b
|
| 3 |
size 406101
|