We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bb96b commit 49edaf6Copy full SHA for 49edaf6
quantize_weights_for_llama.cpp.ps1
@@ -55,6 +55,11 @@ ForEach ($repositoryName in $repositoryDirectories) {
55
56
$convertParameters = "--outfile `"${unquantizedModelPath}`" `"${sourceDirectoryPath}`""
57
58
+ # Some models have a Byte Pair Encoding (BPE) vocabulary type.
59
+ if (@("Smaug-72B-v0.1").Contains($repositoryName)) {
60
+ $convertParameters = "--vocab-type `"bpe`" --pad-vocab $convertParameters"
61
+ }
62
+
63
Invoke-Expression "$convertCommand $convertParameters"
64
65
# Some model architectures have not yet been backported into
0 commit comments