View source: R/install_and_config.R
install_py_modules | R Documentation |
Function for installing the necessary python modules.
install_py_modules(
envname = "aifeducation",
install = "pytorch",
transformer_version = "<=4.46",
tokenizers_version = "<=0.20.4",
pandas_version = "<=2.2.3",
datasets_version = "<=3.1.0",
codecarbon_version = "<=2.8.2",
safetensors_version = "<=0.4.5",
torcheval_version = "<=0.0.7",
accelerate_version = "<=1.1.1",
pytorch_cuda_version = "12.1",
python_version = "3.9",
remove_first = FALSE
)
envname |
|
install |
|
transformer_version |
|
tokenizers_version |
|
pandas_version |
|
datasets_version |
|
codecarbon_version |
|
safetensors_version |
|
torcheval_version |
|
accelerate_version |
|
pytorch_cuda_version |
|
python_version |
|
remove_first |
|
Returns no values or objects. Function is used for installing the necessary python libraries in a conda environment.
Other Installation and Configuration:
check_aif_py_modules()
,
install_aifeducation()
,
set_transformers_logger()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.