Closed ctsan closed 2 years ago
Hi,
Thanks for using our repository!
pytorch_model.bin
should work. You can use our script to get a finetuned model by setting PRUNING_TYPE=None
to fall back to standard finetuning. Hi,
Thank you for the response. I am still having some issues with 2. To my understanding, your current example for finetuning is to finetune a pruned model, but I don't have the pruned model either. Does your script support finetuning the unpruned model? and if so what are the arguments?
EDIT: I resolved 2, but I am still getting an error at 3.
Found the error for 3. Example script had a typo
Hi,
Sorry for getting back to you! What was the typo you found from the example script?
PRUNING_TYPE=structured_head+structured_mlp+hidden+layer
-> structured_heads is expected in the code I believe, not structured_head, or something along these lines.
Thanks! I just fixed it.
Hello,
I am trying to run your codebase. I am having some issues however:
Set of python requirements cannot be installed due to incompatibilities. Are these requirements strict or can they be relaxed?
After relaxing the above evaluation runs fine, but training requires a
--distillation_path
. Could you provide an example on how to use this argument?To overcome 2, I set variable additional_args.do_distill to False. this results in an epoch being trained but crashing at the end. Model loss succesfully reduces but reg loss and lag loss is 0. The error at the end is a failure in assertion: " assert "head" in self.types" in the l0 module
Could you help me or provide pointers on resolving the above?
Thank you