You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following does not work for the distilroberta-base model class.
test <- text::textEmbed("hi there", model = 'distilroberta-base')
But if you explicitly call the second-to-last layer, rather than using the -2 default, (here, layer 5), it works:
test2 <- text::textEmbed("hi there", model = 'distilroberta-base', layers = 5)
The text was updated successfully, but these errors were encountered:
sebsilas
changed the title
textEmbed default layer argument does not work with model = 'distilroberta-base'
textEmbed default layers argument does not work with model = 'distilroberta-base'
Dec 20, 2022
Thank you for reporting this. Please note that this should work with new versions of the text package now (currently need to download it from github; version .9.99.7 and above).
The following does not work for the
distilroberta-base
model class.But if you explicitly call the second-to-last layer, rather than using the -2 default, (here, layer 5), it works:
The text was updated successfully, but these errors were encountered: