Instructions to use mowzer/tf-poc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mowzer/tf-poc with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mowzer/tf-poc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"model_type": "distilbert",
|
| 3 |
"vocab_size": 30522,
|
| 4 |
"hidden_size": 768,
|
|
|
|
| 5 |
"num_hidden_layers": 12,
|
| 6 |
"num_attention_heads": 12,
|
| 7 |
"intermediate_size": 3072,
|
|
|
|
| 2 |
"model_type": "distilbert",
|
| 3 |
"vocab_size": 30522,
|
| 4 |
"hidden_size": 768,
|
| 5 |
+
"trust_remote_code": true,
|
| 6 |
"num_hidden_layers": 12,
|
| 7 |
"num_attention_heads": 12,
|
| 8 |
"intermediate_size": 3072,
|