1. 허깅스페이스- https://huggingface.co/openai/whisper-large-v3-turbo2. 한국어 음성# step1: import modeulsimport torchfrom transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipelinefrom datasets import load_dataset# step2: create inference objectdevice = "cuda:0" if torch.cuda.is_available() else "cpu"torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32# model_id = "opena..

1. 코랩 설치된 패키지 확인!pip freeze 2. 로컬에서 pytorch 설치시 필요한 옵션 선택 후 명령어 받기- https://pytorch.org/- pip3대신 pip로 설치 3. 트랜스포머 설치pip install transformers 4. Text Classification- https://huggingface.co/docs/transformers/tasks/sequence_classification# step1: import modulesfrom transformers import pipeline# step2: create inference object# model 부분에 user이름/모델명 이 부분만 수정해주면 됨classifier = pipeline("sentiment-analys..
- Total
- Today
- Yesterday
- opic
- SQL
- 줄넘기
- 아침
- 미라클모닝
- 프로그래머스
- 루틴
- 뉴스
- 아침운동
- ChatGPT
- 빅데이터 분석기사
- 다이어트
- llm
- 영어회화
- C언어
- 티스토리챌린지
- IH
- 고득점 Kit
- 실기
- Ai
- 습관
- Python
- 30분
- 오픽
- 기초
- 운동
- 경제
- 오블완
- 스크랩
- 갓생
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |