並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 13 件 / 13件

新着順 人気順

referenced before assignment python 3の検索結果1 - 13 件 / 13件

  • ローカルで動く大規模言語モデル(Rinna-3.6B)を使ってあなただけのAIパートナーを作ろう - Qiita

    はじめに はじめまして。株式会社ずんだもんのアルバイトエンジニアのinadaです。 今日は誰でも作れるずんだもんと題してローカルPCにずんだもんAIを作ります。この記事はそのチュートリアル記事です。 (誰でもと書いてますが、RTX 3060(12G)搭載以上のPC推奨です。CPUマシンでも出来る部分はありますが非推奨です。RTX 3060(12G)のグラボは5万ぐらいで買えるので持ってなければ買っちゃいましょう。) 対象読者/記事の範囲 ローカルPCで動かせる大規模言語モデルを、学習用のデータの用意から、学習、動かすところまで一通りどんなものか、お試ししてみたい人。 自分だけの世界にただ一人だけのうちの子、またはパートナー(うちの嫁)を作り育てたい。そんな沼にはまりたい、興味がある人。 AIの仕組みや用語は当記事では解説しません。AIの用語(モデル, loss, epoch, checkp

      ローカルで動く大規模言語モデル(Rinna-3.6B)を使ってあなただけのAIパートナーを作ろう - Qiita
    • Node.js — Node.js 20.6.0 (Current)

      Notable changes built-in .env file support Starting from Node.js 20.6.0, Node.js supports .env files for configuring environment variables. Your configuration file should follow the INI file format, with each line containing a key-value pair for an environment variable. To initialize your Node.js application with predefined configurations, use the following CLI command: node --env-file=config.env

        Node.js — Node.js 20.6.0 (Current)
      • Golang Mini Reference 2022: A Quick Guide to the Modern Go Programming Language (REVIEW COPY)

        Golang Mini Reference 2022 A Quick Guide to the Modern Go Programming Language (REVIEW COPY) Harry Yoon Version 0.9.0, 2022-08-24 REVIEW COPY This is review copy, not to be shared or distributed to others. Please forward any feedback or comments to the author. • feedback@codingbookspress.com The book is tentatively scheduled to be published on September 14th, 2022. We hope that when the release da

        • 0.8.0 Release Notes ⚡ The Zig Programming Language

          Tier 4 Support § Support for these targets is entirely experimental. If this target is provided by LLVM, LLVM may have the target as an experimental target, which means that you need to use Zig-provided binaries for the target to be available, or build LLVM from source with special configure flags. zig targets will display the target if it is available. This target may be considered deprecated by

          • How a simple Linux kernel memory corruption bug can lead to complete system compromise

            In this case, reallocating the object as one of those three types didn't seem to me like a nice way forward (although it should be possible to exploit this somehow with some effort, e.g. by using count.counter to corrupt the buf field of seq_file). Also, some systems might be using the slab_nomerge kernel command line flag, which disables this merging behavior. Another approach that I didn't look

            • November 2023 (version 1.85)

              Version 1.108 is now available! Read about the new features and fixes from December. Update 1.85.1: The update addresses these issues. Update 1.85.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the November 2023 release of Visual Studio Code. There are many updates in this version that we hope you'll l

                November 2023 (version 1.85)
              • GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning

                Accepted at ICLR 2026 (Oral). GEPA: REFLECTIVE PROMPT EVOLUTION CAN OUTPER- FORM REINFORCEMENT LEARNING Lakshya A Agrawal1 , Shangyin Tan1 , Dilara Soylu2 , Noah Ziems4 , Rishi Khare1 , Krista Opsahl-Ong5 , Arnav Singhvi2,5 , Herumb Shandilya2 , Michael J Ryan2 , Meng Jiang4 , Christopher Potts2 , Koushik Sen1 , Alexandros G. Dimakis1,3 , Ion Stoica1 , Dan Klein1 , Matei Zaharia1,5 , Omar Khattab6

                • LambdaLisp - A Lisp Interpreter That Runs on Lambda Calculus

                  LambdaLisp is a Lisp interpreter written as an untyped lambda calculus term. The input and output text is encoded into closed lambda terms using the Mogensen-Scott encoding, so the entire computation process solely consists of the beta-reduction of lambda calculus terms. When run on a lambda calculus interpreter that runs on the terminal, it presents a REPL where you can interactively define and e

                    LambdaLisp - A Lisp Interpreter That Runs on Lambda Calculus
                  • AIに彼女の画像を学習させて架空のスナップ写真を作らせてみた

                    AIが生成した彼女のスナップ写真 彼女の友人と食事をした際、スマホに入れておいたAI作成の彼女の架空のスナップ写真を見せたところ、みな彼女の写真だという前提で何の疑いもなく「これはベネツィアかな?」といった反応でした。実はAIが生成した実在しない写真だと説明したら一同ビックリ! 確かに僕が見ても本人にしか見えないレベルですので無理もありません。あまりに本人過ぎるので、本人の許可を得て目線を入れたバージョンをご紹介します。 なお、以下の画像はすべてベースモデルにシンガポール人のPleaseBanKaiさん作成のBraV4.safetensors(アジア系の実写に強いと評判のモデル)を使用し、僕がAIに彼女の顔や体型等を追加学習させたLoRAモデルを作成した上で、このベースモデルに学習データを追加適用させてAIが生成したものです。 まずは、公園で撮ったスナップ写真風。普通にリアルすぎて先日どこ

                      AIに彼女の画像を学習させて架空のスナップ写真を作らせてみた
                    • May 2024 (version 1.90)

                      Update 1.90.2: The update addresses these issues. Update 1.90.1: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the May 2024 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Editor tabs multi-select - Select and perform act

                        May 2024 (version 1.90)
                      • JavaScript Interview Questions

                        Here is a list of common JavaScript interview questions with detailed answers to help you prepare for the interview as a JavaScript developer. JavaScript continues to be a cornerstone of web development, powering dynamic and interactive experiences across the web. As the language evolves, so does the complexity and scope of interview questions for JavaScript developers. Whether you’re a fresher de

                          JavaScript Interview Questions
                        • How uv Works Under the Hood | Noos - Where Thought, Code, and Craft Converge

                          I started using uv because the benchmarks seemed too good to be true—10–100x faster than pip, resolves and installs in milliseconds. After reading the source code and the official resolver internals documentation, I understand why, and the answers are more interesting than just "it's written in Rust." This post traces every layer: from the repository structure, through what literally happens when

                            How uv Works Under the Hood | Noos - Where Thought, Code, and Craft Converge
                          • 『Pythonで書かれたLisp Hy』

                            これは Lispアドベント・カレンダー2020 DEC.21.2020 です。 AI言語は、LispとPrologに決まってるやろ〜 というあたくし。 Pythonって、なんや。遅いインタープリタ、ナメてんのか… だが、Pythonって、ライブラリ呼ぶだけでイロイロできてしまう… ライブラリの呼び出し方は、ググってコピペでOK\(^^;/ でも、やっぱり Lisp 使うぜ。 ここで軟弱な Pythonで書かれたLispを使おうかなと… 「Hy」 という軟弱 Lisp Ubuntu 18.04.5 LTSでは、 $ sudo apt install python3-hy で、インストールできました。 $ hy で起動。 なんと、setq が無くて、代わりが setv。 マクロはある。 setqを defmacro するしか… 「〜」がCommon Lispの「,」にあたるようだ。 => (d

                              『Pythonで書かれたLisp Hy』
                            1