python で環境構築をする際にrequirements.txtを利用することがある。
ただ、素直にrequirements.txtを作ると環境構築の再現性が低い場合がある。
[Read More]python で環境構築をする際にrequirements.txtを利用することがある。
ただ、素直にrequirements.txtを作ると環境構築の再現性が低い場合がある。
[Read More]移動ドの観点でまとめられた本。
相対音感の感覚がないと理解が難しい気がする。
キーボードやピアノ以外の楽器をやっている人間にも有益な内容だが、 キーボードの白鍵と黒鍵のイメージがないと辛い。
[Read More]レベル1だけでもやっとけばええんちゃうか
実験する部分や追加したい機能の切り分けがしやすくなる。
[Read More]以下公式サイトより引用
import argparse
parser.add_argument("square", type=int,
help="display a square of a given number")
parser.add_argument("-v", "--verbose", action="store_true",
help="increase output verbosity")
args = parser.parse_args()
answer = args.square**2
parser.add_argument("square", type=int,
help="display a square of a given number")
引数の名前がsquare
型を指定できる。デフォルトはstr。
前に-がつかない名前は位置引数。
[Read More]Using the Sentence Transformer to I’m trying to use Sentence Transformer to infer causal relationships between documents.
If we can do this, we can extract the cause and symptoms of the incident from the report.
So, I wondered if NLI could be used for feature learning to extract causal information. I thought.
Inference of the relationship between two sentences
The three relations are.
If we apply the three relationships of NLI to causality, the following patterns are possible.
[Read More]janomeのバージョンを上げると、分かち書きの出力をgeneratorで返すようになった。
generatorはメモリ効率が良いというメリットがある一方でリストでデータを保持したいという気持ちがある。
[Read More]xlrdのバージョンによって、.xlsxファイルの読み込みに失敗する。
対策としてはバージョンを下げる。
pip3 install xlrd==1.2.0
環境変数などの移行
cat .bash_profile » .zprofile
bashからzshへの切り替え
chsh -s /bin/zsh
エッジボイスに近いやり方?
歌のためのボイトレのやり方を知っていると感覚を掴みやすいかもしれない。
3と4の手順を試行錯誤して自分の理想の声を探る
[Read More]