Hugging Face Forums
How to create a config.json after saving a model
🤗Transformers
BramVanroy
April 28, 2022, 3:35pm
11
You should be able to just call
model.config.to_json_file("config.json")
cc
@seanbenhur
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Convert Pytorch Model to Huggingface Transformer?
🤗Transformers
2
11014
May 2, 2024
How to get config.json from .pt loaded model?
Beginners
1
1350
April 11, 2022
Save custom transformer as PreTrainedModel
Intermediate
1
934
September 7, 2021
How to save custom model to get config.json file
Beginners
2
1489
October 20, 2024
Saving trained number of epochs in config.json // Custom fields in config.json
🤗Transformers
1
278
November 7, 2022