Skip to content

Commit

Permalink
feat: add mpnet model family
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Nov 5, 2024
1 parent 9b1a937 commit a026833
Show file tree
Hide file tree
Showing 2 changed files with 460 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bumblebee.ex
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ defmodule Bumblebee do
"MistralModel" => {Bumblebee.Text.Mistral, :base},
"MistralForCausalLM" => {Bumblebee.Text.Mistral, :for_causal_language_modeling},
"MistralForSequenceClassification" => {Bumblebee.Text.Mistral, :for_sequence_classification},
"MPNetModel" => {Bumblebee.Text.MPNet, :base},
"MPNetForMaskedLM" => {Bumblebee.Text.MPNet, :for_masked_language_modeling},
"PhiModel" => {Bumblebee.Text.Phi, :base},
"PhiForCausalLM" => {Bumblebee.Text.Phi, :for_causal_language_modeling},
"PhiForSequenceClassification" => {Bumblebee.Text.Phi, :for_sequence_classification},
Expand Down
Loading

0 comments on commit a026833

Please sign in to comment.