Comments (8)
@noahgift I was able to repro and I see the problem - just a few missing imports. Let me update the notebook so that it runs correctly.
Thank you so much! Putting this into a Coursera Duke course on LLMOps!
from ludwig.
@noahgift I was able to repro and I see the problem - just a few missing imports. Let me update the notebook so that it runs correctly.
from ludwig.
@alexsherstinsky Thanks for checking! I believe this is a notebook I created a few months ago after our collaboration when Mistral first came out and I may have missed some imports. It was meant to a be a very lean/stripped down version of the original notebook adapted and blogpost we created together, but I adapted it for the code alpaca dataset in conjunction with fine-tuning on Llama-2-7b/13b as can be seen in the Ludwig README.
I'm also surprised that I missed some imports, but I've updated the notebook now to have the right imports! Just making sure that the training parameters are adjusted so that the notebook has good inference performance when it's run!
from ludwig.
@noahgift Alright, things should be fixed up! Are you able to give it a try now?
from ludwig.
@noahgift Alright, things should be fixed up! Are you able to give it a try now?
Perfect! Just verified it worked. Appreciate it! Such a great example of why Ludwig is cool. Love anything non-meta as an example!
from ludwig.
Hey @noahgift - thanks for flagging this issue and sorry you ran into it. I'm taking a look right now and will get back to you once I know what's going on and find a fix.
from ludwig.
I only just saw this -- did I really not include imports into the notebook? Not sure how this could have happened if it ran fine. In fact, I just checked the original source of this notebook, and all the imports seem to be there (in addition, the references to the notebooks in the blog post also contain the imports). Apologies, @noahgift, for any confusion and lost productivity. Thank you!
from ludwig.
@arnavgarg1 Now I see what is going on! Thank you very much for clarifying! Whew! 😄
from ludwig.
Related Issues (20)
- Improve docker build times for `ludwig-ray` and `ludwig-ray-gpu`
- Ray - protobuf issue HOT 5
- Support for Models stored in GCS bucket HOT 1
- GPU is not available
- Wandb on ludwigai/ludwig-ray-gpu:latest + ray throws AttributeError: module 'pydantic.fields' has no attribute 'ModelField'
- Token-level Probability Always 0.0 When Fine-tuning Llama2-7b Model on Single GPU
- Dependency issue HOT 2
- `RESPONSE` contains lot longer text than is expected based on the `output_features` and `max_sequence_length`.
- PyYAML error while installing with python 3.12 HOT 1
- Ray retraining fails with StopIteration exception when retraining a model with small datasets HOT 1
- Issues fine tuning Mistral HOT 1
- Issue fien tuning Falcon HOT 2
- Uploading model to HF HOT 1
- phi 3 error HOT 1
- Error running inference on Llama3 model HOT 4
- Add llava support in ludwig
- MNIST Dataset can't be downloaded
- 4/5 trial fails due to lack of memory HOT 2
- Twitter Bots Example Overfits "Out-of-the-Box" HOT 1
- Torchtext undefined module when using gpt2bpe tokenizer
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 ludwig.