Reubencf commited on
Commit
6552582
·
verified ·
1 Parent(s): 205c7dc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -7
README.md CHANGED
@@ -20,19 +20,18 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
20
  ## Quick start
21
 
22
  ```python
 
23
  from transformers import pipeline
24
 
25
- question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
- generator = pipeline("text-generation", model="None", device="cuda")
27
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
- print(output["generated_text"])
 
29
  ```
30
 
31
  ## Training procedure
32
 
33
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/reubencf/huggingface/runs/x8nvaeig)
34
-
35
-
36
  This model was trained with SFT.
37
 
38
  ### Framework versions
 
20
  ## Quick start
21
 
22
  ```python
23
+ # Use a pipeline as a high-level helper
24
  from transformers import pipeline
25
 
26
+ pipe = pipeline("text-generation", model="Reubencf/gemma3-konkani")
27
+ messages = [
28
+ {"role": "user", "content": "Who are you?"},
29
+ ]
30
+ pipe(messages)
31
  ```
32
 
33
  ## Training procedure
34
 
 
 
 
35
  This model was trained with SFT.
36
 
37
  ### Framework versions