Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed May 2, 2023
1 parent fb435e3 commit 3550588
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/bumblebee/text/llama.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ defmodule Bumblebee.Text.Llama do
]) ++ Shared.token_options(pad_token_id: 0)

@moduledoc """
Llama model family.
LLaMA model family.
## Architectures
* `:base` - plain Llama without any head on top
* `:base` - plain LLaMA without any head on top
* `:for_causal_language_modeling` - Llama with a language modeling
* `:for_causal_language_modeling` - LLaMA with a language modeling
head. The head returns logits for each token in the original
sequence
* `:for_sequence_classification` - Llama with a sequence
* `:for_sequence_classification` - LLaMA with a sequence
classification head. The head returns logits corresponding to
possible classes
Expand Down
2 changes: 2 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ defmodule Bumblebee.MixProject do
Bumblebee.Text.ClipText,
Bumblebee.Text.Distilbert,
Bumblebee.Text.Gpt2,
Bumblebee.Text.Llama,
Bumblebee.Text.Mbart,
Bumblebee.Text.Roberta,
Bumblebee.Text.T5,
Expand All @@ -111,6 +112,7 @@ defmodule Bumblebee.MixProject do
Bumblebee.Text.DistilbertTokenizer,
Bumblebee.Text.Gpt2Tokenizer,
Bumblebee.Text.LayoutLmTokenizer,
Bumblebee.Text.LlamaTokenizer,
Bumblebee.Text.MbartTokenizer,
Bumblebee.Text.RobertaTokenizer,
Bumblebee.Text.T5Tokenizer,
Expand Down

0 comments on commit 3550588

Please sign in to comment.