Skip to content
/ LLMing Public

❗ This is a read-only mirror of the CRAN R package repository. LLMing — Large Language Model (LLM) Tools for Psychological Text Analysis. Homepage: https://github.com/sliplr19/LLMing Report bugs for this package: https://github.com/sliplr19/LLMing/issues

License

Notifications You must be signed in to change notification settings

cran/LLMing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLMing

The goal of LLMing is to generate and assess psychological text data.

Installation

You can install the development version of LLMing from GitHub with:

# install.packages("pak")
pak::pak("sliplr19/LLMing")

Example

This is a basic example which shows you how to get BERT embeddings:

library(LLMing)
df <- data.frame(text = c("I slept well and feel great today!",
                          "I saw from friends and it went well.",
                          "I think I failed that exam. I'm such a disapointment."))
emb_dat <- embed(dat = df, layers = 1, keep_tokens = FALSE, tokens_method = "mean")

About

❗ This is a read-only mirror of the CRAN R package repository. LLMing — Large Language Model (LLM) Tools for Psychological Text Analysis. Homepage: https://github.com/sliplr19/LLMing Report bugs for this package: https://github.com/sliplr19/LLMing/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published