Error: Failed to load parameters when running the example of "Analyze Sentiment Using FinBERT".
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I downloaded the matlab 2021b to try some new features in text analysis field.
I ran the MATLAB official example “Analyze Sentiment Using FinBERT”.
When I started the first step:
%% Load Pretrained FinBERT Model
% Load a pretrained FinBERT model using the |finbert| function. The model
% consists of a tokenizer that encodes text as sequences of integers, and
% a structure of parameters.
mdl = finbert
A mistake occued, and it was like:
Error using load
Cannot read file
E:\Documents\MATLAB\Examples\R2021b\supportfiles\nnet\data\networks\finbert\sentiment-model\parameters.mat.
Which meant the mat datafile contained parameters was broken, it could not be opened.
So how to fix this problem?
0 Kommentare
Antworten (1)
R
am 7 Mai 2024
The example "Analyze Sentiment Using FinBERT" is not a MATLAB example. Instead, it is an example given in the following file exchange:
To execute this example, you must first download or clone the repository linked above to your local machine and then open it in MATLAB.
Additionally, if you have further questions, you can utilize the discussions tab available at the same link.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Modeling and Prediction finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!