Open vabatta opened 8 months ago
Hi there! 👋 Do you have any specific examples/models in mind? 😇
Yes, I trained a few adapters on distilbert-multilingual-based-cased with a token classification head. So I have the adapter weights and head, which I can successfully load and use with adapters library and would like to package it up the model as a whole to be able to use in transformerjs (in onnx runtime).
In that case, you have two options:
DistilbertForTokenClassification
model and upload it to the HF hub. You can then run the conversion script and it should work with transformers.jsOkay, I'll have a look at how to do save it as so far I wasn't unable to save the full model with the adapter and head to be later loaded as a whole.
Question
Hi, would it be possible to use adapters on top of a model using the js library?