lamini-ai / lamini

Apache License 2.0
2.5k stars 155 forks source link

status code 400 #26

Closed ClayGminx closed 11 months ago

ClayGminx commented 11 months ago

When I run the following code:

chatgpt = BasicModelRunner("chat-gpt")
print(chatgpt("Tell me how to train my dog to sit"))

Output

图片

safazaidmalik commented 11 months ago

I am also facing the same issue on model.get_answer()

from llama import QuestionAnswerModel
!wget -q -O "seed_lamini_docs.jsonl" "https://drive.google.com/uc?export=download&id=1SfGp1tVuLTs0WYDugZcxX-EHrmDtYrYJ"
model = QuestionAnswerModel(model_name="EleutherAI/pythia-410m-v0")
model.train(enable_peft=True)
model.get_answer("How can I add data to Lamini?")

image

ninazwei90 commented 11 months ago

@ClayGminx @safazaidmalik thank you both for posting this issue! We recently had a big upgrade of our system -- the error is very likely because of that. We're investigating the issue and fixing it. Will keep you updated!

Also, can you try the other colab examples? We added more examples, including some very easy-to-run SDKs https://www.lamini.ai/examples

Please feel free to email me if you run into more issues: nina@lamini.ai. We appreciate your feedback too!

ClayGminx commented 11 months ago

Soga.

ninazwei90 commented 11 months ago

@ClayGminx @safazaidmalik We knew what caused this issue -- we already had a fix and we will push the new fix on Thursday. you should be able to run without any problems then. i will update here too. Appreciate your understanding for this inconvenience!

safazaidmalik commented 11 months ago

Thank you for updating on this issue!

ninazwei90 commented 11 months ago

Hi all, this should be fixed! Please try again https://www.lamini.ai/examples. Do reach out if you have any questions nina@lamini.ai