Instructions to use gitter-lab/METL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gitter-lab/METL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="gitter-lab/METL", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gitter-lab/METL", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- huggingface_wrapper.py +0 -0
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -9,5 +9,5 @@
|
|
| 9 |
"id": null,
|
| 10 |
"model_type": "METL",
|
| 11 |
"torch_dtype": "float32",
|
| 12 |
-
"transformers_version": "4.
|
| 13 |
}
|
|
|
|
| 9 |
"id": null,
|
| 10 |
"model_type": "METL",
|
| 11 |
"torch_dtype": "float32",
|
| 12 |
+
"transformers_version": "4.51.3"
|
| 13 |
}
|
huggingface_wrapper.py
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:874a42efd0584c6fa9999508e0c80823dd7375d45c823b41ead24fa3e1b55605
|
| 3 |
size 176
|