Comments (13)
coming up after a short recoup! stay tuned. Essentially since its a gluonts Estimator, one should be able to estimator.train()
on your data but we need to remove some bespoke fields that were left behind in the lightning callbacks...
from lag-llama.
Yes, as @kashif says, the fine-tuning scripts are coming soon. Scripts to load datasets in custom formats are also coming soon. Thank you for your patience.
from lag-llama.
@zhilif have a look at the colab https://colab.research.google.com/drive/1uvTmh-pe1zO5TeaaRVDdoEWJ5dFDI-pA?usp=sharing
from lag-llama.
@kashif thank you for providing the code. Unfortunately, I got this error during fine-tuning:
TypeError: model
must be a LightningModule
or torch._dynamo.OptimizedModule
, got LagLlamaLightningModule
from lag-llama.
@shahrokhvahabi try to git pull, I believe its somehow running an older code
from lag-llama.
@kashif I deleted the lag-llama and cloned again it from the repository. But this error occurred again.
from lag-llama.
@shahrokhvahabi its due to the newer lightning version you have... so try do to:
!pip uninstall -A gluonts
!pip install -U gluonts[torch]
from lag-llama.
@kashif I did but the error is persistent.
from lag-llama.
ah sorry i meant to say:
!pip uninstall -A lightning pytorch-lightning gluonts
!pip install -U gluonts[torch]
from lag-llama.
ah sorry i meant to say:
!pip uninstall -A lightning pytorch-lightning gluonts !pip install -U gluonts[torch]
Thank you for the reply @kashif . I did as you mentioned above. Could you please give me another suggestion to avoid this error?
from lag-llama.
yeah not sure what more i can do... somehow your setup is sucking in a newer version of lightning
perhaps
!pip install lightning==2.1.4 pytorch-lightning==2.1.4
from lag-llama.
@kashif Could you please send those files in the model you updated so that I can replace them manually?
from lag-llama.
make a new issue instead of hijacking this one as the original author is getting spammed unnecessarily closing this
from lag-llama.
Related Issues (20)
- loss calculation HOT 2
- Data loader bottlenecking training HOT 3
- Can't import gluonts
- what do we need to set the device parameter when we use macos ? HOT 1
- item_id error HOT 1
- plotting predictions for 1 step ahead forecasting HOT 4
- exec ./scripts/pretrain.sh error,No such file or directory: 'datasets/huawei/cpu_limit_minute.json' HOT 2
- Model TypeError while running Lag_Llama_Fine_Tuning_Demo notebook HOT 3
- Adding our own covariates HOT 2
- Measuring Perplexity (PPL)? HOT 2
- problem dataset weather and mae metric
- different prerpint has different computing power (Summit supercomputer) and dataloader PatchTST
- Why the freq_str argument to time_features_from_frequency_str() function is always 'S' HOT 1
- forecasts = list(forecast_it) is very slow HOT 2
- dealing with mixed frequency data HOT 1
- Multivariate time series data HOT 11
- Finetune lag-llama using cpu HOT 2
- ModuleNotFoundError: No module named 'gluonts.torch.modules.loss' HOT 1
- Faster inference and more accurate point estimates with Lag-Lama
- KeyError: 'past_target'
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 lag-llama.