Comments (8)
Hi Taha, could you please be more specific? What do you mean by "installing on pycharm"? Did you try running the steps on the readme?
from finbert.
Hi I have the below version installed in my system
Python 3.6.0
Anaconda 4.9.2
torch 1.8.0
I have cloned finBERT in my Drive. But when I am running this command on the conda prompt "conda env create -f environment.yml" I am getting this error message.
Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement torch==1.1.0 (from -r C:\Users\Vishal Mendekar\finBERT\condaenv.xiuhwud4.requirements.txt (line 4)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 1.7.0, 1.7.1, 1.8.0)
ERROR: No matching distribution found for torch==1.1.0 (from -r C:\Users\Vishal Mendekar\finBERT\condaenv.xiuhwud4.requirements.txt (line 4))
failed
CondaEnvException: Pip failed
I tried installing torch version 1.1.0 manually but it gives the error "No such distribution found".
How can I get this initial setup thing to work properly in my system?
By default, I had python 3.9.1 in my system but I downgraded it to 3.6.0 thinking maybe it will help. But it didn't.
Also please tell do running finBERT has got anything to do with Python's version.
from finbert.
We didn't test the code on Windows. I'd suggest to try running it on Linux or MacOS if possible. Or you can use Google colab.
from finbert.
What you mean by running Google colab? Are you trying to say I should train the whole model again or something else. I am a bit confused with your statement.
from finbert.
One more thing to add. In the environemnt.yml file, there are dependencies with their versions mentioned. Like this
jupyter=1.0.0
pandas=0.23.4
python=3.7.3
numpy==1.16.3
ipykernel=5.1.3
transformers=4.1.1
pip:
joblib==0.13.2
scikit-learn==0.21.2
spacy==2.1.4
torch==1.1.0
Since all these dependencies have got their upgraded versions. Do we still need to install these specific versions? or it's fine to have the latest one. More specifically can't I use torch 1.8.0
@doguaraci @theofpa @pvdb2178
from finbert.
What you mean by running Google colab? Are you trying to say I should train the whole model again or something else. I am a bit confused with your statement.
I suggested this as an alternative to running on Windows. You can run any part of code on Google colab. Unless you are planning to use FinBERT on a production system, Colab is a good option.
from finbert.
One more thing to add. In the environemnt.yml file, there are dependencies with their versions mentioned. Like this
jupyter=1.0.0
pandas=0.23.4
python=3.7.3
numpy==1.16.3
ipykernel=5.1.3
transformers=4.1.1
pip:
joblib==0.13.2
scikit-learn==0.21.2
spacy==2.1.4
torch==1.1.0Since all these dependencies have got their upgraded versions. Do we still need to install these specific versions? or it's fine to have the latest one. More specifically can't I use torch 1.8.0
Those versions are the ones we tested and verified the code for. You can of course try with torch 1.8.0. It'd probably work, but hard to tell without trying.
from finbert.
Can you please send me the steps how to run finbert on google colab.
from finbert.
Related Issues (20)
- Error in _read_tsv when trying to read in the data HOT 3
- Preprocessing using TRC2
- Using Finbert for 240 multilabel multiclass classification HOT 1
- AxisError when call predict via REST API on Flask HOT 2
- pip install transformers is necessary to Dockerfile HOT 1
- error using predict.py HOT 4
- no code for FiQA sentiment classification task? HOT 1
- ad Gateway for url: https://huggingface.co/bert-base-uncased/resolve/main/config.json
- Sentence Representation Layer
- unable to parse tokenizer_config.json HOT 1
- TypeError: ord() expected a character, but string of length 69 found HOT 1
- pretrained model assignment HOT 1
- Understanding the output HOT 3
- Incorrect prediction Using Huggingface Transformers converted to ONNX format HOT 1
- Questions about regression HOT 1
- Tokenizer HOT 2
- Size of training data
- Is Pretrained only FinBert available HOT 1
- 'FinBert' object has no attribute 'class_weights'
- Unable to run finbert on R HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finbert.