-
Notifications
You must be signed in to change notification settings - Fork 104
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
[P1] TypeError: Object of type type is not JSON serializable #69
Comments
Could you paste here the command or the script that you are running? I think the issue is related to Pyvene unable to serialize the config of the model that you are using |
@PinetreePantry i use the same in readme demo. python train.py --model_name_or_path TinyLlama/TinyLlama-1.1B-Chat-v1.0 |
hey @srn-source, please try to add |
@frankaging Its work, what happen? but thank you so much. |
Marking this as close, and will track the progress in #70 |
Below is another workaround in a Python code snippet. This approach prevents TensorBoard logging from attempting to serialize the Pyvene model's configs, which cannot be serialized due to the use of from transformers.integrations.integration_utils import TensorBoardCallback
trainer.remove_callback(TensorBoardCallback) |
I try to run train.py of alpaca examples with " TinyLlama/TinyLlama-1.1B-Chat-v1.0" but i got this error before training.
what should i do? please guide me.
I am searching for it, i think it is about model.config cannot convert to json? i am not sure
The text was updated successfully, but these errors were encountered: