Fix code repetition in serialization guide (#16346)
Fix code repetition in serialization guide (#16346)


huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers