Instructions to use Shanny/FinBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shanny/FinBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Shanny/FinBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Shanny/FinBERT") model = AutoModelForMaskedLM.from_pretrained("Shanny/FinBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.be30e0d
-
Upload tokenizer_config.json
db0d611 -
Upload tokenizer.json
8075bd4 -
Upload vocab.txt
566a9b5 -
Delete tokenizer.json
8c62497 -
Delete tokenizer_config.json
cbe02cc -
Delete vocab.txt
ecb9540 -
Update config.json
ec095ec -
Upload tokenizer.json
87e7abf -
Delete tokenizer.json
fac3b69 -
Upload vocab.txt
1205e4d -
Delete vocab.txt
104fb39 -
Upload vocab.txt
922d553 -
Upload tokenizer.json
e38f3d9 -
Upload tokenizer_config.json
40d7040 -
Upload config.json
aecf4e0 -
Delete special_tokens_map.json
a8fd3e4 -
Upload special_tokens_map.json
b2c016c -
Delete config.json
3878bf9
-
Delete tokenizer.json
790dea1 -
Update config.json
59c6f78 -
Update config.json
421de74 -
Upload tokenizer.json
c28cebe -
Upload config.json
0692685 -
Upload pytorch_model.bin with git-lfs
6571a6b -
initial commit
6acea20