Source code of transformers models
I’d like to know if the code for PyTorch is available for all models in the huggingface transformers library.For instance, models show apytorch_model.binin their tree (e.g.openai-community/gpt2-xl at main). Is there a way to access the source code of this binary?
2024-02-14T18:11:44Z
The source code for all the models ishere. For example, you can find GPT2 source code there..binfiles themselves don’t have “source code” per se because that file is just a dump of the model’s weights (it’s just a bunch of numbers for the model parameters and a data structure for organizing them).
2024-02-15T08:05:07Z
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.