Instructions to use Mizukiluke/mplug_owl_2_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mizukiluke/mplug_owl_2_1 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mizukiluke/mplug_owl_2_1", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Vocab size seems to be 151851, but not 151936
#1
by Carol0110 - opened
Error: Trying to set a tensor of shape torch.Size([151851, 4096]) in "weight" (which has shape torch.Size([151936, 4096])), this look incorrect.
Maybe author called model.resize_token_embeddings before training. Update 151936 -> 151851 in config.json file may fix it.