Skip to content

Instantly share code, notes, and snippets.

View khirotaka's full-sized avatar
🦉
Under studying at 🏡

Hirotaka Kawashima khirotaka

🦉
Under studying at 🏡
View GitHub Profile

Architecture

ReActなどのエージェントシステムの大まかな処理はこのようになっている

sequenceDiagram
    Agent ->> LLM: プロンプトを送信
    LLM -->> Agent: LLMの出力
    Agent ->> Tool: Actionの実行
    Tool ->> Environment: Toolを実行
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
use std::mem;
fn main() {
let mut a: Vec<i32> = vec![1, 2, 3];
let mut b: Vec<i32> = vec![4, 5, 5];
println!("i32 size of {}", mem::size_of::<i32>());
println!("var a: {:?}", a.as_ptr());
set number
" シンタックスハイライトの設定
syntax on
filetype on
filetype indent on
filetype plugin indent on
augroup vimrc
autocmd!
@khirotaka
khirotaka / .zshrc
Last active November 28, 2020 04:02
fpath+=~/.zfunc
autoload -U compinit
compinit
alias ls="ls -pG"
export LSCOLORS=gxfxcxdxbxegedabagacad
# prompt
PROMPT="%F{2}%n@%m:%f%F{4}%~%f$ "

Install Miniconda on server

Download

$ curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

Run install script

@khirotaka
khirotaka / unsupervised.dockerfile
Created August 10, 2020 15:14
Dockerfile for Unsupervised Representation Learning for Multivariate Time Series
FROM pytorch/pytorch:0.4.1-cuda9-cudnn7-devel
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
vim \
python-pil \
python-matplotlib \
python-pygraphviz \
default-jdk \
@khirotaka
khirotaka / .vimrc
Created January 3, 2020 01:43
My vimrc
set number
imap <c-j> <esc>
"シンタックスハイライトの設定
syntax on
"タブ の大きさをスペース 4つ分に設定
set expandtab

見出し1

見出し2

見出し3

見出し4

見出し5
見出し6

hello,