From 9f4fa4f64aff5a1e5a1d9cfc11ac857c5c95b80a Mon Sep 17 00:00:00 2001 From: william Date: Wed, 18 Oct 2023 01:21:21 +0800 Subject: [PATCH] Add special token doc --- .../chat/octet/model/LlamaService.html | 22 ++++++++++++------- docs/apidocs/index-all.html | 4 ++-- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/apidocs/chat/octet/model/LlamaService.html b/docs/apidocs/chat/octet/model/LlamaService.html index bddfbd7..b81f79b 100644 --- a/docs/apidocs/chat/octet/model/LlamaService.html +++ b/docs/apidocs/chat/octet/model/LlamaService.html @@ -335,18 +335,20 @@

Method Summary

static int -tokenize(byte[] buf, +tokenize(byte[] buf, int bufferLength, int[] tokens, int maxTokens, - boolean addBos) + boolean addBos, + boolean specialTokens)
Convert the provided text into tokens.
static int[] -tokenize(String text, - boolean addBos) +tokenize(String text, + boolean addBos, + boolean specialTokens)
Convert the provided text into tokens.
@@ -656,7 +658,7 @@

getTokenEOS

- + - +