Skip to content

How should I go about integrating large models (for machine learning) with GitHub? #124452

Discussion options

You must be logged in to vote

Hey @rafa-br34

It depends on what you are going for 😃 Let me give you options.

  • If you just need some AI Services (ChatGPT, Claude, ...) you can use their APIs. (like that one). No special managing of anything, as these are pretty much just function calls.
  • If you need one or several models that are already on Huggingface: I recommend using classes and inheritance to abstract the different implementations away, providing only a simple interface like "load()", "chat(...)", "save()".
  • If you develop your own model and then use it in your code: Put the model on Huggingface, then apply the above. Note that individual Github repositories typically do not have enough storage for big AI models. (Y…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rafa-br34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Programming Help Programming languages, open source, and software development.
3 participants