Update README.md
Browse files
README.md
CHANGED
@@ -37,11 +37,8 @@ This dataset was carefully cleaned and formatted to enhance the model's ability
|
|
37 |
## 3. How to Use This Model
|
38 |
To use the Llama-3.2B finetuned model, follow the steps below:
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
```python
|
44 |
-
|
45 |
from transformers import TextStreamer
|
46 |
|
47 |
def chatml(question, model):
|
@@ -59,12 +56,12 @@ def chatml(question, model):
|
|
59 |
streamer=text_streamer,
|
60 |
max_new_tokens=512)
|
61 |
|
62 |
-
#Use the following example to test the model:
|
63 |
-
|
64 |
|
|
|
65 |
question = "Does the University of Westminster offer a course on AI, Data and Communication MA?"
|
66 |
x = chatml(question, model)
|
67 |
-
|
|
|
68 |
|
69 |
This setup ensures you can effectively query the Llama-3.2B finetuned model and receive detailed, relevant responses.
|
70 |
|
|
|
37 |
## 3. How to Use This Model
|
38 |
To use the Llama-3.2B finetuned model, follow the steps below:
|
39 |
|
40 |
+
|
41 |
+
```python
|
|
|
|
|
|
|
42 |
from transformers import TextStreamer
|
43 |
|
44 |
def chatml(question, model):
|
|
|
56 |
streamer=text_streamer,
|
57 |
max_new_tokens=512)
|
58 |
|
|
|
|
|
59 |
|
60 |
+
#Use the following example to test the model:
|
61 |
question = "Does the University of Westminster offer a course on AI, Data and Communication MA?"
|
62 |
x = chatml(question, model)
|
63 |
+
|
64 |
+
```
|
65 |
|
66 |
This setup ensures you can effectively query the Llama-3.2B finetuned model and receive detailed, relevant responses.
|
67 |
|