Instructions to use igorktech/hierarchical-dialog-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use igorktech/hierarchical-dialog-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="igorktech/hierarchical-dialog-bert", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("igorktech/hierarchical-dialog-bert", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +11 -1
config.json
CHANGED
|
@@ -1,8 +1,18 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"architectures": [
|
| 4 |
"HATForMaskedLM"
|
| 5 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
| 8 |
"encoder_layout": {
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "igorktech/hierarchical-dialog-bert",
|
| 3 |
"architectures": [
|
| 4 |
"HATForMaskedLM"
|
| 5 |
],
|
| 6 |
+
"auto_map": {
|
| 7 |
+
"AutoConfig": "configuration_hat.HATConfig",
|
| 8 |
+
"AutoTokenizer": "tokenization_hat.HATTokenizer",
|
| 9 |
+
"AutoModel": "modelling_hat.HATModel",
|
| 10 |
+
"AutoModelForMaskedLM": "modelling_hat.HATForMaskedLM",
|
| 11 |
+
"AutoModelForMultipleChoice": "modelling_hat.HATForMultipleChoice",
|
| 12 |
+
"AutoModelForQuestionAnswering": "modelling_hat.HATForQuestionAnswering",
|
| 13 |
+
"AutoModelForSequenceClassification": "modelling_hat.HATForSequenceClassification",
|
| 14 |
+
"AutoModelForTokenClassification": "modelling_hat.HATForTokenClassification"
|
| 15 |
+
},
|
| 16 |
"attention_probs_dropout_prob": 0.1,
|
| 17 |
"classifier_dropout": null,
|
| 18 |
"encoder_layout": {
|