Instructions to use yiyanghkust/finbert-pretrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yiyanghkust/finbert-pretrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="yiyanghkust/finbert-pretrain")# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("yiyanghkust/finbert-pretrain", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
5b0dae1
1
Parent(s): 9d1d55c
Update config.json
Browse files- config.json +3 -0
config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"attention_probs_dropout_prob": 0.1,
|
| 3 |
"hidden_act": "gelu",
|
| 4 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForMaskedLM"
|
| 4 |
+
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"hidden_act": "gelu",
|
| 7 |
"hidden_dropout_prob": 0.1,
|