Update README.md
Browse files
README.md
CHANGED
@@ -25,8 +25,8 @@ pip install accelerate
|
|
25 |
from transformers import AutoTokenizer, pipeline
|
26 |
```
|
27 |
```py
|
28 |
-
tokenizer = AutoTokenizer.from_pretrained('ahmed/galen')
|
29 |
-
model_pipeline = pipeline(task="text-generation", model='ahmed/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
|
30 |
```
|
31 |
```py
|
32 |
result = model_pipeline('What is squamous carcinoma')
|
|
|
25 |
from transformers import AutoTokenizer, pipeline
|
26 |
```
|
27 |
```py
|
28 |
+
tokenizer = AutoTokenizer.from_pretrained('ahmed-ai/galen')
|
29 |
+
model_pipeline = pipeline(task="text-generation", model='ahmed-ai/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
|
30 |
```
|
31 |
```py
|
32 |
result = model_pipeline('What is squamous carcinoma')
|