ayeshaNoor1
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -71,6 +71,7 @@ Users should be aware of the limitations in handling diverse mental health needs
|
|
71 |
|
72 |
Use the code below to get started with the model.
|
73 |
|
|
|
74 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
75 |
|
76 |
tokenizer = AutoTokenizer.from_pretrained("ayeshaNoor1/Llama_finetunedModel")
|
@@ -78,6 +79,7 @@ model = AutoModelForCausalLM.from_pretrained("ayeshaNoor1/Llama_finetunedModel")
|
|
78 |
|
79 |
inputs = tokenizer("Your text here", return_tensors="pt")
|
80 |
outputs = model.generate(**inputs)
|
|
|
81 |
|
82 |
## Training Details
|
83 |
|
|
|
71 |
|
72 |
Use the code below to get started with the model.
|
73 |
|
74 |
+
```python
|
75 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
76 |
|
77 |
tokenizer = AutoTokenizer.from_pretrained("ayeshaNoor1/Llama_finetunedModel")
|
|
|
79 |
|
80 |
inputs = tokenizer("Your text here", return_tensors="pt")
|
81 |
outputs = model.generate(**inputs)
|
82 |
+
```
|
83 |
|
84 |
## Training Details
|
85 |
|