Comments (3)
There were some mistakes in the README instructions, and the code in demo.ipynb was intended for loading models from disk. Now I've corrected them both. Try again and see if there are any more things we can help you with.
from fingpt.
thanks so much for your quick response! I have a follow up question in regards to the .readme line of code:
model = PeftModel.from_pretrained('FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
I am getting the error: "TypeError: PeftModel.from_pretrained() missing 1 required positional argument: 'model_id'"
Shouldn't the code be:
model = PeftModel.from_pretrained(base_model,'FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
?
from fingpt.
quick response! I have a follow up question in regards to the .readme line of code:
model = PeftModel.from_pretrained('FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
I am getting the error: "TypeError: PeftMo
You're right. Thanks for pointing that out, my bad for not reviewing the README codes. Fixing it.
from fingpt.
Related Issues (20)
- TypeError: 'NoneType' object cannot be interpreted as an integer HOT 1
- quetions about FinGPT-RAG
- CUDA out of memory on Google Colab when trying to run beginners notebook HOT 2
- test_dataset = load_from_disk('data/fingpt-forecaster-dow30v3-20221231-20230531-llama/')['test'] 数据是从哪里下载的 HOT 2
- Error when trying to run with a Quantized base model
- FinGPT_Forecaster中prepare_data.ipynb的map_bin_label函数是不是漏了一个加号 HOT 1
- How do I use this framework to retrieve financial news/articles?
- It's hard to download eastmoney content HOT 1
- Deploy the forecaster demo on Mac M chips HOT 1
- Fingpt forecastor backtesting HOT 3
- Reproducing sentiment finetuning train_lora extremely slow HOT 1
- FileNotFoundError: Directory data/fingpt-forecaster-dow30v3-20221231-20230531-llama/ not found
- Multi-Tasking with FinGPT HOT 1
- Do you support China's stock forecast HOT 1
- Forecaster binary accuracy and mse
- Dataset for FinForcaster.
- Fine-tuning error. HOT 3
- should hugginface app work? HOT 4
- Is FinGPTv1/2/3 made by finetuning General LLM (Llama or ChatGLM) with Language Modeling task, or Sentiment Analysis task, or both?
- Question for Hallucination PDF
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 fingpt.