lamini-ai / lamini

Apache License 2.0
2.5k stars 155 forks source link

User permission? #23

Closed jeff2go closed 11 months ago

jeff2go commented 12 months ago

when I run this below:

finetune_model = QuestionAnswerModel(model_name="EleutherAI/pythia-410m-deduped-v0")
answer = finetune_model.get_answer("What is Lamini?")
print(answer)

Got error:

UserError: Currently this user has support for base models: ['hf-internal-testing/tiny-random-gpt2', 'EleutherAI/pythia-70m', 'EleutherAI/pythia-70m-deduped', 'EleutherAI/pythia-70m-v0', 'EleutherAI/pythia-70m-deduped-v0', 'EleutherAI/neox-ckpt-pythia-70m-deduped-v0', 'EleutherAI/neox-ckpt-pythia-70m-v1', 'EleutherAI/neox-ckpt-pythia-70m-deduped-v1', 'EleutherAI/gpt-neo-125m', 'EleutherAI/pythia-160m', 'EleutherAI/pythia-160m-deduped', 'EleutherAI/pythia-160m-deduped-v0', 'EleutherAI/neox-ckpt-pythia-70m', 'EleutherAI/neox-ckpt-pythia-160m', 'EleutherAI/neox-ckpt-pythia-160m-deduped-v1', 'EleutherAI/pythia-410m', 'EleutherAI/pythia-410m-v0', 'EleutherAI/pythia-410m-deduped', 'EleutherAI/pythia-410m-deduped-v0', 'EleutherAI/neox-ckpt-pythia-410m', 'EleutherAI/neox-ckpt-pythia-410m-deduped-v1', 'cerebras/Cerebras-GPT-111M', 'cerebras/Cerebras-GPT-256M', 'meta-llama/Llama-2-7b-hf', 'meta-llama/Llama-2-7b-chat-hf']

Why? EleutherAI/pythia-410m-deduped-v0 not supported?

ninazwei90 commented 11 months ago

@jeff2go hey jeff, looks like EleutherAI/pythia-410m-deduped-v0 is supported -- it works for me (just using the basic version) Have you:

  1. Set up config with your API key correctly?
  2. Tried other models? Did they work?

Let us know if you have resolved this issue, we are here to support you. Also, thanks for using Lamini and reporting issues here. We'd love to learn from you and see how we can improve Lamini for you! If you're open to a 20-30 min chat (in exchange for Lamini free credits), please email me at nina@lamini.ai Looking forward!!

jeff2go commented 11 months ago

Thanks for your reply. After some days, I try it again, and it works now. That's weird.