Show HN: Tabby – A self-hosted GitHub Copilot (opens in a new tab)github.com
627 pointsI would like to introduce Tabby, which is a self-hosted alternative to GitHub Copilot that you can integrate into your hardware. While GitHub Copilot has made coding more efficient and less time-consuming by assisting developers with suggestions and completing code, it raises concerns around privacy and security.
Tabby is in its early stages, and we are excited to receive feedback from the community.
Its Github repository is located here: https://github.com/TabbyML/tabby.
We have also deployed the latest docker image to Huggingface for a live demo: https://huggingface.co/spaces/TabbyML/tabby.
Tabby is built on top of the popular Hugging Face Transformers / Triton FasterTransformer backend and is designed to be self-hosted, providing you with complete control over your data and privacy. In Tabby's next feature iteration, you can fine-tune the model to meet your project requirements.
Comments (126) 31 threads
Earlier commentsRelated research works include [1]. (Hints: combine code search and LLM).
[1]: RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation https://arxiv.org/abs/2303.12570
This also reveals Tabby's roadmap beyond other OSS work like Fauxipilot :)
That doesn't answer the question, can anyone without more VRAM than sense actually run it as-is or should we wait until they reach their allegedly impossible aspirational goal?
The very first line of this sort of post should be the specs required and if the trained model weights are actually available, otherwise it's just straight up clickbait.
A 1B parameter transformer model is on the low/tiny-end of model size these days.
In the meantime, I'm training language-specific base models using NeoX blocks. I hope to release them soon.
The Huggingface Space demo is running on a derived model of Salesforce/codegen-350M-multi
Not necessarily better than SO but I find it nice to see options.
[0] https://codeium.com/
Is it writing meaningful code for me? Nah. Is it helpful? Certainly.
Not that I find it as useful as most people do, but there is a difference...
It's also not that great with go, but surprisingly (to me) still better than C#.
Continue this thread — 1 reply
It costs 10$/month and probably saves me hours in stupid boilerplate, not just because it reduces typing but because the kind of typing it fixes is the boring stuff that gets me out of flow.
and we can be talking about very non-trivial permutations here where it's obvious from context what you want to do but generalizing to cover all cases would be more work than just writing it.And boilerplate is a vague term, good example of copilot "AI" features :
And tests - sometimes it can generate a correct test with mocks just from function name, sometimes it's garbage - but it's really easy to glance at which it is.
My current experience with copilot for ~2 months is that it's really good at such boilerplate, it's annoying when it's late or fails at what I expect it but, and it makes generating boilerplate code very cheap so it can lead to a lot of duplication.
If you're good enough you know to pick up when you should apply DRY and when not, you'll get a feel when copilot is useful and it will be a decent productivity boost IMO. If they made it faster and more reliable (just for the cases I already use it for) I would pay >100$ month out of pocket for sure.
I've found it amazing when working in semi-familiar programming languages. I'm primarily a Ruby dev, but currently working in Python. The languages are close enough that it's an easy transition, but they do a lot of fundamentals differently.
Previously, it'd be extremely disruptive to my thought-process to have to go lookup basic functions, like checking array lengths or running a regex on a string.
Now, I just write a comment like `# check array length` or `# on x_var, run this regex "\s+"`. Copilot spits back what I need (or at least close enough to avoid having to break context).
Even in core languages, I'm finding it very useful for writing system calls or niche functionality that I don't use frequently. My mental model knows what needs to be done, but I don't remember the exact calls off the top of my head.
Copilot is fantastic at predicting where I'm heading next once I give it a little bit of a start. It helps me work out unfamiliar functions that I might need to chain, or syntax I'm not entirely familiar with.
I'd say it's a big winner for me.
All comments shown.
Couldn't load more comments. Check your connection and try again.