일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- drone control
- docker container
- ubuntu에서 docker 사용
- 한글깨짐해결
- dji tello
- ceasor
- deep learning
- Container
- yolo mask
- docker in ubuntu
- flower classification
- mask image training
- pill ai
- C
- Python
- docker
- Java
- AI
- aws code pipeline
- 춤 유사도 평가
- 360게임 만들기 with c
- pill classification
- token check
- 오목게임앱
- 오목앱 만들기
- iris dataset
- 369게임 만들기
- 긍부정문 판별
- ubuntu
- 시저암호 코딩
- Today
- Total
목록Python/Etc (2)
월레스와 그로밋: 코딩의 날
import tiktokentiktoken: OpenAI의 GPT 계열 모델에서 사용하는 토크나이저(tokenizer) 라이브러리# 토큰 인코딩 규칙 불러오기encoding = tiktoken.encoding_for_model("gpt-3.5-turbo")tiktoken.encoding_for_model(): "gpt-3.5-turbo" 모델에 맞는 토큰 인코딩 규칙 불러오기(LLM)참고) 토크나이저 이름을 불러올 시, tiktoken.get_encoding()# 텍스트 정의text = "GPT is a type of language model developed by OpenAI that uses deep learning to understand and generate human-like text. It..
def test1(): from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.chrome.options import Options from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By import json import csv import pyautogui import pyperclip import time from selenium.webdriver.common.keys imp..