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)
And i am getting this error :
ModuleNotFoundError: No module named ‘finbert.finbert’                                                           Although I have install finbert-embedding on the Anaconda prompt .
thanks, Ayse
Also you can find full version of the code on this path : finBERT/finbert_training.ipynb at master · ProsusAI/finBERT · GitHub