Instructions to use hf-internal-testing/tiny-bert-tf-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-bert-tf-only with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-bert-tf-only")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-bert-tf-only") model = AutoModel.from_pretrained("hf-internal-testing/tiny-bert-tf-only") - Notebooks
- Google Colab
- Kaggle
Initial commit
Browse files- config.json +0 -1
- flax_model.msgpack +3 -0
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "hf-internal-testing/tiny-bert",
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BertModel"
|
| 4 |
],
|
flax_model.msgpack
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1f885a549870769ba8b61c96b051ed6a98b68573062f03fd806fcaa9712eeb4
|
| 3 |
+
size 17545101
|