Instructions to use Surendran/tf_model.h5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Surendran/tf_model.h5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Surendran/tf_model.h5")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Surendran/tf_model.h5") model = AutoModelForMaskedLM.from_pretrained("Surendran/tf_model.h5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tf_model.h5 with git-lfs
Browse filesBert model for fake news classification
- tf_model.h5 +3 -0
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f6c3dc23d5fb8b3bcd3b6702357d2475c47772e352863aeceb64d387dd0569b
|
| 3 |
+
size 267952512
|