szymonrucinski commited on
Commit
d40e334
1 Parent(s): ed52f5b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -37,6 +37,16 @@ text = "<s>[INST] Czy warto się uczyć? [/INST]"
37
  From my experience the temperature value of 0.7 is the best baseline value.
38
 
39
 
 
 
 
 
 
 
 
 
 
 
40
  ## Krakowiak team
41
 
42
  [Szymon Franciszek Ruciński](https://szymonrucinski.pl)
 
37
  From my experience the temperature value of 0.7 is the best baseline value.
38
 
39
 
40
+ ## Use a pipeline as a high-level helper
41
+ ```
42
+ from transformers import pipeline
43
+
44
+ pipe = pipeline("text-generation", model="szymonrucinski/krakowiak-v2-7b")
45
+
46
+ pipe("<s>[INST] Czy warto się uczyć? [/INST]")
47
+ ```
48
+
49
+
50
  ## Krakowiak team
51
 
52
  [Szymon Franciszek Ruciński](https://szymonrucinski.pl)