danhtran2mind commited on
Commit
b5ecf27
·
verified ·
1 Parent(s): 000997f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -12
README.md CHANGED
@@ -21,17 +21,6 @@ datasets:
21
  This model is a fine-tuned version of [unsloth/qwen3-0.6b-unsloth-bnb-4bit](https://huggingface.co/unsloth/qwen3-0.6b-unsloth-bnb-4bit).
22
  It has been trained using [TRL](https://github.com/huggingface/trl).
23
 
24
- ## Quick start
25
-
26
- ```python
27
- from transformers import pipeline
28
-
29
- 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?"
30
- generator = pipeline("text-generation", model="None", device="cuda")
31
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
32
- print(output["generated_text"])
33
- ```
34
-
35
  ## Training procedure
36
 
37
 
@@ -40,7 +29,21 @@ print(output["generated_text"])
40
  This model was trained with SFT.
41
 
42
 
43
- ## Inference Usage
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  ```python
46
  import torch
 
21
  This model is a fine-tuned version of [unsloth/qwen3-0.6b-unsloth-bnb-4bit](https://huggingface.co/unsloth/qwen3-0.6b-unsloth-bnb-4bit).
22
  It has been trained using [TRL](https://github.com/huggingface/trl).
23
 
 
 
 
 
 
 
 
 
 
 
 
24
  ## Training procedure
25
 
26
 
 
29
  This model was trained with SFT.
30
 
31
 
32
+ ## Usage
33
+
34
+ ### HuggingFace Authentication
35
+ ```python
36
+ import os
37
+ from huggingface_hub import login
38
+
39
+ # Set the Hugging Face API token
40
+ os.environ["HUGGINGFACEHUB_API_TOKEN"] = "<your_huggingface_token>"
41
+
42
+ # # Initialize API
43
+ login(os.environ.get("HUGGINGFACEHUB_API_TOKEN"))
44
+ ```
45
+
46
+ ### Inference
47
 
48
  ```python
49
  import torch