Instructions to use FilipT/ltgbert-baseline-ase2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FilipT/ltgbert-baseline-ase2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="FilipT/ltgbert-baseline-ase2", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("FilipT/ltgbert-baseline-ase2", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"auto_map": {
|
| 8 |
"AutoConfig": "configuration_ltgbert.LtgBertConfig",
|
| 9 |
-
"AutoModelForMaskedLM": "
|
| 10 |
-
"AutoModelForSequenceClassification": "
|
| 11 |
},
|
| 12 |
"classifier_dropout": 0.2,
|
| 13 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"auto_map": {
|
| 8 |
"AutoConfig": "configuration_ltgbert.LtgBertConfig",
|
| 9 |
+
"AutoModelForMaskedLM": "modeling_ltgbert.LtgBertForMaskedLM",
|
| 10 |
+
"AutoModelForSequenceClassification": "modeling_ltgbert.LtgBertForSequenceClassification"
|
| 11 |
},
|
| 12 |
"classifier_dropout": 0.2,
|
| 13 |
"hidden_dropout_prob": 0.1,
|