Hi,
I am trying to run this part of the code:
from pathlib import Path
import shutil
import os
import logging
import sys
sys.path.append(’…’)
from textblob import TextBlob
from pprint import pprint
from sklearn.metrics import classification_report
from transformers import AutoModelForSequenceClassification
from finbert.finbert import *
import finbert.utils as tools
%load_ext autoreload
%autoreload 2
project_dir = Path.cwd().parent
pd.set_option(‘max_colwidth’, -1)
But I get this error :
ModuleNotFoundError: No module named ‘finbert.finbert’
I have imported to finbert-embedding also, but i can not run the code.
You can find full part of the code on this path:

  

      github.com
  

  
    ProsusAI/finBERT/blob/master/notebooks/finbert_training.ipynb 1


      {
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# FinBERT Example Notebook\n",
    "\n",
    "This notebooks shows how to train and use the FinBERT pre-trained language model for financial sentiment analysis."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Modules "
   ]
  },
  {
   "cell_type": "code",




  This file has been truncated. show original

  

  
    
    
  

  


thanks, Ayse