ayoubkirouane commited on
Commit
ef72a0f
1 Parent(s): ff7d722

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -12,4 +12,25 @@ pipeline_tag: text-generation
12
  - google/gemma-2-9b
13
 
14
  ## dataset :
15
- - ayoubkirouane/Small-Instruct-Alpaca_Format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  - google/gemma-2-9b
13
 
14
  ## dataset :
15
+ - ayoubkirouane/Small-Instruct-Alpaca_Format
16
+
17
+ ## Get Started :
18
+
19
+ - Load model directly :
20
+
21
+ ```python
22
+ from transformers import AutoTokenizer, AutoModelForCausalLM
23
+
24
+ tokenizer = AutoTokenizer.from_pretrained("ayoubkirouane/gemma-2-9b-alpaca-small-Instruct")
25
+ model = AutoModelForCausalLM.from_pretrained("ayoubkirouane/gemma-2-9b-alpaca-small-Instruct")
26
+
27
+ ```
28
+
29
+ - Use a pipeline as a high-level helper :
30
+
31
+ ```python
32
+ from transformers import pipeline
33
+
34
+ pipe = pipeline("text-generation", model="ayoubkirouane/gemma-2-9b-alpaca-small-Instruct")
35
+
36
+ ```