Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to access the pretrained models via the links. #106

Closed
dingusagar opened this issue Jul 12, 2023 · 4 comments
Closed

Not able to access the pretrained models via the links. #106

dingusagar opened this issue Jul 12, 2023 · 4 comments

Comments

@dingusagar
Copy link

Was trying to access the pretrained checkpoints at this link as mentioned in the readMe.
https://msralaphilly2.blob.core.windows.net/release/BioGPT/checkpoints/QA-PubMedQA-BioGPT.tgz

But getting the error that it is not accessible publicly.
image

@lewislovelock
Copy link

if you want to fine-tune this model, you can check this notebook, https://github.com/huggingface/notebooks/blob/main/examples/language_modeling.ipynb -- just change the model and datasets, i already tried it works 💯

@dingusagar
Copy link
Author

@lewislovelock , I wanted to finetune the base versions of biogpt. but it looks like huggingface has only the biogpt large checkpoints. Looks like not all the checkpoints in the readME are openly available.

@lewislovelock
Copy link

@lewislovelock , I wanted to finetune the base versions of biogpt. but it looks like huggingface has only the biogpt large checkpoints. Looks like not all the checkpoints in the readME are openly available.

from transformers import BioGptTokenizer, BioGptForCausalLM
from datasets import load_dataset

datasets = load_dataset('YOUR_DATASET')
model = BioGptForCausalLM.from_pretrained("microsoft/biogpt")
......

https://huggingface.co/microsoft/biogpt/tree/main
emmm, is this not the base version?

@dingusagar
Copy link
Author

@lewislovelock
All the links in readme seem to be working now when I checked. Looks like the issue is fixed. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants