Update README.md
Browse files
README.md
CHANGED
@@ -38,6 +38,9 @@ Each dataset contributed 20,000 data points to the training process, ensuring a
|
|
38 |
|
39 |
!pip install -qU transformers accelerate
|
40 |
|
|
|
|
|
|
|
41 |
from transformers import AutoTokenizer
|
42 |
import transformers
|
43 |
import torch
|
@@ -56,3 +59,4 @@ pipeline = transformers.pipeline(
|
|
56 |
|
57 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
58 |
print(outputs[0]["generated_text"])
|
|
|
|
38 |
|
39 |
!pip install -qU transformers accelerate
|
40 |
|
41 |
+
```python
|
42 |
+
!pip install -qU transformers accelerate
|
43 |
+
|
44 |
from transformers import AutoTokenizer
|
45 |
import transformers
|
46 |
import torch
|
|
|
59 |
|
60 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
61 |
print(outputs[0]["generated_text"])
|
62 |
+
```
|