{"image_url":null,"url":"https://yoshoku.hatenablog.com/entry/2023/04/02/213000","height":"190","author_url":"https://blog.hatena.ne.jp/yoshoku/","provider_url":"https://hatena.blog","author_name":"yoshoku","published":"2023-04-02 21:30:00","title":"llama.cpp\u306eRuby bindings\u3092\u4f5c\u3063\u305f","blog_title":"\u6d0b\u98df\u306e\u65e5\u8a18","width":"100%","provider_name":"Hatena Blog","type":"rich","version":"1.0","categories":["Ruby","\u81ea\u7136\u8a00\u8a9e\u51e6\u7406","\u6df1\u5c64\u5b66\u7fd2","LLMs"],"description":"\u306f\u3058\u3081\u306b llama.cpp\u306fMeta\u306e\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb (Large Language Models, LLMs) \u3067\u3042\u308bLLaMA\u3092\u3001\u91cf\u5b50\u5316\u3059\u308b\u3053\u3068\u3067CPU\u4e0a\u3067\u52d5\u4f5c\u3055\u305b\u308b\u3082\u306e\u3067\u3042\u308b\u3002C/C++\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001Ruby bindings\u3092\u4f5c\u3063\u3066\u3001Ruby\u304b\u3089\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u3057\u305f\u3002 github.com \u4f7f\u3044\u65b9 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u901a\u5e38\u306enative extensions\u306agem\u3068\u540c\u69d8\u3067\u3042\u308b\u3002 $ gem install llama_cpp \u30e2\u30c7\u30eb\u3092\u7528\u610f\u3057\u3066\u91cf\u5b50\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001llama.cpp\u3092clone\u3057\u3066\u304d\u3066\u3001Usage\u306e\u901a\u308a\u306b\u3059\u308c\u3070\u3067\u304d\u308b\u3002 GitHub - ggerganov/l\u2026","blog_url":"https://yoshoku.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshoku.hatenablog.com%2Fentry%2F2023%2F04%2F02%2F213000\" title=\"llama.cpp\u306eRuby bindings\u3092\u4f5c\u3063\u305f - \u6d0b\u98df\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}