match_embeds: Match_embeds

View source: R/text_learner.R

match_embedsR Documentation

Match_embeds

Description

Convert the embedding in 'old_wgts' to go from 'old_vocab' to 'new_vocab'.

Usage

match_embeds(old_wgts, old_vocab, new_vocab)

Arguments

old_wgts

old_wgts

old_vocab

old_vocab

new_vocab

new_vocab

Value

None


fastai documentation built on March 21, 2022, 9:07 a.m.