Skip to content

Commit dad3a2f

Browse files
author
waleedqk
committed
remove whitespaces on new-lines
Signed-off-by: waleedqk <[email protected]>
1 parent 8b19175 commit dad3a2f

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

caikit_tgis_backend/generation.proto

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
syntax = "proto3";
66
package fmaas;
77

8+
89
service GenerationService {
910
// Generates text given a text prompt, for one or more inputs
1011
rpc Generate (BatchedGenerationRequest) returns (BatchedGenerationResponse) {}
@@ -30,7 +31,7 @@
3031
optional string prefix_id = 2;
3132
optional string adapter_id = 4;
3233
repeated GenerationRequest requests = 3;
33-
34+
3435
Parameters params = 10;
3536
}
3637

@@ -40,7 +41,7 @@
4041
optional string prefix_id = 2;
4142
optional string adapter_id = 4;
4243
GenerationRequest request = 3;
43-
44+
4445
Parameters params = 10;
4546
}
4647

@@ -61,10 +62,10 @@
6162
string stop_sequence = 11;
6263
// Random seed used, not applicable for greedy requests
6364
uint64 seed = 10;
64-
65+
6566
// Individual generated tokens and associated details, if requested
6667
repeated TokenInfo tokens = 8;
67-
68+
6869
// Input tokens and associated details, if requested
6970
repeated TokenInfo input_tokens = 9;
7071
}
@@ -98,7 +99,7 @@
9899
// Default (0.0) means no penalty (equivalent to 1.0)
99100
// 1.2 is a recommended value
100101
float repetition_penalty = 1;
101-
102+
102103
// Exponentially increases the score of the EOS token
103104
// once start_index tokens have been generated
104105
optional LengthPenalty length_penalty = 2;
@@ -139,7 +140,7 @@
139140
float top_p = 3;
140141
// Default (0) means disabled (equivalent to 1.0)
141142
float typical_p = 4;
142-
143+
143144
optional uint64 seed = 5;
144145
}
145146

@@ -206,13 +207,13 @@
206207
float logprob = 3;
207208
// One-based rank relative to other tokens, if requested
208209
uint32 rank = 4;
209-
210+
210211
message TopToken {
211212
// uint32 id = 1; // TBD
212213
string text = 2;
213214
float logprob = 3;
214215
}
215-
216+
216217
// Top N candidate tokens at this position, if requested
217218
// May or may not include this token
218219
repeated TopToken top_tokens = 5;
@@ -257,7 +258,7 @@
257258

258259
// ============================================================================================================
259260
// Model Info API
260-
261+
261262
message ModelInfoRequest {
262263
string model_id = 1;
263264
}
@@ -267,7 +268,7 @@
267268
DECODER_ONLY = 0;
268269
ENCODER_DECODER = 1;
269270
}
270-
271+
271272
ModelKind model_kind = 1;
272273
uint32 max_sequence_length = 2;
273274
uint32 max_new_tokens = 3;

0 commit comments

Comments
 (0)