Use GPTC v4.0.0
This commit is contained in:
parent
f1ccaaabab
commit
c33473f25b
|
@ -32,13 +32,11 @@ raw_model = [
|
|||
]
|
||||
|
||||
with open("model.gptc", "w+b") as f:
|
||||
f.write(
|
||||
gptc.compile(
|
||||
raw_model,
|
||||
max_ngram_length=config["max_ngram_length"],
|
||||
min_count=config["min_count"],
|
||||
).serialize()
|
||||
)
|
||||
).serialize(f)
|
||||
|
||||
con.commit()
|
||||
con.close()
|
||||
|
|
Loading…
Reference in New Issue
Block a user