Instructions to use almanach/Biomed-Enriched-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use almanach/Biomed-Enriched-classifier with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("almanach/Biomed-Enriched-classifier") model = AutoModel.from_pretrained("almanach/Biomed-Enriched-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
| 56 |
],
|
| 57 |
"layer_norm_eps": 1e-12,
|
| 58 |
"max_position_embeddings": 512,
|
| 59 |
-
"model_type": "
|
| 60 |
"num_attention_heads": 12,
|
| 61 |
"num_hidden_layers": 12,
|
| 62 |
"num_tasks": 3,
|
|
|
|
| 56 |
],
|
| 57 |
"layer_norm_eps": 1e-12,
|
| 58 |
"max_position_embeddings": 512,
|
| 59 |
+
"model_type": "bert",
|
| 60 |
"num_attention_heads": 12,
|
| 61 |
"num_hidden_layers": 12,
|
| 62 |
"num_tasks": 3,
|