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

Issue with ram/models/utils.py functiom init_tokenizer() #37

Open
mashoutsider opened this issue Sep 26, 2024 · 1 comment
Open

Issue with ram/models/utils.py functiom init_tokenizer() #37

mashoutsider opened this issue Sep 26, 2024 · 1 comment

Comments

@mashoutsider
Copy link

mashoutsider commented Sep 26, 2024

Why does the function init_tokenizer() contain hardcoded path to a directory?

tokenizer = BertTokenizer.from_pretrained('/home/notebook/data/group/LowLevelLLM/LLM/bert-base-uncased', local_files_only=True)

This is ultimately called when an instance of the RAM model is created, via the call model=RAMLora()

Should this be replaced with tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')?

@cswry
Copy link
Owner

cswry commented Oct 27, 2024

Yes, you can replace the hardcoded path with hardcoded path

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