File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2727hf_logging .set_verbosity_error ()
2828from transformers import EsmForMaskedLM , EsmTokenizer
2929
30+ from pypef .utils .helpers import get_device
31+
3032logger = logging .getLogger ('pypef.llm.esm_lora_tune' )
3133
3234
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function ExitOnExitCode { if ($LastExitCode) {
2525
2626# ## if using downloaded/locally stored pypef .py files:
2727# #########################################################################################################################
28- ECHO Y | conda env remove - n pypef #
28+ Write-Output Y | conda env remove - n pypef #
2929conda create - n pypef python= 3.12 - y #
3030conda activate pypef #
3131$path = Get-Location #
@@ -331,13 +331,13 @@ Write-Host
331331pypef encode - i 37_ANEH_variants.csv - e dca - w Sequence_WT_ANEH.fasta -- params ANEH_72.6. params -- threads $threads
332332ExitOnExitCode
333333Write-Host
334- mv 37_ANEH_variants_dca_encoded.csv 37_ANEH_variants_plmc_dca_encoded.csv
334+ Move-Item 37_ANEH_variants_dca_encoded.csv 37_ANEH_variants_plmc_dca_encoded.csv
335335ExitOnExitCode
336336Write-Host
337337pypef encode - i 37_ANEH_variants.csv - e dca - w Sequence_WT_ANEH.fasta -- params GREMLIN
338338ExitOnExitCode
339339Write-Host
340- mv 37_ANEH_variants_dca_encoded.csv 37_ANEH_variants_gremlin_dca_encoded.csv
340+ Move-Item 37_ANEH_variants_dca_encoded.csv 37_ANEH_variants_gremlin_dca_encoded.csv
341341ExitOnExitCode
342342Write-Host
343343
You can’t perform that action at this time.
0 commit comments