메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

SLM 튜닝예제: 편집 역사

데브카페

차이 선택: 비교하려는 판의 라디오 버튼을 선택한 다음 엔터나 아래의 버튼을 누르세요.
설명: (최신) = 최신 판과 비교, (이전) = 이전 판과 비교, 잔글= 사소한 편집

2024년 11월 23일 (토)

  • 최신이전 01:302024년 11월 23일 (토) 01:30Devcafe 토론 기여 4,508 바이트 +4,508 새 문서: <source lang=python> import numpy as np import torch import torch.nn as nn import torch.optim as optim from typing import List, Dict class SQLTuningSLM(nn.Module): def __init__(self, feature_dim, hidden_dim, output_dim): super(SQLTuningSLM, self).__init__() # Feature embedding and processing layers self.feature_embedding = nn.Sequential( nn.Linear(feature_dim, hidden_dim), nn.ReLU(), nn.Dropout(0.3)...