How to use Azmarah/finbert-keyword-extraction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Azmarah/finbert-keyword-extraction")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Azmarah/finbert-keyword-extraction") model = AutoModelForTokenClassification.from_pretrained("Azmarah/finbert-keyword-extraction")
This is a fine-tuned version of FinBERT trained to extract banking-related keywords from financial texts.
Files info