pymlex commited on
Commit
486483c
·
verified ·
1 Parent(s): ca8b7a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -24,7 +24,7 @@ This qwen3 model was trained with [Unsloth](https://github.com/unslothai/unsloth
24
 
25
  # Inference
26
 
27
- Get the model
28
 
29
  ```python
30
  from transformers import AutoModelForCausalLM, AutoTokenizer
@@ -47,7 +47,7 @@ model = PeftModel.from_pretrained(model, adapter_path)
47
  model.eval()
48
  ```
49
 
50
- Use this function to generate descriptions
51
 
52
  ```python
53
  system_prompt = """
@@ -86,7 +86,7 @@ def generate(topic):
86
  print(decoded.strip())
87
  ```
88
 
89
- Example
90
 
91
  ```python
92
  generate("Система мониторинга качества воздуха в школьных кабинетах")
 
24
 
25
  # Inference
26
 
27
+ Get the model from HF.
28
 
29
  ```python
30
  from transformers import AutoModelForCausalLM, AutoTokenizer
 
47
  model.eval()
48
  ```
49
 
50
+ Use this function to generate descriptions.
51
 
52
  ```python
53
  system_prompt = """
 
86
  print(decoded.strip())
87
  ```
88
 
89
+ Example.
90
 
91
  ```python
92
  generate("Система мониторинга качества воздуха в школьных кабинетах")