-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
Specify a model from a specific directory for extract_features.py #62
Comments
The last update broke this, but you can fix this in tokenization.py, you have to add this after
|
Thank you, is it fair to assume that this will get accepted as an issue and fixed in a future update/release? |
Yes :-) There is a new release planned for tonight that will fix this (among other things, basically all the other open issues). |
Ok, this is now included in the new release 0.3.0 (by #73). |
* Update trainer and model flows to accommodate sparseml Disable FP16 on QAT start (huggingface#12) * Override LRScheduler when using LRModifiers * Disable FP16 on QAT start * keep wrapped scaler object for training after disabling Using QATMatMul in DistilBERT model class (huggingface#41) Removed double quantization of output of context layer. (huggingface#45) Fix DataParallel validation forward signatures (huggingface#47) * Fix: DataParallel validation forward signatures * Update: generalize forward_fn selection Best model after epoch (huggingface#46) fix sclaer check for non fp16 mode in trainer (huggingface#38) Mobilebert QAT (huggingface#55) * Remove duplicate quantization of vocabulary. enable a QATWrapper for non-parameterized matmuls in BERT self attention (huggingface#9) * Utils and auxillary changes update Zoo stub loading for SparseZoo 1.1 refactor (huggingface#54) add flag to signal NM integration is active (huggingface#32) Add recipe_name to file names * Fix errors introduced in manual cherry-pick upgrade Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com>
fix incorrect pack while using cuda, desc_act and grouping
* build wheel to share dir * use run id as folder * test * Update run_tests.yml * Update run_tests.yml * ignore this commit * ignore this commit * Update run_tests.yml * Update run_tests.yml * keep other matrix running * Update run_tests.yml * add checkout * Update run_tests.yml * test, ignore this commit * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * Update run_tests.yml * fix extra - * rename * run manually
I have downloaded the model and vocab files into a specific location, using their original file names, so my directory for bert-base-cased contains:
But when I try to specify the directory which contains these files for the
--bert_model
parameter ofextract_features.py
I get the following error:When I specify a file that exists and is a proper file, the error messages seem to indicate that the program wants to untar and uncompress the files.
Is there no way to just specify a specific directory that contains the vocab, config, and model files?
The text was updated successfully, but these errors were encountered: