並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 8 件 / 8件

新着順 人気順

local variable referenced before assignment pythonの検索結果1 - 8 件 / 8件

  • ローカルで動く大規模言語モデル(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
    • 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

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

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

              AIに彼女の画像を学習させて架空のスナップ写真を作らせてみた
            • 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
              • 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)
                • 『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