전체 글

One By One
· Python
Python 3.11 -> 3.12 변화 1. Nested quote character f-string 사용시 작은 따옴표(')로 dictionary의 item에 접근이 가능하지만 큰 따옴표(")로는 Error가 난다. [3.11] fruit = { "name" : "apple", "price" : 3000 } f"{fruit['name']}" # apple f"{fruit["name"]}" # Syntax Error [3.12] fruit = { "name" : "apple", "price" : 3000 } f"{fruit['name']}" # apple f"{fruit["name"]}" # apple 2. f-string 안에 주석 사용 [3.11] fruit = { "name" : "apple", ..
· Mac
Karabiner-Elements에 키보드 입력 패널이 윈도우 하단에 계속 노출되는 것을 Off시키는 방법 Karabiner -> preference -> devices https://github.com/pqrs-org/Karabiner-Elements/issues/1848 Keyboard is ignored temporarily until key X is pressed · Issue #1848 · pqrs-org/Karabiner-Elements Ever since last update Karabiner started showing this weird notification daily, with X = random. Can we stop this nonsense, please? github.com
· Book
제목: "일의 격" 저자: 신수정 더보기 https://www.linkedin.com/in/soojung-shin-30398b75/?originalSubdomain=kr http://www.shinsoojung.pe.kr/ IT Consulting www.shinsoojung.pe.kr 학력 KAIST 최고경영자과정 33기 서울공대 대학원(기계공학박사) 서강대 경영전문대학원 미국 FTTA 서울공대, 동 대학원(기계설계학과 학,석사) 경력 KT Enterprise 부문장(현) 서울대학교 초빙교수 SK인포섹 (현, SK쉴더스) 대표이사 SKC&C 상무 DDS공동창업 및 넷시큐어테크놀로지 본부장 삼성SDS 책임 삼성HP(현, 한국 HP) SE 활동 한국메타버스산업협회 회장(2021.12~) 공공안전통신협회 회..
Llama-Index with Pinecone 이 노트북에서는 semantic-search를 위해 Pinecone과 llama-index(이전의 GPT-index) 라이브러리를 사용하는 방법을 보여준다. 이 노트북은 llama-index의 예시이며 향후 릴리스에서는 Pinecone 예제 저장소에서 찾을 수 있습니다. 1) install packages !pip install -qU llama-index datasets pinecone-client openai transformers 2) SQuAD dataset Load Wikipedia(context-title) from datasets import load_dataset data = load_dataset('squad', split='train') d..
· Python
https://jupytext.readthedocs.io/en/latest/using-cli.html#command-line-conversion Jupytext CLI — Jupytext documentation Jupytext CLI Command line conversion Jupytext provides command line interface for converting notebooks between the different formats. jupytext --to py notebook.ipynb # convert notebook.ipynb to a .py file jupytext --to py:percent notebook.ipynb # convert n jupytext.readthedocs.i..
다했다
B's