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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
4835db7
1
Parent(s): fa7dbdf
upload finbert-pretrain model
Browse files- config.json +13 -0
- pytorch_model.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attention_probs_dropout_prob": 0.1,
|
| 3 |
+
"hidden_act": "gelu",
|
| 4 |
+
"hidden_dropout_prob": 0.1,
|
| 5 |
+
"hidden_size": 768,
|
| 6 |
+
"initializer_range": 0.02,
|
| 7 |
+
"intermediate_size": 3072,
|
| 8 |
+
"max_position_embeddings": 512,
|
| 9 |
+
"num_attention_heads": 12,
|
| 10 |
+
"num_hidden_layers": 12,
|
| 11 |
+
"type_vocab_size": 2,
|
| 12 |
+
"vocab_size": 30873
|
| 13 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46dd5b5cbf7141b0c5d882516243abf71cfa4a27e57023c43290d655fccfb48c
|
| 3 |
+
size 441551705
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|