-
Notifications
You must be signed in to change notification settings - Fork 41
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
Meta Llama 3 #2
Comments
Hi, sorry for the delay. transformers>=4.40.0 or other package upgrades are fine. Just specify it in |
Based on the competition rules, any public models can be used if they are uploaded before May 31st 2024. |
Some of these updates are significant bugfixes so it'd be counterproductive to limit the allowed commits to only those made before May 31st. However, some of these commits also update the model weights & it'd be unfair to allow them. So, I propose we follow the following rules instead:
|
I'd like to support your proposal. But then we are facing an issue: How to implement the pinned commit ID? Any idea? I found this part difficult, but this technical challenge is not a part of the challenge 🤔 |
We can do something like: AutoModel.from_pretrained(
MODEL_ID,
revision=MODEL_REVISION,
token=os.environ["HF_TOKEN"],
) or from huggingface_hub import snapshot_download
from transformers.utils import move_cache
os.makedirs(MODEL_DIR, exist_ok=True)
snapshot_download(
MODEL_ID,
revision=MODEL_REVISION,
local_dir=MODEL_DIR,
ignore_patterns=["*.pt", "*.bin"], # Using safetensors
token=os.environ["HF_TOKEN"],
)
move_cache() |
Good suggestion - thank you! We have modified the code to allow for adding |
Based on the competition rules, any public models can be used if they are uploaded before May 31st 2024.
But, i think transformers>=4.40.0 is required for llama 3 (current version is 4.39.3 in yml file). Is there any problem with submitting a solution if any package is upgraded?
thanks.
The text was updated successfully, but these errors were encountered: