Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor changes in doc #27

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions R/tr_causal.R
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,11 @@ causal_next_tokens_pred_tbl <-
#' [online article](https://bruno.nicenboim.me/pangoling/articles/intro-gpt2.html)
#' in pangoling website for more examples.
#'
#' @param x A character vector of words, phrases, or texts to evaluate (for
#' `causal_words_pred()`).
#' @param texts A vector or list of sentences or paragraphs (for
#' `causal_tokens_pred_lst()`).
#' @param targets A character vector of target words or phrases (for
#' `causal_targets_pred()`).
#' @param contexts A character vector of contexts corresponding to each target
#' (for `causal_targets_pred()`).
#' @param by A grouping variable indicating how texts are split into groups (for
#' `causal_words_pred()`).
#' @param x A character vector of words, phrases, or texts to evaluate.
#' @param texts A vector or list of sentences or paragraphs.
#' @param targets A character vector of target words or phrases.
#' @param contexts A character vector of contexts corresponding to each target.
#' @param by A grouping variable indicating how texts are split into groups.
#' @param sep A string specifying how words are separated within contexts or
#' groups. Default is `" "`. For languages that don't have spaces
#' between words (e.g., Chinese), set `sep = ""`.
Expand Down
8 changes: 4 additions & 4 deletions man/causal_pred_mats.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 7 additions & 12 deletions man/causal_predictability.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading