cguna frreiss commited on
Commit
de77c9a
·
verified ·
1 Parent(s): cbeb5fb

Upload io.yaml (#23)

Browse files

- Upload io.yaml (8c26c2263973b59f52bf1d2f234e36ba1757ffd4)


Co-authored-by: Fred Reiss <frreiss@users.noreply.huggingface.co>

answerability/alora/granite-3.3-8b-instruct/io.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Model name string, or null to use whatever is provided in the chat completion request.
2
+ model: ~
3
+ # JSON schema of the model's output
4
+ response_format: |
5
+ {
6
+ "type": "string",
7
+ "enum": ["answerable", "unanswerable"]
8
+ }
9
+ transformations:
10
+ # Convert categorical answer to continuous value by decoding logprobs
11
+ - type: likelihood
12
+ categories_to_values:
13
+ "answerable": 1.0
14
+ "unanswerable": 0.0
15
+ input_path: []
16
+ # Convert scalar value to a record for consistency with other intrinsics
17
+ - type: nest
18
+ input_path: []
19
+ field_name: "answerability_likelihood"
20
+ instruction: ~
21
+ parameters:
22
+ # "unanswerable" can be 6 tokens at high temperatures
23
+ max_completion_tokens: 6
24
+ # No sentence boundary detection
25
+ sentence_boundaries: ~