C.W.K.
Stream
Lesson 01 of 07 · published

KerasNLP / KerasHub 가 뭐야?

~8 min · keras-nlp

Level 0Keras 도제
0 XP0/97 lessons0/20 achievements
0/120 XP to next level120 XP to go0% complete

텍스트 쪽 같은 발상. KerasHub 에 BERT, GPT-2, Llama, Gemma, Mistral 다 들어있고 task head (classification, generation) 와 tokenizer 가 모델에 묶여있어. LoRA fine-tuning 은 parameter 한 개. 'Gemma 를 내 데이터로 fine-tune 하고 싶다' 에서 saved model 까지 반나절 코스.

KerasNLP — text / LLM 전용 model + tokenizer + utility 패키지. 2024 년 KerasCV 와 함께 KerasHub 로 통합. 새 코드는 keras_hub 가 표준.

제공: BERT, GPT-2, Llama, Gemma, Mistral 등 사전학습 LLM, task-specific classifier head, tokenizer (model 별 vocab 묶음), LoRA fine-tuning. 'Gemma 를 내 데이터로 fine-tune' 같은 작업이 반나절 코스가 됐어.

External links

Exercise

keras-hub 설치. NLP preset 5 개 리스트. BertClassifier 골라 from_preset (num_classes=2). 묶인 tokenizer 도 접근 가능한지 확인 (model.preprocessor.tokenizer).

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.