News for hackers. Stuff that matters.
Re:Replit's new AI Model now available on Hugging Face by ZeroCool2u on Wednesday October 11, 2023 @07:40AM (#37843246)
Re:Replit's new AI Model now available on Hugging Face by coder543 on Wednesday October 11, 2023 @09:16AM (#37843968)
That is not "local." That uses the cloud inference by default (and they provide no guidance for changing that).

I don’t consider cloud inference to count as getting it working “locally” as requested by the comment above yours.

Refact worked nicely and worked locally when I tried it a few weeks ago, but the challenge with any new model is making it be supported by the existing software: https://github.com/smallcloudai/refact/

Re:Replit's new AI Model now available on Hugging Face by ZeroCool2u on Wednesday October 11, 2023 @09:44AM (#37844289)
"Choose your model Requests for code generation are made via an HTTP request.

You can use the Hugging Face Inference API or your own HTTP endpoint, provided it adheres to the API specified here[1] or here[2]."

It's fairly easy to use your own model locally with the plugin. You can just use the one of the community developed inference servers, which are listed at the bottom of the page, but here's the links[3] to both[4].

[1]: https://huggingface.co/docs/api-inference/detailed_parameter...

[2]: https://huggingface.github.io/text-generation-inference/#/Te...

[3]: https://github.com/wangcx18/llm-vscode-inference-server

[4]: https://github.com/wangcx18/llm-vscode-inference-server