Text Generation
Transformers
PyTorch
Safetensors
Swedish
ctrl
Inference Endpoints
dkalpakchi commited on
Commit
3a9c601
1 Parent(s): c9a0e19

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -35,6 +35,12 @@ SweCTRL-Mini is a large Swedish language model that can be used for inference an
35
  - **NOT** trained for conversations, like ChatGPT
36
  - **NOT** trained on any multi-modal data during training. Only one modality -- text, more than 99% of it in Swedish.
37
 
 
 
 
 
 
 
38
  ## Model Details
39
 
40
  ### Model Description
 
35
  - **NOT** trained for conversations, like ChatGPT
36
  - **NOT** trained on any multi-modal data during training. Only one modality -- text, more than 99% of it in Swedish.
37
 
38
+ **Note on using Inference API (text box to the right):** There are a number of presets that start the text with appropriate control codes to control the genre, e.g., `:wiki:` for
39
+ texts form Wikipedia. You can add your own prompt on top of these control codes. For instance, if you want a Wikipedia article about Stockholm, you could write
40
+ `:wiki: Stockholm`. The generation in the example is limited to 75 new tokens max. Also, normally the generation should stop after reaching the ending control code,
41
+ which has `$` symbol at the end, e.g., `:wiki:$` for Wikipedia texts, however I couldn't configure that here, so please ignore all text after such tokens if they were to be
42
+ generated.
43
+
44
  ## Model Details
45
 
46
  ### Model Description