Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

peyterho
/
macro-sentiment-finbert

Text Classification
Transformers
Joblib
Safetensors
bert
sentiment-analysis
finance
macroeconomics
climate
esg
policy
ensemble
dictionary
finbert
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use peyterho/macro-sentiment-finbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use peyterho/macro-sentiment-finbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="peyterho/macro-sentiment-finbert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("peyterho/macro-sentiment-finbert")
    model = AutoModelForSequenceClassification.from_pretrained("peyterho/macro-sentiment-finbert", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
macro-sentiment-finbert
Ctrl+K
Ctrl+K
  • 1 contributor
History: 37 commits
peyterho's picture
peyterho
Add tokenizer
18d4ac4 verified 3 months ago
  • artifacts
    Add smart router (TF-IDF+LR, 0.78 F1) 3 months ago
  • macro_sentiment
    v0.3.0: export MultilingualHead and DEFAULT_MULTILINGUAL 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    1.75 kB
    Fine-tuned FinBERT on 20K macro sentiment dataset (2 epochs) 3 months ago
  • config.json
    924 Bytes
    Training in progress, epoch 1 3 months ago
  • eval_ood_results.json
    1.54 kB
    Add out-of-domain evaluation results 3 months ago
  • eval_results.json
    1.26 kB
    Update eval_results.json with v0.2.0 fine-tuned model results 3 months ago
  • model.safetensors
    438 MB
    xet
    Training in progress, epoch 2 3 months ago
  • requirements.txt
    100 Bytes
    Update requirements 3 months ago
  • tokenizer.json
    711 kB
    Add tokenizer 3 months ago
  • tokenizer_config.json
    351 Bytes
    Add tokenizer 3 months ago
  • training_args.bin

    Detected Pickle imports (10)

    • "torch.device",
    • "transformers.training_args.TrainingArguments",
    • "transformers.training_args.OptimizerNames",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.SaveStrategy",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.SchedulerType"

    How to fix it?

    5.33 kB
    xet
    Training in progress, epoch 1 3 months ago