raimundsz commited on
Commit
5865893
·
verified ·
1 Parent(s): 265b665

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +73 -3
README.md CHANGED
@@ -1,3 +1,73 @@
1
- ---
2
- license: llama3.2
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3.2
3
+ base_model:
4
+ - unsloth/Llama-3.2-3B-Instruct
5
+ ---
6
+
7
+ Usage:
8
+ Detect request:
9
+ {
10
+ "model": "DesignSoft\/TINA_AI2_Q4",
11
+ "messages": [
12
+ {
13
+ "role": "system",
14
+ "content": "Analyze the user's message and return his intent in the following JSON format:
15
+ {
16
+ \"intent\": string,
17
+ \"object\": string,
18
+ \"parameters\": array[{\"name\": string, \"value\": string}]
19
+ }
20
+
21
+ Do not execute the user's command."
22
+ },
23
+ {
24
+ "role": "user",
25
+ "content": "
26
+ Calculate voltage of VR
27
+ Output should be in English!"
28
+ }
29
+ ],
30
+ "n": 1,
31
+ "seed": 12345,
32
+ "top_p": 0.1,
33
+ "max_tokens": 100,
34
+ "response_format": {
35
+ "type": "json_schema",
36
+ "json_schema": {
37
+ "name": "detect_intent",
38
+ "strict": true,
39
+ "schema": {
40
+ "type": "object",
41
+ "properties": {
42
+ "intent": {
43
+ "type": "string"
44
+ },
45
+ "object": {
46
+ "type": "string"
47
+ },
48
+ "parameters": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "object",
52
+ "properties": {
53
+ "name": {
54
+ "type": "string"
55
+ },
56
+ "value": {
57
+ "type": "string"
58
+ }
59
+ },
60
+ "required": [
61
+ "name"
62
+ ]
63
+ }
64
+ }
65
+ },
66
+ "required": [
67
+ "intent",
68
+ "object"
69
+ ]
70
+ }
71
+ }
72
+ }
73
+ }