Skip to content

v0.4.9

Compare
Choose a tag to compare
@github-actions github-actions released this 15 May 01:11

🙄What's Changed ⁉

  1. Dynamically load initial state and LoRA in WebUI.
  2. BNF support in WebUI "Writing" section (scroll down the left penal).
  3. Export static quantization models as prefab format in the WebUI.

What is BNF?

BNF forces the model to output in your desired format (e.g., JSON, markdown with specified fields).

📢Ai00 Naming Convention for Models:✨🔆

Ai00 now recognizes different types of model files using the convention present here.

1. ✅File Extensions

  • Base models: .st
  • Initial states: .state
  • LoRA: .lora

2. 💘Model Naming Convention

[name][-(Version number, e.g., x060)][-(World version number, e.g., w021)][-(Model parameters, e.g., 3B)].[Extension (st\state\lora\prefab)]

For example:

x060-w021-3B.st
x060-w021-3B.prefab
example-x060-3B.lora
example2-x060-3B.state

👽BNF Example

Here is an example BNF for JSON with fields name and age:

<start> ::= <json_object>
<json_object> ::= "{" <object_members> "}"
<object_members> ::= <json_member> | <json_member> ", " <object_members>
<json_member> ::= <json_key> ": " <json_value>
<json_key> ::= '"' "name" '"' | '"' "age" '"' | '"' "job" '"'
<json_value> ::= <json_string> | <json_number>
<json_string>::='"'<content>'"'
<content>::=<except!([escaped_literals])>|<except!([escaped_literals])><content>|'\\"'<content>|'\\"'
<escaped_literals>::='\t'|'\n'|'\r'|'"'
<json_number> ::= <positive_digit><digits>|'0'
<digits>::=<digit>|<digit><digits>
<digit>::='0'|<positive_digit>
<positive_digit>::="1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|"9"
1