kingabzpro commited on
Commit
01b69bc
·
verified ·
1 Parent(s): b1706fd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -9
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  base_model: openai/gpt-oss-20b
3
- datasets: gpt-oss-20b-dermatology-qa
 
4
  library_name: transformers
5
  model_name: gpt-oss-20b-dermatology-qa
6
  tags:
@@ -12,7 +13,7 @@ licence: license
12
 
13
  # Model Card for gpt-oss-20b-dermatology-qa
14
 
15
- This model is a fine-tuned version of [openai/gpt-oss-20b](https://huggingface.co/openai/gpt-oss-20b) on the [gpt-oss-20b-dermatology-qa](https://huggingface.co/datasets/gpt-oss-20b-dermatology-qa) dataset.
16
  It has been trained using [TRL](https://github.com/huggingface/trl).
17
 
18
  ## Quick start
@@ -20,18 +21,31 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
20
  ```python
21
  from transformers import pipeline
22
 
23
- 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?"
24
- generator = pipeline("text-generation", model="kingabzpro/gpt-oss-20b-dermatology-qa", device="cuda")
25
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  print(output["generated_text"])
 
 
27
  ```
28
 
29
  ## Training procedure
30
 
31
-
32
-
33
-
34
- This model was trained with SFT.
35
 
36
  ### Framework versions
37
 
 
1
  ---
2
  base_model: openai/gpt-oss-20b
3
+ datasets:
4
+ - kingabzpro/dermatology-qa-firecrawl-dataset
5
  library_name: transformers
6
  model_name: gpt-oss-20b-dermatology-qa
7
  tags:
 
13
 
14
  # Model Card for gpt-oss-20b-dermatology-qa
15
 
16
+ This model is a fine-tuned version of [openai/gpt-oss-20b](https://huggingface.co/openai/gpt-oss-20b) on the [kingabzpro/dermatology-qa-firecrawl-dataset](https://huggingface.co/kingabzpro/dermatology-qa-firecrawl-dataset) dataset.
17
  It has been trained using [TRL](https://github.com/huggingface/trl).
18
 
19
  ## Quick start
 
21
  ```python
22
  from transformers import pipeline
23
 
24
+ question = "How does the source suggest clinicians approach the diagnosis of rosacea?"
25
+
26
+ # Load pipeline
27
+ generator = pipeline(
28
+ "text-generation",
29
+ model="kingabzpro/gpt-oss-20b-dermatology-qa",
30
+ device="cuda" # or device=0
31
+ )
32
+
33
+
34
+ # Run inference (passing in chat-style format)
35
+ output = generator(
36
+ [{"role": "user", "content": question}],
37
+ max_new_tokens=200,
38
+ return_full_text=False
39
+ )[0]
40
+
41
  print(output["generated_text"])
42
+
43
+ # The source says that clinicians should use a combination of clinical signs and symptoms when diagnosing rosacea, rather than relying on a single feature.
44
  ```
45
 
46
  ## Training procedure
47
 
48
+ This model was trained with SFT.
 
 
 
49
 
50
  ### Framework versions
51